Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

SFC Options

- - - - -

  • Please log in to reply
17 replies to this topic

#1
Crash&Burn

Crash&Burn

    Advanced Member

  • Member
  • PipPipPip
  • 364 posts
  • OS:Windows 2000 Professional
  • Country: Country Flag
On the Replacing option, it's stated that it wouldn't be useable anymore at all, whereas w/ the Hacking option it can be reenabled by changing a registry setting. With the replacing option, if you kept a copy of the real SFC.exe wouldn't you be able to periodically run it as wished? Probably a dumb question, logic indicates yes, but maybe I am missing something.


How to remove advertisement from MSFN

#2
fdv

fdv

    MSFN Expert

  • Developer
  • 1,111 posts
  • OS:Windows 7 x64
  • Country: Country Flag
not sure what's being asked here. you refer to the "real" SFC.EXE but that's not the file we hack.
there is the collake hack, which allows SFC to be turned on and off (modifies SFC.DLL).
there is the NON-collake hack, which can permanently switch SFC off (also modifies SFC.DLL).

side story, history of shutting SFC off
a russian friend of mine said that the collake hack was kind of useless to him because SFC switches back ON when the OS first boots, so he created a version that disables SFC.DLL for good.
his non-collake hack, documented on my site, has, believe it or not, been picked up all over the world and is now used in several software products that in some cases i am not permitted to name -- yet the guy who wrote the mods to the DLL prefers to go uncredited :whistle: ah well, that's his choice.

there is also a re-written SFCFILES.DLL that empties out the list of protected files. it leaves SFC.DLL untouched, so technically, the system is running checks against an empty list. this method was created for people who don't want to hack files or want to incorporate the source code into their product (the source of my friend's DLL is supplied on my site). this hack was based on the work of Damian Bakowski who made a similar version of this file first (an italian reader directed my attention to damian's site; damian is polish).

(this almost sound like some kind of joke... an american, an italian, a russian, and a pole all join forces to shut off system file protection... :D )

anyway, you can run SFC.EXE with a scannow and non-hacked SFC and SFCFILES to do the file checking thing. i recommend keeping the unhacked SFC.DLL handy in your system32 directory, because i will admit that personally, i HATE it when i install a program and it replaces a bunch of my DLLs. it's not just the legacy apps, either. so, i replace SFC on my system with the original.

apologies in advance if this did not answer your question.

#3
Crash&Burn

Crash&Burn

    Advanced Member

  • Member
  • PipPipPip
  • 364 posts
  • OS:Windows 2000 Professional
  • Country: Country Flag
*Chuckle* That's pretty funny, get the whole world together to fight evil ;)

And yeah I think its answered, so basically recommendation to allow HFSlip to shut it down, then replace the SFC.dll after install to keep those bad programs from messing w/ your system.

And thanks :) Your guide is one of the easiest technical manuals I've read thru

#4
Siginet

Siginet

    Windows XP PowerPacker Creator

  • Member
  • PipPipPipPipPip
  • 739 posts

there is also a re-written SFCFILES.DLL that empties out the list of protected files.


Where can I get that?

Posted Image
For those of you interested in my next software venture you can check it out here:
www.ITTechware.com


#5
tommyp

tommyp

    MSFN Addict

  • Developer
  • 1,680 posts
  • OS:none specified
  • Country: Country Flag
@Siginet - That file is part of FDV's fileset. Link. It was generated for W2K, so I'm not sure if it works for XP and newer OS's (I haven't tried it).
Posted Image

#6
Kelsenellenelvian

Kelsenellenelvian

    WPI Guru

  • Developer
  • 8,795 posts
  • OS:Windows 7 x64
  • Country: Country Flag
I had one for XP but I lost it.

Nevermind found one...

http://www.vorck.com/data/sfcfiles.zip

Edited by kelsenellenelvian, 13 October 2005 - 04:45 AM.


#7
Oleg_II

Oleg_II

    Senior Member

  • Member
  • PipPipPipPip
  • 679 posts
