Does anyone know to turn off windows file protection?

FreshPrince

Diamond Member
Dec 6, 2001
8,361
1
0
Trying to install a program..it's trying to overwrite some file, but is denied. looked in event viewer and it showed that those files are protected by windows file protection and were restored to original file. So, how do I turn off this feature so that the files can be overwritten?

thx,

-FP
 

Abhi

Diamond Member
Sep 13, 2003
4,548
0
76
Xplite can do that... i think ...

somebody correct me if i am wrong..
 

Abhi

Diamond Member
Sep 13, 2003
4,548
0
76
"Windows 2000 and Windows XP have a "technology" called Windows File Protection that is designed to prevent deletion and overwriting of known versions of the system files with other versions and thus prevents Windows from being destabilised. This is a good thing if you never want to change or remove protected components.

Naturally if we are to remove system components that Microsoft doesn't allow us to remove then we have to first deactivate WFP. So we made a switch so you can turn it on and off at will."

This was an extract from http://www.litepc.com/xplite.html

Get the trial and use it to deactivate windows file protection....
 

theAnimal

Diamond Member
Mar 18, 2003
3,828
23
76
I got the following from X-Setup:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SFCDisable

Set to 4294967197

Obligatory registry editing warning: try at your own risk.
 

LS

Member
Jul 31, 2001
68
0
0
Rename c:\windows\system32\dllcache\sfcfiles.dll and c:\windows\system32\sfcfiles.dll and reboot.
 

Shad0plex

Junior Member
Mar 14, 2004
11
0
0
XPlite does do it. It is the first thing it does when you run it, to unlock the ability to add/remove all the features of windows. sweet util.
 

Sianath

Senior member
Sep 1, 2001
437
0
0
Great for client machines; if you live in the server world, do this at your own risk. There's a reason we have it enabled and don't let you flip a switch and turn it off.

I can guarantee that if I get a bugcheck case because someone had this turned off and updated a ton of stuff, it's going to the bottom of the list of things to work on.

If you need to turn it off for a specific file, just reboot into safe mode, copy the file you want into the system32 or system32\drivers folder, copy it into the dllcache folder, then reboot in normal mode.

We'll find the version in the folder that's not supposed to be there, then replace it with the version in the dllcache folder. You now have your updated file, and you did it without screwing WFP.