net stop cryptsvc ren %systemroot%\System32\Catroot2 oldcatroot2 del /A:S %systemroot%\system32\CatRoot\{127D0A1D-4EF2-11D1-8608-00C04FC295EE}\tmp*.cat del /A:S %systemroot%\system32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\tmp*.cat del /A:S %systemroot%\System32\CatRoot\{F750E6C3-38EE-11D1-85E5-00C04FC295EE}\kb*.cat del /A:S %systemroot%\System32\CatRoot\{127D0A1D-4EF2-11D1-8608-00C04FC295EE}\kb*.cat del /A:S %systemroot%\inf\oem*.* regsvr32 /u /s softpub.dll regsvr32 /u /s wintrust.dll regsvr32 /u /s dssenh.dll regsvr32 /u /s rsaenh.dll regsvr32 /u /s mssip32.dll regsvr32 /u /s cryptdlg.dll regsvr32 /s softpub.dll regsvr32 /s wintrust.dll regsvr32 /s dssenh.dll regsvr32 /s rsaenh.dll regsvr32 /s mssip32.dll regsvr32 /s cryptdlg.dll attrib -s -h %windir% attrib -s -h %windir%\system32 attrib -s -h %windir%\system32\catroot2 net start cryptsvc exit