
Rmdir /q /s "%TargetLetter%\Windows\System32\spp\store_test\2.0\cache" If exist "%TargetLetter%\Windows\System32\spp\store_test\2.0\cache" (Īttrib -s -h "%TargetLetter%\Windows\System32\spp\store_test\2.0\cache" If exist "%TargetLetter%\ProgramData\Microsoft\Windows\ClipSVC\tokens.dat" (Īttrib -s -h "%TargetLetter%\ProgramData\Microsoft\Windows\ClipSVC\tokens.dat"ĭel "%TargetLetter%\ProgramData\Microsoft\Windows\ClipSVC\tokens.dat"

REG LOAD HKLM\TEMP "%TargetLetter%\Windows\system32\config\SYSTEM"įor /f %%i in ('reg query HKLM\TEMP\WPA') do reg delete "%%i" /f If "" = "" echo Cannot find target system & exit /b 1

If exist "%%a:\Windows\system32\config\SYSTEM" set "TargetLetter=%%a:" Rmdir /q /s "%systemdrive%\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\cache"įor %%a in (Z Y W V U T S R Q P O N M L K J I H G F E D C) do ( If exist "%systemdrive%\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\cache" (Īttrib -s -h "%systemdrive%\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\cache" If exist "%systemdrive%\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat" (Īttrib -s -h "%systemdrive%\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat"ĭel "%systemdrive%\Windows\ServiceProfiles\NetworkService\AppData\Roaming\Microsoft\SoftwareProtectionPlatform\tokens.dat" If exist "%systemdrive%\Windows\System32\spp\store\2.0\tokens.dat" (Īttrib -s -h "%systemdrive%\Windows\System32\spp\store\2.0\tokens.dat"ĭel "%systemdrive%\Windows\System32\spp\store\2.0\tokens.dat" If exist "%systemdrive%\Windows\System32\spp\store\2.0\data.dat" (Īttrib -s -h "%systemdrive%\Windows\System32\spp\store\2.0\data.dat"ĭel "%systemdrive%\Windows\System32\spp\store\2.0\data.dat" Rmdir /q /s "%systemdrive%\Windows\System32\spp\store\2.0\cache" If exist "%systemdrive%\Windows\System32\spp\store\2.0\cache" (Īttrib -s -h "%systemdrive%\Windows\System32\spp\store\2.0\cache"

REG RESTORE HKLM\SYSTEM "%TEMP%\SYSTEM.HIV" >NUL 2>&1įor /f %%i in ('reg query HKLM\SYSTEM\WPA') do reg delete "%%i" /f

REG SAVE HKCU\SYSTEMM "%TEMP%\SYSTEM.HIV" /y >NUL 2>&1 Set /p "Sure=Are you sure you want to continue (y/N)? "
