MSFN Forum: SFC_OS.DLL hack for XP SP2 Final - MSFN Forum

Jump to content



  • 7 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

SFC_OS.DLL hack for XP SP2 Final Rate Topic: -----

#1 User is offline   Denney 

  • *shrug*
  • PipPipPipPip
  • Group: Members
  • Posts: 685
  • Joined: 11-September 03

  Posted 06 August 2004 - 09:51 PM

Update (05.10.07): If you wish to disable SFC, I'd recommend a program like nLite to do it as it is more advanced than this. This no longer exists and my website either.

Update (27.05.05): I've noticed a lot of people are still coming to my website for these instructions. At the moment, our website is undergoing a redesign and this information is currently not available. I suggest using a program like nLite for this purpose. Thankyou.

EDIT: FIXED HEX EDIT. PLEASE REDOWNLOAD!!

Here is my SFCSetting hack for WFP...

At offset (00000F82) change:
44 00 69 00 73 00 61 00 62 00 6C 00 65
to:
53 00 65 00 74 00 74 00 69 00 6E 00 67


At offset (0000ECE9) change:
33 C0
to:
EB 01


Simple as that. I've also attached the hacked SFC_OS.DLL for use on the Windows XP CD.

Follow the instructions at http://unattended.msfn.org for the hacked SFC_OS.DLL file but replace it with this file instead...

Edit: Re-attached the SFC_OS.DL_ file with better compression (thanks RyanVM).

Edit2: The attached file can be placed straight in the I386 folder WITHOUT modification. :)

Edit3: For people getting confused about how to apply this properly and what version it's for, follow the instructions at doesn't exist anymore. The files there and the file attached here are for Windows XP Service Pack 2 RTM (Build 2180).

Edit4: You DO NOT need the sfcfiles.dll file, found in this thread, to disable WFP. The sfcfiles.dll file only allows you to delete files and folders in the Program Files directory. It doesn't disable WFP.

This post has been edited by Denney: 22 March 2009 - 01:16 AM



#2 User is offline   Bachus 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 408
  • Joined: 25-July 03

Posted 06 August 2004 - 10:31 PM

How would I go about removing a certain directory (in this case Program Files and everything under it) from being watched by WFP? There was post with a hacked dll for SP1 a while back, but I didn't find it in a search. Besides, I don't remember there being much in the way of instructions for making a new version of the dll. :)

#3 User is offline   Denney 

  • *shrug*
  • PipPipPipPip
  • Group: Members
  • Posts: 685
  • Joined: 11-September 03

Posted 06 August 2004 - 10:42 PM

Use the information on the unattended page here (just replace the file there with this file here):

http://unattended.msfn.org/xp/wfp.htm

#4 User is offline   GreenMachine 

  • ineXPlicable
  • Group: Developers
  • Posts: 3,062
  • Joined: 22-August 03

Posted 06 August 2004 - 10:52 PM

RaveRod again, eh. Why am I not surprised?

Thanks, Mate! You always are watching out for us lazy ones! Perhaps I need not ask ... but have these been PEModified?

#5 User is offline   Denney 

  • *shrug*
  • PipPipPipPip
  • Group: Members
  • Posts: 685
  • Joined: 11-September 03

Posted 06 August 2004 - 10:54 PM

Sure have. Just put the file on the CD and away we go!!

Edit: Make sure you have the registry edit as well. :)

#6 User is offline   captdilly 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 12-October 03

Posted 07 August 2004 - 12:48 AM

Has this version be properly modified so that setup won't complain? (Like what running ModifyPE does)

#7 User is offline   Adiel 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 401
  • Joined: 04-August 04

Posted 07 August 2004 - 01:22 AM

sry 4 being noob, but what file is doing exactly?

#8 User is offline   OMERZEN 

  • Newbie
  • Group: Members
  • Posts: 19
  • Joined: 15-June 04

Posted 07 August 2004 - 03:42 AM

Adiel, on Aug 7 2004, 01:22 AM, said:

sry 4 being noob, but what file is doing exactly?

+1

what does it for? :)

#9 User is offline   mark 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 850
  • Joined: 23-July 04

Posted 07 August 2004 - 03:58 AM

OMERZEN, on Aug 7 2004, 03:42 AM, said:

Adiel, on Aug 7 2004, 01:22 AM, said:

sry 4 being noob, but what file is doing exactly?

+1

what does it for? :)

+2 :rolleyes:

#10 User is offline   gabriel_buc 

  • G@bR!e|_
  • PipPip
  • Group: Members
  • Posts: 200
  • Joined: 05-August 04

Posted 07 August 2004 - 03:58 AM

RaveRod, on Aug 7 2004, 07:42 AM, said:

Use the information on the unattended page here (just replace the file there with this file here):

http://unattended.msfn.org/xp/wfp.htm

@ Adiel, OMERZEN & DaLurker:
If you would just follow the link provided you would find the answer t oyour question. :)