fdv
How are you replacein the file after installation? Run Bart CD?
Can it be somehow automated with some M$ tool like run a batch and after reboot the files will be swapt? Is it possible?
Posted Image

#8
fdv

fdv

    MSFN Expert

  • Developer
  • 1,111 posts
  • OS:Windows 7 x64
  • Country: Country Flag
i run the BartPE. not sure if there is a better way. because these files get locked, i think using BartPE is probably the best way... (or a simple DOS floppy if you use FAT32).

#9
Oleg_II

Oleg_II

    Senior Member

  • Member
  • PipPipPipPip
  • 679 posts
fdv
Could this tool be a solution?

InUse is a command-line tool that performs on-the-fly replacement of files currently in use by the operating system. You must be a member of the Administrators group to use this tool.

InUse is primarily used to replace locked operating system files. After running the tool, the file specified is not replaced until the system is restarted. During restart, the system moves the file immediately after AUTOCHK is run, but before creating any paging files. This tool is useful for troubleshooting purposes, where you might need to replace an individual file on your computer instead of an entire set of files.

Posted Image

#10
fdv

fdv

    MSFN Expert

  • Developer
  • 1,111 posts
  • OS:Windows 7 x64
  • Country: Country Flag
Inuse does not work.
unless there has been a newer version released?
microsoft put the wrong file in it and never fixed their release (imagine that). open the program up with winrar or a similar program and have a look inside the Inuse archive.

#11
tommyp

tommyp

    MSFN Addict

  • Developer
  • 1,680 posts
  • OS:none specified
  • Country: Country Flag
What about this. I can probably make HFLSIP do this (if you want it). What I can do is once installation is complete, I can rename the sfcfiles.dll (the one being used) to zsfcfiles.dll. Then I can rename the original dll back to sfcfiles.dll. So once you reboot, you'll have your original sfcfiles.dll. Is this worthwhile to incorporate?
Posted Image

#12
Oleg_II

Oleg_II

    Senior Member

  • Member
  • PipPipPipPip
  • 679 posts
Well, we should ask fdv is is worthwile or not. In general I think it is a good idea because as fdv said it protects system files of beeing replaced by some program installers. But I doubt it is possible to rename THIS file through the batch in working system. Probably. Let's first listen fdv's opinion :whistle:
Posted Image

#13
fdv

fdv

    MSFN Expert

  • Developer
  • 1,111 posts
  • OS:Windows 7 x64
  • Country: Country Flag
i don't know if this would work... this DLL is one of the first called on by the system. the file would have to be renamed very early on. also, a leading "z" might be problematic for legacy CD creation fans who want an 8+3 friendly name. perhaps i should include this DLL renamed SFCFILES.OFF in my fileset, then HFSLIP could arrange a renaming? i'll talk with tommyp about this.

#14
Oleg_II

Oleg_II

    Senior Member

  • Member
  • PipPipPipPip
  • 679 posts
fdv
After replacing SFC.DLL should any regestry changes be done also? Or just replacing will work?
Posted Image

#15
fdv

fdv

    MSFN Expert

  • Developer
  • 1,111 posts
  • OS:Windows 7 x64
  • Country: Country Flag
no, no registry changes are needed! (the old collake hack needed them).
my hacked SFC.DLL, SFCFILES.DLL and the nLite-created SFC_OS.DLL all do not need registry entries.

#16
Oleg_II

Oleg_II

    Senior Member

  • Member
  • PipPipPipPip
  • 679 posts
fdv
As you mention two files in your last post I'd like to clarify: should both SFC.DLL and SFCFILES.DLL be replaced or one SFC.DLL? I suppose only one :unsure:
Posted Image

#17
fdv

fdv

    MSFN Expert

  • Developer
  • 1,111 posts
  • OS:Windows 7 x64
  • Country: Country Flag
hi oleg_ii, just one or the other -- using both is unnecessary.
to turn sfc back on, replace whichever one you picked with its original.

#18
Oleg_II

Oleg_II

    Senior Member

  • Member
  • PipPipPipPip
  • 679 posts
Thanx! Original SFC.EXE is smaller :D
Posted Image




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users



How to remove advertisement from MSFN