mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2024-11-09 16:32:38 +01:00
Cleanup some registry keys
This commit is contained in:
parent
1f50e4ba98
commit
ed3dace78f
1 changed files with 10 additions and 0 deletions
|
@ -663,6 +663,16 @@ sc config sppuinotify start= disabled
|
||||||
del /f /q %SysPath%\7B296FB0-376B-497e-B012-9C450E1B7327-*.C7483456-A289-439d-8115-601632D005A0 /ah
|
del /f /q %SysPath%\7B296FB0-376B-497e-B012-9C450E1B7327-*.C7483456-A289-439d-8115-601632D005A0 /ah
|
||||||
)
|
)
|
||||||
|
|
||||||
|
:: Delete registry keys that are not deleted by activation scripts
|
||||||
|
|
||||||
|
%nul% reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "ServiceSessionId" /f
|
||||||
|
%nul% reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "LicStatusArray" /f
|
||||||
|
%nul% reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "PolicyValuesArray" /f
|
||||||
|
%nul% reg delete "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform" /v "actionlist" /f
|
||||||
|
%nul% reg delete "HKU\S-1-5-20\Software\Microsoft\OfficeSoftwareProtectionPlatform\Policies" /f
|
||||||
|
%nul% reg delete "HKU\S-1-5-20\Software\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform\Policies" /f
|
||||||
|
%nul% reg delete "HKLM\SOFTWARE\Microsoft\OfficeSoftwareProtectionPlatform\data" /f
|
||||||
|
|
||||||
echo:
|
echo:
|
||||||
call :scandat delete
|
call :scandat delete
|
||||||
call :scandat check
|
call :scandat check
|
||||||
|
|
Loading…
Reference in a new issue