Friday, 13 May 2011

Replace System Files - Windows 7

Windows 7 has very strict permissions on who can modify or delete files in the System32 and other critical folders. Do the following on particular files you need to replace to allow access:

Take ownership and grant permissions on the file

cd C:\Windows\System32\
TAKEOWN /F spoolsv.exe
ICACLS spoolsv.exe /grant administrators:F

You can now rename and replace the files as required.

No comments:

Post a Comment