Wednesday, September 21, 2011

"Could not create the scheduled task for the following reason: Cannot create a file when that file already exists. (0x800700B7)." system restore error


Unable to Toggle System Restore or Create a restore point because of this error (Vista):

"Could not create the scheduled task for the following reason: Cannot create a file when that file already exists. (0x800700B7)."

Cause: The Task Scheduler engine is out of synch with the currently configured tasks.

Fix:

1) Open Regedit.exe

2) Navigate to this key:

a. HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\SystemRestore\SR

b. Find the “ID” String and copy that information down. You will need it for next steps.




3) Export & Delete the SystemRestore key:

a. HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\Microsoft\Windows\SystemRestore

4) Navigate to this key:

a. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache

5) Find the “ID” key by performing a search:




6) Export & Delete the key whose name matches the copied “ID” string from Step 2b.


7) Open an Elevated Cmd Prompt

8) Navigate to this folder:

a. %windir%\System32\Tasks\Microsoft\Windows\SystemRestore

9) Delete the file named “SR” from the folder

10) Reboot

11) Try to Toggle the System Restore now and create a restore point.

4 comments:

Andrew said...

Very helpful and effective. Thanks very much.

Renovic' said...

I have no HKLM in my registry or am i not looking in the right place

Unknown said...

DID NOT WORK

super_duper_pooper_scooper_user said...

Fixed it for me.
Thank You, Sandeep!

Post a Comment

Twitter Delicious Facebook Digg Stumbleupon Favorites More

 
Powered by Blogger