Jump to content

Windows 7 disable WFP


caps_buster

Recommended Posts

Guys, I searched but did not find any usable solution how to disable the Windows file protection, aka WFP in Windows 7.

 

All I manage to find is a register switch for this, yet it require running debudger, so, nothing really usefull... Basicaly it is SFCDisable set to 1 (or create if not exist) in registry entry:

 

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

http://superuser.com/questions/479499/how-to-disable-windows-file-protection-in-windows-xp-or-7-from-registry

 

"You have to attach a kernel debugger before setting the value to 1 will actually do anything."

 

 

Is not there are any way?

And I don't mean tweaking the created files not to be protected like in this link:

http://windows7themes.net/en-us/how-to-disable-windows-7-file-protection/

 

Anyone?

I would love to replace the current Notepad with Notepad2, but... WFP protect it.

Link to comment
Share on other sites


no, there is no WFP in Windows since Vista.

 

You have to take ownership of the file. But this is bad. Use Image File Execution Options (HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options) to redirect notepad.exe calls by modify the Debuggers value to notepad2.

Link to comment
Share on other sites

No WFP since Vista? Sounds good then, or it is not? Can we modify system files w/o problems, or...?

 

There is (in the Image File Execution Options) these registry subfolders:

DllNXOptions

GoogleUpdate.exe

IEInstal.exe

...and that it is. How I take the ownership of the Notepad.exe, so I can replace it by my file?

Link to comment
Share on other sites

Guys, I searched but did not find any usable solution how to disable the Windows file protection, aka WFP in Windows 7.

 

All I manage to find is a register switch for this, yet it require running debudger, so, nothing really usefull... Basicaly it is SFCDisable set to 1 (or create if not exist) in registry entry:

 

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

http://superuser.com/questions/479499/how-to-disable-windows-file-protection-in-windows-xp-or-7-from-registry

 

"You have to attach a kernel debugger before setting the value to 1 will actually do anything."

The MS kb referenced in that post is this one:

https://support.microsoft.com/kb/222193/en-us

 

 

Which:

APPLIES TO

  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
  • Microsoft Windows 2000 Datacenter Server
  • Microsoft Windows XP Professional x64 Edition
  • Microsoft Windows XP Home Edition
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Media Center Edition 2005 Update Rollup 2
  • Microsoft Windows XP Tablet PC Edition
  • Microsoft Windows Server 2003, 64-Bit Datacenter Edition
  • Microsoft Windows Server 2003, Enterprise x64 Edition
  • Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows Server 2003, Web Edition
  • Microsoft Windows Small Business Server 2003 Premium Edition
  • Microsoft Windows Small Business Server 2003 Standard Edition
 

Most probably the original question that is "vague":

How to disable Windows File Protection in Windows 7 and/or XP from Registry?

 

Generated the answer to this question only:

How to disable Windows File Protection in Windows 7 and/or XP from Registry?

 

Which BTW is anyway not the "right" answer (for XP), that kb provides only a way to temporarily disable the SFC/WFP, and you wouild normally use the empty SFCfiles.dll trick or an edited SFC.DLL:

http://www.vorck.com/windows/software.html

 

Anyone?

I would love to replace the current Notepad with Notepad2, but... WFP protect it.

Sometimes it is important to ask the "right" question, besides what MagicAndre :thumbup posted:

http://www.flos-freeware.ch/doc/notepad2-Replacement.html

http://code.kliu.org/misc/notepad2/

You seemingly slipped on a chocolate covered banana :w00t::ph34r:

http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/put-down-the-chocolate-covered-banana.html

;)

JFYI:

http://en.wikipedia.org/wiki/Windows_File_Protection

http://en.wikipedia.org/wiki/Windows_Resource_Protection

and:

http://www.msfn.org/board/topic/155910-taking-back-the-registry-from-trustedinstaller/

 

jaclaz

Edited by jaclaz
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...