Deleted System Restore Triggers

barryware

New Member
I don't know how I did it, actually I do.. I thought I was deleting the history in the task scheduler for the automatic creation of restore points. As it turns out, I deleted the triggers. Both the one that launches a restore point creation once a day and the one that creates a restore point at system startup.

Is there a guide on how to recreate the triggers. I fooled around with it but no joy.

The very first thing I tried to do was a system restore but that failed for some reason.
 

My Computer

Maybe if you turn system protection off for your drive, and then turn it back on Vista will rebuild the triggers for you?

  1. Winkey+Pause/Break key to open 'System' or Control Panel->System and Mantenance->System
  2. In the left pane, click System Protection.
    GetContent.aspx
    If you are prompted for an administrator password or confirmation, type the password or provide confirmation.
  3. Turn off System Protection for each hard disk by clearing the check box next to the disk, and then click OK
  4. Restart [not sure if this is necessary, but jic]
  5. Turn on System Protection for each hard disk by selecting the check box next to the disk, and then click OK.
Did this help?
-solon fox
 

My Computer

I tried that... It did not add the triggers back to the task scheduler.

I don't know why a "system restore" failed. It might be because a removable drive was either present or missing when the latest restore point was created.

It doesn't sound like creating the triggers are easy, at least I failed. I do have a plan but it will take a few hours so I thought creating them would only take a few minutes if I could figure it out.

I have created several scheduled tasks but not in the MS task library.

There is lots of information on how to change the triggers, I could find nothing on how to create a trigger for SR.
 

My Computer

Well, there is a way to export it, so there must be a way to import? :sarc:

Here is what the exported system restore trigger looks like:
<?xml version="1.0" encoding="UTF-16"?>
<Task version="1.2" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task">
<RegistrationInfo>
<Source>Microsoft Corporation</Source>
<Author>Microsoft Corporation</Author>
<Description>This task creates regular system protection points.</Description>
<URI>Microsoft\Windows\SystemRestore\SR</URI>
</RegistrationInfo>
<Triggers>
<CalendarTrigger id="SRCalendarTrigger">
<StartBoundary>2005-06-14T00:00:00</StartBoundary>
<Enabled>true</Enabled>
<ScheduleByDay>
<DaysInterval>1</DaysInterval>
</ScheduleByDay>
</CalendarTrigger>
<BootTrigger id="SRBootTrigger">
<Enabled>true</Enabled>
<Delay>PT30M</Delay>
</BootTrigger>
</Triggers>
<Principals>
<Principal id="LocalSystem">
<UserId>SYSTEM</UserId>
<RunLevel>LeastPrivilege</RunLevel>
</Principal>
</Principals>
<Settings>
<IdleSettings>
<Duration>PT10M</Duration>
<WaitTimeout>PT31536000S</WaitTimeout>
<StopOnIdleEnd>false</StopOnIdleEnd>
<RestartOnIdle>false</RestartOnIdle>
</IdleSettings>
<MultipleInstancesPolicy>IgnoreNew</MultipleInstancesPolicy>
<DisallowStartIfOnBatteries>true</DisallowStartIfOnBatteries>
<StopIfGoingOnBatteries>false</StopIfGoingOnBatteries>
<AllowHardTerminate>true</AllowHardTerminate>
<StartWhenAvailable>true</StartWhenAvailable>
<RunOnlyIfNetworkAvailable>false</RunOnlyIfNetworkAvailable>
<AllowStartOnDemand>true</AllowStartOnDemand>
<Enabled>true</Enabled>
<Hidden>false</Hidden>
<RunOnlyIfIdle>true</RunOnlyIfIdle>
<WakeToRun>false</WakeToRun>
<ExecutionTimeLimit>PT72H</ExecutionTimeLimit>
<Priority>7</Priority>
</Settings>
<Actions Context="LocalSystem">
<Exec>
<Command>%windir%\system32\rundll32.exe</Command>
<Arguments>/d srrstr.dll,ExecuteScheduledSPPCreation</Arguments>
</Exec>
</Actions>
</Task>

From what you say, you have tried to add your own triggers back in. I can see why that wouldn't be exactly the same, but... the key elements I see in the above are that the UserId is 'SYSTEM' it might be hard to convince him that you are 'SYSTEM.' :rolleyes:

If there were only an import method.

I'm afraid you might be toast.
:shock:

