Cannot access System Restore in XP Pro, it crashes.

Status
Not open for further replies.

Raphael Argus

Daemon Poster
Messages
533
If I try to acess System Restore in any way I get a crash saying something like "Run DLL as an APP has encountered a problem". Is there anyway to reinstall System Restore function from the XP CD, I didn't see anything for it under add/remove windows components. Or any ideas why it's doing this or a possible fix?
 
Yup. Click Start, Run and type %Windir%\INF
Locate the SR.INF file. The file may be shown as SR, if you have configured Windows Explorer to hide known file extensions. To see the file extensions for all file types, then try this:
On the Tools menu in My Computer, click Folder Options.
Click the View tab.
Clear the Hide extensions for known file types check box.
Right-click the SR.INF file, and then click Install
Windows will now attempt to reinstall System Restore, and may prompt you for the Windows installation source path. Point to %Windir%\ServicePackFiles folder, or insert your slipstreamed Windows XP (matching the Service Pack level of your system.)
System Restore core files will be reinstalled. Restart Windows when prompted.

You should come here when you type that in

C:\WINDOWS\INF

The SR file is not hidden and contains this info:
[version]
Signature="$CHICAGO$"
SetupClass=BASE
LayoutFile=layout.inf

[DefaultInstall]
CopyFiles=SRFlt_files,SRSvc_files,SR_files
AddReg=SRFlt_addreg,SRSvc_addreg,SR_addreg
ProfileItems=SRProfile
RegisterDlls=SR_register
DelReg=SRSvc_delreg

[DefaultInstall.Services]
AddService=sr,,SRFlt_service,SRFlt_event
AddService=srservice,,SRSvc_service,SRSvc_event

[Uninstall]
DelFiles=SRFlt_files,SRSvc_files,SR_files,SRWmi_files
DelReg=SRFlt_delreg,SRSvc_delreg,SR_delreg
UnregisterDlls=SR_register

[Uninstall.Services]
DelService=sr
DelService=srservice

[DestinationDirs]
SRFlt_files=12
SRSvc_files=11
SR_files=11,Restore

[SRFlt_files]
sr.sys,,,0x10000

[SRSvc_files]
srclient.dll,,,0x10000
srsvc.dll,,,0x10000
srrstr.dll,,,0x10000

[SRSvc_files.Security]
"D:p(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"

[SR_files]
filelist.xml,,,0x10000
rstrui.exe,,,0x10000
srframe.mmf,,,0x10000
srdiag.exe,,,0x10000

[SR_files.Security]
"D:p(A;;GRGX;;;BU)(A;;GA;;;BA)(A;;GA;;;SY)(A;;GRGX;;;WD)"

[SRProfile]
Name=%SR_UI_Link_Name%
CmdLine=11,restore,rstrui.exe
SubDir=%SR_UI_Link_SubDir%
InfoTip="@%systemroot%\system32\restore\rstrui.exe,-2078"
DisplayResource="%systemroot%\system32\restore\rstrui.exe",2048


[SRFlt_service]
DisplayName = %SR_Filter_Name%
ServiceType = 2
StartType = 0
ErrorControl = 1
ServiceBinary = %12%\sr.sys
LoadOrderGroup = "FSFilter System Recovery"

[SRSvc_service]
DisplayName = %SR_Service_Name%
Description = %SR_Service_Desc%
ServiceType = 0x20
StartType = 2
ErrorControl = 1
ServiceBinary = %11%\svchost.exe -k netsvcs
Dependencies = "RpcSs"

[SRSvc_event]
AddReg=SRSvc_event_addreg
DelReg=SRSvc_event_delreg

[SRFlt_event]
AddReg=SRFlt_event_addreg
DelReg=SRFlt_event_delreg

[SRFlt_addreg]
HKLM,"system\currentcontrolset\services\SR\Parameters","FirstRun",0x10001,1
HKLM,"system\currentcontrolset\services\SR\Parameters","DontBackup",0x10001,0



HKLM,"SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\sr.sys","",0x00000000,"FSFilter System Recovery"
HKLM,"SYSTEM\CurrentControlSet\Control\SafeBoot\Network\sr.sys","",0x00000000,"FSFilter System Recovery"

