MSFN Forums: [Windows File Protection] Do you disable it?! - MSFN Forums

Jump to content


Unattended CD/DVD Guide Homepage · MSFN Forum Rules

If you have questions about customizing Windows XP that are nLite-specific, please post them in the nLite forum, not here. If you have questions regarding the unattended installation of Windows XP, please post them in the Unattended Windows 2000/XP/2003 section.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

[Windows File Protection] Do you disable it?! *can you disable some of it!?* Rate Topic: -----

#1 User is offline   blahface 

  • Junior
  • Pip
  • Group: Members
  • Posts: 57
  • Joined: 28-January 07

Posted 09 February 2007 - 03:43 AM

Hey!
Has anyone else here been nagged about a modded system file - so put in your windows disk to remove the 'modded' file(s)!?!

Next question - can you disable it checking certain files?! cos I would like to disable:

logonui.exe - Windows XP Login/Welcome screen
ntoskrnl.exe - Windows XP Boot Screen

thanking you for your time!

Ad Bot #1 User is online   Sponsor Icon

  • Advert Bot
  • Group: Ad Bots
  • Posts: 0
  • Joined: --

Warn Status

Warning level: 0%

0
  • +
  • -

#2 User is offline   jaclaz 

  • MSFN SuperB
  • Icon
  • Group: Developers
  • Posts: 6,448
  • Joined: 23-July 04
  • Gender:Male
  • OS:none specified
  • Location:Italy
  • Country: Country Flag

Posted 09 February 2007 - 06:33 AM

The Fred de Vorck method of disabling it involves the use of a modified SFCFILES.DLL, i.e. an empty list of files.
http://www.msfn.org/...showtopic=58049
http://www.msfn.org/...showtopic=71256

So it is very probable that you can modify SFCFILES.DLL deleting just the files names that you want NO protection on, though I cannot say HOW it can be done, i.e. if the file has a checksum of some kind.....

jaclaz

#3 User is offline   enuffsaid 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 862
  • Joined: 26-December 03

Posted 09 February 2007 - 10:19 AM

Open your registry and find the key below.

System Key: [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
Value Name: SFCDisable
Data Type: REG_DWORD (DWORD Value)
Value Data: 0 = enabled (default), ffffff9d = disabled

Change the value of "SFCDisable" to equal "ffffff9d" to disable WFS or "0" to enable it. The other valid hexadecimal values are:

1 - disabled, prompt at boot to re-enable
2 - disabled at next boot only, no prompt to re-enable
4 - enabled, with popups disabled
ffffff9d - for completely disabled
Restart Windows for the change to take effect.

Additional Steps for Windows 2000 Service Pack 2 and Windows XP
This setting is disabled in Windows 2000 SP2 and Windows XP, and needs to re-enabled using a hex editor and changing SFC.DLL (or SFC_OS.DLL for Windows XP) following these instructions:

Windows 2000 SP2

Make a backup the SFC.DLL in the C:\WINNT\SYSTEM32 directory.
Make an additional copy of SFC.DLL called SFC1.DLL and open it in a hex editor.
At offset 00006211 (6211h) you should find the values "8B" and "C6". Do not continue if you are unable to find these values.
Change the values "8B C6" to read "90 90" and save the changes.
Run these commands to update the system files:
copy c:\winnt\system32\sfc1.dll c:\winnt\system32\sfc.dll /y
copy c:\winnt\system32\sfc1.dll c:\winnt\system32\dllcache\sfc.dll /y
If you are prompted to insert the Windows CD, click Cancel.
Restart Windows for the change to take effect.

Windows XP

Make a backup the SFC_OS.DLL in the C:\WINDOWS\SYSTEM32 directory.
Make an additional copy of SFC_OS.DLL called SFC_OS1.DLL and open it in a hex editor.
Windows XP (no Service Pack)
At offset 0000E2B8 (0E2B8h) you should find the values "8B" and "C6".
Windows XP (Service Pack 1)
At offset 0000E3BB (0E3BBh) you should find the values "8B" and "C6".
Do not continue if you are unable to find these values.
Change the values "8B C6" to read "90 90" and save the changes.
Run these commands to update the system files:
copy c:\windows\system32\sfc_os1.dll c:\windows\system32\sfc_os.dll /y
copy c:\windows\system32\sfc_os1.dll c:\windows\system32\dllcache\sfc_os.dll /y
If you are prompted to insert the Windows CD, click Cancel.
Restart Windows for the change to take effect.
Once these files have been updated apply the registry setting above.

Note: You must manually modify the operating system files using a hex editor to allow this tweak to disable SFC on Windows 2000 (SP1+) or Windows XP.

This post has been edited by enuffsaid: 09 February 2007 - 10:30 AM


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic


1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users