Windows Vista Forums
Vista Forums Home Join Vista Forums Donate Vista Tutorials Tags

Welcome to Vista Forums we are your forum to discuss Windows Vista x64 and x86 systems. Whether you need help or just want to post an idea you have on Vista, this is the forum for you.
Register at Vista forums...the world biggest Windows Vista resource Join Vista Forums Now

Go Back   Vista Forums > Vista Forums > General Discussion

Deleted System Restore Triggers

Reply
 
Thread Tools Display Modes
Old 06-12-2008   #1 (permalink)
Junior Member
barryware is on a distinguished road
 
Join Date: May 2008
Vista Home Premium 32 bit
Posts: 23

Deleted System Restore Triggers

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.
barryware is offline   Reply With Quote
Old 06-12-2008   #2 (permalink)
Member
solonfox is on a distinguished road
 
solonfox's Avatar
 
Join Date: Jun 2008
Vista Ultimate 32bit
Posts: 44

Re: Deleted System Restore Triggers

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. Click the image to open in full size. 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
solonfox is offline   Reply With Quote
Old 06-12-2008   #3 (permalink)
Junior Member
barryware is on a distinguished road
 
Join Date: May 2008
Vista Home Premium 32 bit
Posts: 23

Re: Deleted System Restore Triggers

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.
barryware is offline   Reply With Quote
Old 06-12-2008   #4 (permalink)
Member
solonfox is on a distinguished road
 
solonfox's Avatar
 
Join Date: Jun 2008
Vista Ultimate 32bit
Posts: 44

Re: Deleted System Restore Triggers

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

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.'

If there were only an import method.

I'm afraid you might be toast.


-solon fox
solonfox is offline   Reply With Quote
Old 06-12-2008   #5 (permalink)
Junior Member
barryware is on a distinguished road
 
Join Date: May 2008
Vista Home Premium 32 bit
Posts: 23

Re: Deleted System Restore Triggers

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.

Thanks for the help.
barryware is offline   Reply With Quote
Old 06-12-2008   #6 (permalink)
Technophile Wannabe

Bare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant future
 
Bare Foot Kid's Avatar
 
Join Date: Feb 2008
Home Premium SP1
Posts: 942

Location: The Lowcountry
Re: Deleted System Restore Triggers

Hello barryware!

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

Attachment 4483

I hope this is it!


Later Ted

Last edited by Bare Foot Kid; 06-22-2008 at 05:58 PM.

Please post back with the outcome. - So others (and I) can learn from the experience!
Jesus loves you just the way you are! You're welcome to visit my site: HERE
Bare Foot Kid is offline   Reply With Quote
Old 06-12-2008   #7 (permalink)
Technophile Wannabe

Bare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant future
 
Bare Foot Kid's Avatar
 
Join Date: Feb 2008
Home Premium SP1
Posts: 942

Location: The Lowcountry
Re: Deleted System Restore Triggers

Hello...

After I looked closer solonfox had it!

Quote:
solonfox
<Command>%windir%\system32\rundll32.exe</Command>
<Arguments>/d srrstr.dll,ExecuteScheduledSPPCreation</Arguments>
Here's where it goes...

Attachment 4484



Later Ted

Last edited by Bare Foot Kid; 06-22-2008 at 05:58 PM.

Please post back with the outcome. - So others (and I) can learn from the experience!
Jesus loves you just the way you are! You're welcome to visit my site: HERE
Bare Foot Kid is offline   Reply With Quote
Old 06-12-2008   #8 (permalink)
Junior Member
barryware is on a distinguished road
 
Join Date: May 2008
Vista Home Premium 32 bit
Posts: 23

Re: Deleted System Restore Triggers

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
barryware is offline   Reply With Quote
Old 06-13-2008   #9 (permalink)
Technophile Wannabe

Bare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant futureBare Foot Kid has a brilliant future
 
Bare Foot Kid's Avatar
 
Join Date: Feb 2008
Home Premium SP1
Posts: 942

Location: The Lowcountry
Re: Deleted System Restore Triggers

Hello barryware.

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


Later Ted

Please post back with the outcome. - So others (and I) can learn from the experience!
Jesus loves you just the way you are! You're welcome to visit my site: HERE
Bare Foot Kid is offline   Reply With Quote
 
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
System Restore: do restore points persist after a restore? Qu0ll Vista General 3 04-12-2008 08:36 AM
I think system restore deleted lots of my cs files on Vista Ultimate Dave Vista file management 10 10-29-2007 02:01 PM
I think system restore deleted lots of my cs files on Vista Ultimate Dave Vista General 9 10-28-2007 10:06 AM
System restore deleted a file. Harpreet Vista performance & maintenance 1 08-18-2007 08:54 AM
system restore not creating system restore everyday GT Vista General 3 02-22-2007 06:25 PM








Vistax64.com is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media 2005-2008

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49