-solon fox
 

My Computer

Yea... After I started looking for a solution, I realized that it isn't so easy.

I said I had a plan... I usually image my drives after making any major changes, install and software or any Windows updates.

I screwed this up last night and my latest image is from two days ago. So I am going to copy any data files which have changed which it this point should only be my Outlook pst file and my financial data file. Then restore my drive image and copy the data files back.

I typically do a data backup every night via task scheduler but after I screwed things up, I just shut down the computer and left it off till I could find a solution.

The lesson learned here is to stay out of the MS system task library and if you venture in to it, make sure you are not careless as I was. :o

Thanks for the help.
 

My Computer

Hello barryware!

I'm not sure this is what you're looking for... but if it is here you go.

View attachment 4483

I hope this is it!


Later :shock: Ted
 
Last edited:

My Computer

System One

  • Manufacturer/Model
    * BFK Customs *
    CPU
    Intel C2Q 9550 Yorkfield
    Motherboard
    ASUS P5Q Pro
    Memory
    8GB Dominator 8500C5D
    Graphics Card(s)
    XFX ATI 1GB 4870 XXX
    Sound Card
    Realtek HD 7-1
    Monitor(s) Displays
    1x 47" LCD HDMI & 2x 26" LCD HDMI
    Screen Resolution
    1920x1080P & 1920x1200
    Hard Drives
    2x 500GB 7200RPM 32MB Cache WD Caviar Black
    PSU
    Corsair 620HX
    Case
    CM Cosmos RC-1000
    Cooling
    Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
    Keyboard
    HP Enhansed Multimedia
    Mouse
    Razer Diamondback 3G
    Internet Speed
    18.6Mb/s
    Other Info
    My First Build ;)
Hello...

After I looked closer solonfox had it!

solonfox said:
<Command>%windir%\system32\rundll32.exe</Command>
<Arguments>/d srrstr.dll,ExecuteScheduledSPPCreation</Arguments>

Here's where it goes...

View attachment 4484



Later :shock: Ted
 
Last edited:

My Computer

System One

  • Manufacturer/Model
    * BFK Customs *
    CPU
    Intel C2Q 9550 Yorkfield
    Motherboard
    ASUS P5Q Pro
    Memory
    8GB Dominator 8500C5D
    Graphics Card(s)
    XFX ATI 1GB 4870 XXX
    Sound Card
    Realtek HD 7-1
    Monitor(s) Displays
    1x 47" LCD HDMI & 2x 26" LCD HDMI
    Screen Resolution
    1920x1080P & 1920x1200
    Hard Drives
    2x 500GB 7200RPM 32MB Cache WD Caviar Black
    PSU
    Corsair 620HX
    Case
    CM Cosmos RC-1000
    Cooling
    Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
    Keyboard
    HP Enhansed Multimedia
    Mouse
    Razer Diamondback 3G
    Internet Speed
    18.6Mb/s
    Other Info
    My First Build ;)
Thanks to everyone for the help... I did follow my plan as posted so now I restored my drive image, restored changed files since the image (however I forgot about iTunes).

Life is good. Thanks to everyone who contributed. Very good information which I haved saved for the next time I prove to the world... I am an idiot :o
 

My Computer

Hello barryware.

Don't feel bad 'experimenting' there also cost me a re-install... :rolleyes:


Later :shock: Ted
 

My Computer

System One

  • Manufacturer/Model
    * BFK Customs *
    CPU
    Intel C2Q 9550 Yorkfield
    Motherboard
    ASUS P5Q Pro
    Memory
    8GB Dominator 8500C5D
    Graphics Card(s)
    XFX ATI 1GB 4870 XXX
    Sound Card
    Realtek HD 7-1
    Monitor(s) Displays
    1x 47" LCD HDMI & 2x 26" LCD HDMI
    Screen Resolution
    1920x1080P & 1920x1200
    Hard Drives
    2x 500GB 7200RPM 32MB Cache WD Caviar Black
    PSU
    Corsair 620HX
    Case
    CM Cosmos RC-1000
    Cooling
    Tuniq Tower 120, 2x 140mm and 3x 120mm case fans
    Keyboard
    HP Enhansed Multimedia
    Mouse
    Razer Diamondback 3G
    Internet Speed
    18.6Mb/s
    Other Info
    My First Build ;)
Back
Top