#11 User is offline   Denney 

  • *shrug*
  • PipPipPipPip
  • Group: Members
  • Posts: 685
  • Joined: 11-September 03

Posted 07 August 2004 - 03:59 AM

If you look on the unattended website (like I said), you would know that it allows you disable Windows File Protection so you can overwrite/delete protected files during and after Windows setup.

@captdilly: Yes is has. I stated that in my last post when GreenMachine asked me.

NOTE: The file you download from here can be put onto your Windows XP CD WITHOUT modification.

#12 User is offline   Denney 

  • *shrug*
  • PipPipPipPip
  • Group: Members
  • Posts: 685
  • Joined: 11-September 03

Posted 07 August 2004 - 08:36 AM

TO THE ~100 DOWNLOADS, PLEASE REDOWNLOAD!!! I DIDN'T TEST MY HEX EDIT!!!

The new version attached should work. Note: The old one WON'T work.

#13 User is offline   Bachus 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 408
  • Joined: 25-July 03

Posted 07 August 2004 - 09:08 AM

I should rephrase myself. I want WFP active, but I'd like to keep it from protecting everything in and including the Program Files directory (So I can, for example, remove an empty WMP directory :)). There was a hacked sfc_os.dll for SP1 that did this, but there isn't a version for SP2 yet (that I know of). I was hoping someone could help me in editing sfc_os.dll to suit my needs. Oh well, I'm sure I'll figure something out. :rolleyes:

#14 User is offline   RyanVM 

  • Like a big surly teddy bear.
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,661
  • Joined: 31-August 03

Posted 07 August 2004 - 11:11 AM

Does the hive file have to be edited, or will adding the registry entry be enough? The hive file entry is only if you want it disabled during setup, right?

#15 User is offline   Denney 

  • *shrug*
  • PipPipPipPip
  • Group: Members
  • Posts: 685
  • Joined: 11-September 03

Posted 07 August 2004 - 08:13 PM

@Bachus: There is a post here that edits the "sfcfiles" file to remove protected directories. You cannot do what you want to do with the "sfc_os.dll" file.

@RyanVM: Yes the hive does need to be edited (or you can import the registry entry during "cmdlines". If you import the registry entry during "RunOnceEx", WFP won't be disabled until the second boot.

#16 User is offline   visitor 

  • Newbie
  • Group: Members
  • Posts: 24
  • Joined: 01-August 04

Posted 07 August 2004 - 08:56 PM

RaveRod, on Aug 6 2004, 09:51 PM, said:

SFCSetting hack for WFP...

At offset (0000ECE9) change:
33 C9
to:
EB 01
...

RaveRod
Hey :rolleyes:
thaNX for the info. We're running SP2 build2179 & prefer to stick with this RTM release, which is working well for us. The value @ offset ECEA = C0 (not C9). All other values are as you posted for 2180...

...sorry - found the answer here

Is the manually applied registry value name "SFCDisable" or "SFCSetting"?

thaNX :)

#17 User is offline   Denney 

  • *shrug*
  • PipPipPipPip
  • Group: Members
  • Posts: 685
  • Joined: 11-September 03

Posted 07 August 2004 - 11:51 PM

@visitor: The "SFCSetting" registry value should be set to "ffffff9d" if you want to disable WFP. The "SFCDisable" registry value is now useless (just there to trick Windows).

Build 2179 isn't RTM by the way. It was going to be but they had to fix a few more little bugs and application compatibility. Build 2179, I think, will expire is 180 days.

#18 User is offline   Denney 

  • *shrug*
  • PipPipPipPip
  • Group: Members
  • Posts: 685
  • Joined: 11-September 03

Posted 08 August 2004 - 12:07 AM

Re-attached SFC_OS.DL_ file with better compression (thanks RyanVM).

#19 User is offline   netquik 

  • Tweaker
  • Group: Members
  • Posts: 46
  • Joined: 28-July 04

Posted 11 August 2004 - 08:22 AM

more info about the hacK?

has it modified header crc?


Could explain SFCsetting and SFCdisable fact?


could comment code?


thanks

#20 User is offline   kolath 

  • Newbie
  • Group: Members
  • Posts: 10
  • Joined: 10-August 04

Posted 11 August 2004 - 08:40 AM

Bachus, on Aug 6 2004, 10:31 PM, said:

How would I go about removing a certain directory (in this case Program Files and everything under it) from being watched by WFP?  There was post with a hacked dll for SP1 a while back, but I didn't find it in a search.  Besides, I don't remember there being much in the way of instructions for making a new version of the dll. :)


+1

I have used the hacked SFC_OS.dll + registry method to disable WFP before, but all I really want to do is delete those annoying folders that XP puts in the Program Files directory (e.g. "xerox", "MSN Gaming Zone", "Movie Maker", etc). Is there any way to remove these from the list of protected files rather than disabling WFP altogether. And also, does anyone know why the heck those stupid folders are considered protected system folders in the first place?

Share this topic:


  • 7 Pages +
  • 1
  • 2
  • 3
  • Last »
  • 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



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy