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

Jump to content



  • 7 Pages +
  • « First
  • 4
  • 5
  • 6
  • 7
  • You cannot start a new topic
  • You cannot reply to this topic

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

#101 User is offline   jdoe 

  • Advanced Member
  • PipPipPip
  • Group: Banned
  • Posts: 314
  • Joined: 02-May 04

Posted 21 May 2005 - 11:17 AM

jamesagmoore, on May 21 2005, 06:23 AM, said:

jdoe, on Nov 25 2004, 02:31 AM, said:

Disabling Windows File Protection Permanently.

I made an hacked SFC_OS.DLL for disabling WFP without any registry settings.

You can replace the file from your Windows XP SP2 source files (don't forget to compress with MAKECAB.EXE) or follow this guide if you have already installed XP.


Does anyone know where the sfc_os.dll file with no registry check went? It is not possible to download it any more
Thanks
<{POST_SNAPBACK}>




There it is...

SFC_OS.DL_


#102 User is offline   AxEsLoCkEd 

  • Group: Members
  • Posts: 1
  • Joined: 08-June 05

Posted 08 June 2005 - 04:37 AM

why cant i download the attachments

#103 User is offline   Brando569 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 408
  • Joined: 28-April 04

Posted 09 June 2005 - 03:09 AM

theyre not there anymore, get them from here: RyanVM's Site

#104 User is offline   war59312 

  • Will's Blog
  • PipPipPipPipPip
  • Group: Members
  • Posts: 922
  • Joined: 07-June 02

Posted 09 June 2005 - 02:22 PM

Here:

http://s41.yousendit.com/d.aspx?id=1PQG77B...EU264DE7KKODJ41

http://s41.yousendit.com/d.aspx?id=2GFX0MX...YC03FK6KUUJ8ZLN

http://s41.yousendit.com/d.aspx?id=37GE5L4...ZI1B8D0TR9N42KF

http://s41.yousendit.com/d.aspx?id=3EPJP66...3T31UP1LHC3OQPT

http://s41.yousendit.com/d.aspx?id=3J2N7GR...VN0QINC3AQSA0VR

#105 User is offline   1key 

  • Newbie
  • Group: Members
  • Posts: 13
  • Joined: 12-February 05

Posted 06 July 2005 - 07:45 AM

Thank you for teching

#106 User is offline   Basje 

  • Group: Members
  • Posts: 7
  • Joined: 05-May 05

Posted 15 August 2005 - 09:28 AM

Google directed me to this topic for my problem, and I read ALL posts in this topic, but there's one thing missing now... I'm looking for a SFC_OS.DL_ which enables deleting the empty folders in the Program Files directory. I'm using a Dutch Windows XP SP2 build 2180.

Has anyone got a copy of the hacked version of SFC_OS.DL_ lying around? All links in previous posts are either to disable WFP (I don't want to disable it) or dead. I've already looked at RyanVM's files but that one is also to disable WFP.

I don't dare hex-editing the file myself just yet... :(

All help will be greatly appreciated!

Bas.

#107 User is offline   evilvoice 

  • Ditchy McAbandonpants
  • PipPipPipPipPip
  • Group: Members
  • Posts: 946
  • Joined: 27-January 04

Posted 15 August 2005 - 10:31 AM

thats cuz youre looking for the wrong file...its sfcfiles.dll that allows deleting empty folders.

#108 User is offline   the_7eddo 

  • Group: Members
  • Posts: 1
  • Joined: 11-September 05

Posted 17 September 2005 - 06:48 PM

can u tell exactlly where i found these hacked files

#109 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,653
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 17 September 2005 - 09:25 PM

Here is one in this rar file just remember to disable wfp also.

This post has been edited by kelsenellenelvian: 17 September 2005 - 11:08 PM


#110 User is offline   Yurek3 

  • Member
  • PipPip
  • Group: Members
  • Posts: 270
  • Joined: 23-November 04

Posted 18 September 2005 - 07:01 AM

@kelsenellenelvian this file does not work sorry in before T -39 receive blue screen
with information , it with this file is not the file of system Windows Xp


Mistake critical

see there

http://www.d--b.webp...everse04_en.htm


How to fully disable System File Checker (SFC, WFP).

The method with patching sfc_os.dll (or sfc.dll) file dont disable fully WFP. Protected files can be replaced only manually. If any installator will use function MoveFileEx (with MOVEFILE_DELAY_UNTIL_REBOOT flag) to replace in-use protected files, then the files will be not replaced. The reason for this is, that session manager (smss.exe) while loading system, before replace any files, check list of protected files. If given file is in this list, then replace will fail. Until you add to registry AllowProtectedRenames value, the protected files will be not replaced.
Second often used function is SetupInstallFile (with SP_COPY_FORCE_IN_USE flag). This function before add a file to replace-list, check with SfcIsFileProtected (from sfc_os.dll) whether the file is protected or not. If file sfc_os.dll is patched, then SfcIsFileProtected will return always false. So SetupInstallFile will no add AllowProtectedRenames value to the registry.

I have develop my own method to full disabling WFP. This method is simple, more flexible and dont need to patch any files. It based on empty list of protected files. So WFP is on, but list of protected files is empty and all files are not protected. List of protected files is in file sfcfiles.dll. I have wrote my own sfcfiles.dll file with empty list. One thing that is to do, is replace this one file.

How replace sfcfiles.dll file ?
This file is a in-use protected file. To replace it, you need copy my sfcfiles0.dll into system directory and add two values to this key:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Session Manager

After reboot, WFP will be fully disabled.
To add this two values to registry you must have admin rights. And dont forget to make backup of old sfcfiles.dll.

1)
Value name: PendingFileRenameOperations
Value type: array of null-terminated strings (REG_MULTI_SZ)
Value data:
\??\c:\winnt\system32\sfcfiles0.dll
!\??\c:\winnt\system32\sfcfiles.dll

This value is used to replace files at reboot time.
In first line is a path to the file that should be moved. In second line is new path for this file.
Note: Creating a value of REG_MULTI_SZ type in registry editor is available from XP version. To replace this file in Windows 2000 use automatic installation descripted below.


2)
Value name: AllowProtectedRenames
Value typ: DWORD (REG_DWORD)
Value data:
1

This value is needed to replace protected file.

And that is all.

Automatic installation mode for Windows 2000 user (work also in XP).
I have added two functions to sfcfiles0.dll file: Install and Uninstall. These functions will add two values to registry. Before calling these functions, file sfcfiles0.dll should be in system directory.

Function: Install
Calling: Select a command "Execute..." from start menu (or in command prompt) and enter:
rundll32 sfcfiles0 Install

First, this function will make backup of old sfcfiles.dll file to system32\dllcache directory, and add two registry values. If file sfcfiles.dll exist already in dllcache, then it will be not overwrite. After reboot file sfcfiles0.dll will be renamed to sfcfiles.dll.

Function: Uninstall
Calling: Select a command "Execute..." from start menu (or in command prompt) and enter:
rundll32 sfcfiles Uninstall

This function copy in dllcache the file sfcfiles.dll to sfcfiles.tmp. This temporary file will be moved after reboot to system32 directory. File sfcfiles.dll (with empty list) from system directory will be copyed to sfcfiles0.dll..

This post has been edited by Yurek3: 18 September 2005 - 07:03 AM


#111 User is offline   humble3d 

  • humble3d
  • Pip
  • Group: Banned
  • Posts: 54
  • Joined: 21-July 03

Posted 20 September 2005 - 05:00 AM

Call me :w00t: Crazy...'cause i am...However, one of your very kind msdn pros gave information some time ago here about this and, the fix is much simpler than all this other stuff you are trying to do> please inspect the
"boot.ini" file below:

[boot loader]
timeout=30
default=multi(0)disk(0)rdisk(0)partition(1)\WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /NOEXECUTE=ALWAYSOFF /fastdetect


Additionally, you can elevate install rights using gpedit.msc....
THis is all freeware from Microsoft...
Einstein once said that...'everything should be made as simple as possible--not simpler...'

Works for me... :D :thumbup

This post has been edited by humble3d: 20 September 2005 - 05:00 AM


#112 User is offline   OrcoXP 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 03-July 03

