This HP Community is for Customer to Customer Product Support. First Time Here? Check Out Videos on How to Search, Register, Post and More.

Re: Scheduling System Protection (Backup/Restore Points) (165 Views)
Reply
Tutor
jarhtmd
Posts: 89
Registered: ‎03-21-2010
Message 81 of 97 (187 Views)

Re: Scheduling System Protection (Backup/Restore Points)

David,

 

1st off, I was a little confused with the Notepad SaveAs & then cut/paste instructions,so I did a SaveAs directly into the new Desktop folder.  Then came more confusion with the "Encoding" choices.  Using "Save as type: all files(*.*)" I saved 4 separate .vbs files . . . 1 for each choice; ANSI, Unicode, Unicode_big_endia, UTF-8".  None worked.  All produced an error.

 

2011-04-28-11b SaveAS Encoding choices.JPG

 

2011-04-28-12b XQT ANSI.JPG

 

2011-04-28-12c XQT Unicode.JPG

 

2011-04-28-12d XQT Unicode_big_endia.JPG

 

2011-04-28-12e XQT UTF-8.JPG

 

 

Please use plain text.
Provost
DavidPK
Posts: 23,383
Registered: ‎09-24-2010
Message 82 of 97 (186 Views)

Re: Scheduling System Protection (Backup/Restore Points)

Hi Jim,

 

My mistake, the options you need to enter/select are highlighted in the screenshot below - you can leave the encoding options alone.  Then click Save.

 

Save as.PNG

 

Regards,

 

DP-K

---------------------------------------------------------------------------

****Click the White Kudos star to say thanks****
****Please mark Accept As Solution if it solves your problem****


Microsoft MVP - Microsoft Windows Expert - Consumer

Please use plain text.
Tutor
jarhtmd
Posts: 89
Registered: ‎03-21-2010
Message 83 of 97 (178 Views)

Re: Scheduling System Protection (Backup/Restore Points)

David,

 

It was my assumption that "all files" should be used after the message of some unicode characters will be lost. 

 

A couple of times, after saving as you instructed, I got Instant_Restore_Point.TXT (not .vbs).  Of course, clicking on that opened my default text editor.

 

Finally, I got it saved with the correct name (obviously, I did something differently), but it doesn't run.

Line:     5

Char:    5

Error:    0x80041021

Code:   80041021

Source: (null)

 

Jim

 

 

Please use plain text.
Provost
DavidPK
Posts: 23,383
Registered: ‎09-24-2010
Message 84 of 97 (171 Views)

Re: Scheduling System Protection (Backup/Restore Points)

Hi Jim,

 

This is an error arising from the copy and paste of the script from the webpage to notepad.  Try copying the script from the webpage again - start with the cursor as close to the first character and drag it to just after the last, then copy the highlighted section.

 

This is a bit awkward, the first time I tried it I got an error when executing the script, the second time the copy and paste worked fine and the script worked.

 

Regarding why notepad may be playing up saving the script with the correct extension - if the Save as type box already has Text Document .txt, do not do anything to it, just delete the *.txt in the File Name box and type in Instant_Restore_Point.vbs and click Save.

 

While you're trying this, I'll look into anther way of creating this script that doesn't involve downloading it in case you can't get this to work.

 

Regards,

 

DP-K

---------------------------------------------------------------------------

****Click the White Kudos star to say thanks****
****Please mark Accept As Solution if it solves your problem****


Microsoft MVP - Microsoft Windows Expert - Consumer

Please use plain text.
Tutor
jarhtmd
Posts: 89
Registered: ‎03-21-2010
Message 85 of 97 (165 Views)

Re: Scheduling System Protection (Backup/Restore Points)

David,

 

I can't get it to work.  I tried copy/paste several ways . . . carefully, immediately before 1st & after last characters . . . copying everything, including the "------------" lines before & after and then in Notepad removing everything before the 1st "if" and after the "End If" . . . I then tried copying all except the 1st & last letters, but it would always select the complete (all words) of the script.  None of these attempts worked.

 

I can't remember if I've posted this info . . . when doing SaveAs from Notepad:

 

"This file contains characters in Unicode format which will be lost if you save this file as an ANSI encoded text file.  To keep the Unicode information, click Cancel below and then select one of the Unicode options from the Encoding drop down list.  Continue?  Of course, after my initial attempts, I've always clicked "OK" here.

 

Jim

Please use plain text.
Provost
DavidPK
Posts: 23,383
Registered: ‎09-24-2010
Message 86 of 97 (162 Views)

Re: Scheduling System Protection (Backup/Restore Points)

Hi Jim,

 

Tyr this.  Download the original zipped file again.  When downloaded, cut and paste it to your Desktop

 

http://www.sevenforums.com/attachments/tutorials/1587d1229329120-system-restore-point-shortcut-insta...

 

Right click the zipped file and select Properties, then click Unblock, click Apply and Ok.  Look at the properties again - does it appear to have 'Unblocked' successfully - ie you can no longer see the option to Unblock.

 

Regards,

 

DP-K

---------------------------------------------------------------------------

****Click the White Kudos star to say thanks****
****Please mark Accept As Solution if it solves your problem****


Microsoft MVP - Microsoft Windows Expert - Consumer

Please use plain text.
Tutor
jarhtmd
Posts: 89
Registered: ‎03-21-2010
Message 87 of 97 (159 Views)

Re: Scheduling System Protection (Backup/Restore Points)

David,

 

Yes, it appears to have been "unblocked".

 

Jim

 

Please use plain text.
Provost
DavidPK
Posts: 23,383
Registered: ‎09-24-2010
Message 88 of 97 (158 Views)

Re: Scheduling System Protection (Backup/Restore Points)

Hi Jim,

 

Ok, now right click this folder, select 7-Zip, select Extract Files and click Ok ( if you're using 7-Zip ).  Open the newly extracted folder, open the Instant_Restore_Point folder and double click the script - click Ok to the UAC prompt and then wait a couple of minutes before launching System Restore and checking to see if this has successfully created a Restore Point.

 

Let me know if this has worked.

 

Regards,

 

DP-K

---------------------------------------------------------------------------

****Click the White Kudos star to say thanks****
****Please mark Accept As Solution if it solves your problem****


Microsoft MVP - Microsoft Windows Expert - Consumer

Please use plain text.
Tutor
jarhtmd
Posts: 89
Registered: ‎03-21-2010
Message 89 of 97 (150 Views)

Re: Scheduling System Protection (Backup/Restore Points)

David

 

Yes, it successfully created a restore point.

 

Jim

Please use plain text.
Provost
DavidPK
Posts: 23,383
Registered: ‎09-24-2010
Message 90 of 97 (145 Views)

Re: Scheduling System Protection (Backup/Restore Points)

Hi Jim,

 

Ok, now cut the Instant_Restore_Point folder containing the script and paste it in your Program Files folder - you will probably need to click Continue to the UAC prompt.  Once it is pasted here, close the window.

 

Now open Task Scheduler, open the task you have already created to run this script and edit the Trigger time so that the task should run in 5 minutes time ( or whatever you choose ).  Click Ok and Ok again, close the Task Scheduler window and wait for a couple of minutes after the task was set to run.  Then launch System Restore and check that it actually has created a Restore Point.

 

Fingers crossed :smileyhappy:

 

Regards,

 

DP-K

---------------------------------------------------------------------------

****Click the White Kudos star to say thanks****
****Please mark Accept As Solution if it solves your problem****


Microsoft MVP - Microsoft Windows Expert - Consumer

Please use plain text.