Skip to main content

Disable Authenticode Verification

Summary

This script is used to disable the Authenticode verification on Windows machines. A reboot is required for the changes to take effect.

Example Agent Procedure Log

TimeActionResultUser
10:55:04 am 23-Dec-24Disable Authenticode VerificationSuccesskunal.kumar
10:55:04 am 23-Dec-24Execute Powershell CommandSuccesskunal.kumar
10:55:04 am 23-Dec-24Execute Powershell Command-0012Results returned to global variable #global:psresult# and saved in Documents tab of server.kunal.kumar
10:55:04 am 23-Dec-24Execute Powershell Command-0012Informational: GetFile command overwrote the server file C:/Kaseya/UserProfiles/160248129727106/GetFiles/../docs/psoutput.txt with the new contents from c:/kworking/psoutput.txt in THEN step 2.kunal.kumar
10:55:04 am 23-Dec-24Execute Powershell Command-0011Powershell command completed!kunal.kumar
10:55:01 am 23-Dec-24Execute Powershell Command-0011Executing powershell "" -Command "Remove-ItemProperty -Path "HKLM:/Software/Wow6432Node/Microsoft/Cryptography/Wintrust/Config" -Name "EnableCertPaddingCheck" -ErrorAction SilentlyContinue" >"c:/kworking/psoutput.txt"kunal.kumar
10:55:01 am 23-Dec-24Execute Powershell Command-0010Sending output to global variable.kunal.kumar
10:55:01 am 23-Dec-24Execute Powershell Command-0008New command variable is: -Command "Remove-ItemProperty -Path "HKLM:/Software/Wow6432Node/Microsoft/Cryptography/Wintrust/Config" -Name "EnableCertPaddingCheck" -ErrorAction SilentlyContinue"kunal.kumar
10:55:01 am 23-Dec-24Execute Powershell Command-0008Custom commands detected as Remove-ItemProperty -Path "HKLM:/Software/Wow6432Node/Microsoft/Cryptography/Wintrust/Config" -Name "EnableCertPaddingCheck" -ErrorAction SilentlyContinuekunal.kumar
10:54:57 am 23-Dec-24Execute Powershell Command-0002Powershell is present.kunal.kumar
10:54:56 am 23-Dec-24Execute Powershell CommandSuccesskunal.kumar
10:54:55 am 23-Dec-24Execute Powershell Command-0012Results returned to global variable #global:psresult# and saved in Documents tab of server.kunal.kumar
10:54:55 am 23-Dec-24Execute Powershell Command-0012Informational: GetFile command overwrote the server file C:/Kaseya/UserProfiles/160248129727106/GetFiles/../docs/psoutput.txt with the new contents from c:/kworking/psoutput.txt in THEN step 2.kunal.kumar
10:54:55 am 23-Dec-24Execute Powershell Command-0011Powershell command completed!kunal.kumar
10:54:53 am 23-Dec-24Execute Powershell Command-0011Executing powershell "" -Command "Remove-ItemProperty -Path "HKLM:/Software/Microsoft/Cryptography/Wintrust/Config" -Name "EnableCertPaddingCheck" -ErrorAction SilentlyContinue" >"c:/kworking/psoutput.txt"kunal.kumar
10:54:53 am 23-Dec-24Execute Powershell Command-0010Sending output to global variable.kunal.kumar
10:54:53 am 23-Dec-24Execute Powershell Command-0008New command variable is: -Command "Remove-ItemProperty -Path "HKLM:/Software/Microsoft/Cryptography/Wintrust/Config" -Name "EnableCertPaddingCheck" -ErrorAction SilentlyContinue"kunal.kumar
10:54:53 am 23-Dec-24Execute Powershell Command-0008Custom commands detected as Remove-ItemProperty -Path "HKLM:/Software/Microsoft/Cryptography/Wintrust/Config" -Name "EnableCertPaddingCheck" -ErrorAction SilentlyContinuekunal.kumar
10:54:48 am 23-Dec-24Execute Powershell Command-0002Powershell is present.kunal.kumar
10:54:46 am 23-Dec-24Windows - 32 or 64 bit OSSuccesskunal.kumar
10:54:46 am 23-Dec-24Windows - 32 or 64 bit OS-0011Windows OS is 64-bit.kunal.kumar
10:54:38 am 23-Dec-24Run Now - Disable Authenticode VerificationAdmin kunal.kumar scheduled procedure Run Now - Disable Authenticode Verification to run at Dec 23 2024 10:54 AMkuna

Output

Agent procedure log.