Nepali Posted September 13, 2005 Posted September 13, 2005 i have gone through search but couldn't find what i am looking for..i want to disable the SFC and WFP in windows by editing the corefile of windows XPi hope there is two methodsfc_os.dll patchand a registry fileoki can replace the file ,, but what abt registry filewhich file should i have to edit for registryis this hivedef.inf orhivesys.infor what ?i don't want to import *.reg file to disable SFC
InTheWayBoy Posted September 13, 2005 Posted September 13, 2005 Well this is the code for it according to the guide:;Re-enable WFP[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"SFCDisable"=dword:00000000So it's in HKLM...I haven't ever edited the *.inf's before install, but I think they are different, one for HKLM and the other for HKCU. But I might be wrong...and this should probably be in the Unattended Section.
Nepali Posted September 13, 2005 Author Posted September 13, 2005 where to enter this code..i think to disable it must be FFFFFF9Di am not concerned with *.regi am concerned with XP root files Eg editing *.infnot by importing Windows Registry Editor Version 5.00 ;Disable Windows File Protection (WFP) (to enable, change to 0)[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"SFCDisable"=dword:FFFFFF9D
InTheWayBoy Posted September 13, 2005 Posted September 13, 2005 If you would just open the inf's for a second, you'll see that hivedef.inf deals mostly with HKCU, which is not what you need. Now if you open hivesft.inf, you'll see most of the list is for HKLM, which is what you need. Now take that a step further, and see how it's broken down:HKLM,"SOFTWARE\Microsoft\DataAccess","FullInstallVer","2.81.1117.0"So looking at the code (And yeah, I grabbed the wrong one):;Disable Windows File Protection (WFP) (to enable, change to 0)[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]"SFCDisable"=dword:FFFFFF9DYou'll should see how it all works out...I can't verify this but it should be something like this:HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","SFCDisable","dword:FFFFFF9D"That last part I'm a little unsure off...maybe try it with "dword:FFFFFF9D", and if that doesn't work then try "FFFFFF9D"Looks like most of the *.inf's have different sections:AddReg, DelReg, etcI would think you would need to input this into the AddReg section.
Yzöwl Posted September 13, 2005 Posted September 13, 2005 I would try adding this line to HIVESFT.INFHKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon",SFCDisable,0x10001,0
Nepali Posted September 14, 2005 Author Posted September 14, 2005 What does this line in HIVESFT.INF doEnable or DisableHKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon",SFCDisable,0x10001,0
Yzöwl Posted September 14, 2005 Posted September 14, 2005 What does this line in HIVESFT.INF doEnable or DisableSorry for the cause of confusionto enableHKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon",SFCDisable,0x10001,0orHKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon",SFCDisable,0x00010001,0x00000000to disableHKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon",SFCDisable,0x10001,-99orHKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon",SFCDisable,0x00010001,0xFFFFFF9D
Ex0dus Posted September 14, 2005 Posted September 14, 2005 (edited) this doesnt really help your problem but could someone tell me why you would want to disable sfc? and WFP? Edited September 14, 2005 by Ex0dus
Nepali Posted September 15, 2005 Author Posted September 15, 2005 i have rvyan pack + xpize and some modified files EG winntbbu.dllshell32.dllmydocs.dllmoricons.dllthats why i want to disable it from root file (this is not a unattended CD)i don't use $oem$ folder.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now