diff options
| author | WindowsAddict | 2024-09-04 23:41:08 +0000 |
|---|---|---|
| committer | WindowsAddict | 2024-09-04 23:41:08 +0000 |
| commit | 0afb09cbd1f31f15f82f07b10eb2b5014c9c3dca (patch) | |
| tree | aee8ddcb29d5d6710d1d24040f21092426082a64 /MAS/Separate-Files-Version | |
| parent | 5d8a4634754d632df13b697c4cae96aecc730480 (diff) | |
| download | Microsoft-Activation-Scripts-0afb09cbd1f31f15f82f07b10eb2b5014c9c3dca.zip | |
Use IsOSBinary check
Diffstat (limited to 'MAS/Separate-Files-Version')
| -rw-r--r-- | MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd b/MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd index ec7d965..73c5dba 100644 --- a/MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd +++ b/MAS/Separate-Files-Version/Activators/KMS38_Activation.cmd @@ -452,7 +452,7 @@ goto dk_done :: Check file signature
if defined a_cor (
-%psc% "if ((Get-AuthenticodeSignature -FilePath '!_work!\clipup.exe').Status -ne 'Valid') {Exit 3}" %nul%
+%psc% "if (-not (Get-AuthenticodeSignature -FilePath '!_work!\clipup.exe').IsOSBinary) {Exit 3}" %nul%
if !errorlevel!==3 (
%eline%
echo Valid digital signature not found in clipup.exe file.
|