[SRSvc_addreg]
HKLM,"SYSTEM\CurrentControlSet\Services\SRService\Parameters","ServiceDll",0x00020000,"%11%\srsvc.dll"



HKLM,"SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\SRService","",0x00000000,"Service"
HKLM,"SYSTEM\CurrentControlSet\Control\SafeBoot\Network\SRService","",0x00000000,"Service"

[SR_addreg]
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SystemRestore","DisableSR",0x10001,0
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SystemRestore","CreateFirstRunRp",0x10001,0
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SystemRestore\Cfg","DiskPercent",0x10001,12
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SystemRestore\SnapshotCallbacks"
HKLM,"Software\Microsoft\Windows\CurrentVersion\Run","SRFirstRun",,"rundll32 srclient.dll,CreateFirstRunRp"

[SRSvc_event_addreg]
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\SRService","EventMessageFile",0x00020000,"%11%\srsvc.dll"
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\SRService","TypesSupported",0x00010001,7

[SRFlt_event_addreg]
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\SR","EventMessageFile",0x00020000,"%11%\IoLogMsg.dll;%12%\sr.sys"
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\SR","TypesSupported",0x00010001,7

[SRFlt_delreg]
HKLM,"system\currentcontrolset\services\SR\Parameters","MachineGuid"
HKLM,"system\currentcontrolset\services\SR\Parameters","Disabled"
HKLM,"SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\sr.sys"
HKLM,"SYSTEM\CurrentControlSet\Control\SafeBoot\Network\sr.sys"

[SRSvc_delreg]
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SvcHost","SRGroup"




HKLM,"SYSTEM\CurrentControlSet\Control\SafeBoot\Minimal\SRService"
HKLM,"SYSTEM\CurrentControlSet\Control\SafeBoot\Network\SRService"
HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\SystemRestore\FilesToSnapshot"

[SR_delreg]
HKLM,"Software\Microsoft\Windows NT\CurrentVersion\SystemRestore"

[SRSvc_event_delreg]
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\Application\SRService"
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\SRService","EventMessageFile"
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\SRService","TypesSupported"

[SRFlt_event_delreg]
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\SR","EventMessageFile"
HKLM,"SYSTEM\CurrentControlSet\Services\EventLog\System\SR","TypesSupported"

[SR_register]
11,,srclient.dll,1

[Strings]
SR_Filter_Name = "System Restore Filter Driver"

SR_Service_Name = "System Restore Service"
SR_Service_Desc = "Performs system restore functions. To stop service, turn off System Restore from the System Restore tab in My Computer->Properties"

SR_UI_Link_Name = "System Restore"
SR_UI_Link_SubDir = "Accessories\System Tools"

 
Hey Warez, my slipstreamed CD is only SP1, and the system that I am having the problem on is running SP2. If it asks for the CD will this pose a problem? If so, I'll just make another XP pro CD and slipstream the SP2 on it. Prefer not to, but let me know.
 
Bump.

Should I go ahead and try this even if my XP Pro CD is only slipstreamed with SP1? The system was updated manually to SP2, but initially installed on a XP Pro disk without EITHER Service pack. I'll hold off attempting anything until I hear back...

Thanks
 
hehe Yep, I was just being lazy, and down to my last 2 CDR's ;)

Just checking to make sure I even need too.

I'll make a follow up after it's done.
 
Yes, I still have SP2 downloaded as an .exe file on my 2nd PC. Does SP2 also contain SP1? I'm assuming it does.
 
Ok Warez, I slipstreamed SP2 on the CD, CD looks good, but when I do install it asks for sr.sys file, I point it towards the XP CD and it does not find it. Actually, it asks for a "Service Pack 2 disk", are you sure it works via a slipstreamed disk? Any help appreciated. I did a manual search of the CD for sr.sys and it did not locate it.
 
Ignore my last post, WarezMonster. You rock, it worked :) When I explored the CD the file was hidden so I did not see it, but it was in the i386 directory. I pointed the install towards the directory, rebooted, and worked great. Again, thanks for all your help and patience.
 
Status
Not open for further replies.
Back
Top Bottom