Posted 22 September 2005 - 07:58 AM

I have just finished reading this thread beginning to end and I am still unsure if it is possible to disable the protection of these empty folders under %PF%.

Windows XP SP2 English
I want to be able to delete these folders, but I do not want to disable WFP

-C:\Program Files\Microsoft Frontpage\
-C:\Program Files\Movie Maker\
-C:\Program Files\MSN Gaming Zone\
-C:\Program Files\MSN Gaming Zone\Windows\
-C:\Program Files\NetMeeting\
-C:\Program Files\Windows Media Player\
-C:\Program Files\Windows NT\
-C:\Program Files\Windows NT\Accessories\
-C:\Program Files\Windows NT\Pinball\
-C:\Program Files\Xerox\

Do I need both files fixed or just SFC_OS.DLL? What do I need to change in either?
Do I still need to edit the registry?
Can I just use WFPAdmin and compress the file when I am done? Again, do I need both files after this?

This post has been edited by OrcoXP: 22 September 2005 - 08:00 AM


#113 User is offline   OrcoXP 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 03-July 03

Posted 22 September 2005 - 10:27 PM

GreenMachine, on Aug 11 2004, 10:24 PM, said:

I think you mean ...
http://www.ryanvm.ne...fn/SFCFILES.DL_
But I know you are just showing off that ryanvm.net !

(GreenMachine.net is long gone, alas)

EDIT:: Silly me: forgot to add Thanks, RyanVM!
<{POST_SNAPBACK}>



Does anyone still have this file? The link is dead.

Can someone also confirm that this file removes protection over the folders in Program Files and not the files in the Windows DIR?

#114 User is offline   zbeta 

  • c:\>debug M$
  • Pip
  • Group: Members
  • Posts: 79
  • Joined: 17-November 03

Posted 23 September 2005 - 06:10 AM

OrcoXP

just use the file from jdoe here

download SFC_OS.DL_, put the file in i386 folder!

This post has been edited by zbeta: 23 September 2005 - 06:12 AM


#115 User is offline   OrcoXP 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 03-July 03

Posted 23 September 2005 - 07:03 AM

I thought I needed a hacked sfcfiles.dll to do this?

I don't want to disable WFP

Can you explain?

This post has been edited by OrcoXP: 23 September 2005 - 07:12 AM


#116 User is offline   snooz 

  • Member
  • PipPip
  • Group: Members
  • Posts: 119
  • Joined: 11-August 03

Posted 06 October 2005 - 08:04 PM

http://www.bitsum.com/aboutwfp.asp

This explains how to do it. Here is a good free hex editor;
http://www.chmaas.handshake.de/delphi/free...32.htm#download

If you use XVI32 be sure to check Unicode Latin and Joker Hex and then just do a text search

This post has been edited by snooz: 06 October 2005 - 08:07 PM


#117 User is offline   OrcoXP 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 03-July 03

Posted 06 October 2005 - 08:14 PM

The site has been disabled but I have been there before and it did not have any info about removing protection over these folders without disabling WFP completely.

Anyone who has the SFCFILES.DLL that is already already fixed for SP2, can you post a link?

#118 User is offline   snooz 

  • Member
  • PipPip
  • Group: Members
  • Posts: 119
  • Joined: 11-August 03

Posted 06 October 2005 - 08:16 PM

Sorry man won't let me post the file. I sent you a PM just email me and then I can send it to you.

This post has been edited by snooz: 06 October 2005 - 08:30 PM


#119 User is offline   OrcoXP 

  • Member
  • PipPip
  • Group: Members
  • Posts: 148
  • Joined: 03-July 03

Posted 06 October 2005 - 08:23 PM

I'm not seeing it

#120 User is offline   EgOrus 

  • Group: Members
  • Posts: 4
  • Joined: 25-February 04

Posted 27 November 2005 - 11:23 AM

Can anyone explain why RaveRod change regkey value in sfc_os.dll ? Old one - SFCDisable not work or blocked?

Share this topic:


  • 7 Pages +
  • « First
  • 4
  • 5
  • 6
  • 7
  • You cannot start a new topic
  • You cannot reply to this topic

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



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