Page 2 of 3 FirstFirst 123 LastLast
  1.    17 Oct 2015 #11
    Join Date : Jan 2015
    UK, Midlands
    Posts : 10,937
    Win 10 Pro (1703)

    As Halasz said earlier:
    You can schedule them through task scheduler as described in method 2 here System Restore Point : Create at System Startup - Windows 7 Help Forums

    Schedule a neat little script to run.
      My ComputerSystem Spec
  2.    09 Nov 2015 #12
    Join Date : Sep 2015
    Posts : 13
    Windows 10

    I have tried to precisely follow the instructions set out in System Restore Point : Create at System Startup - Windows 7 Help Forums, but the Task Scheduler / script is failing to create a restore point:
    • Running the script manually creates a Restore Point.
    • Task Scheduler appears to run the script, but no Restore Point results.

    Click image for larger version. 

Name:	1.jpg 
Views:	10 
Size:	23.8 KB 
ID:	47075
    (The Last Run Result code 0x41301 indicates "The task is already running".)

    The Task Scheduler settings are as follows:
    Click image for larger version. 

Name:	2.jpg 
Views:	55 
Size:	92.1 KB 
ID:	47077

    Click image for larger version. 

Name:	3.jpg 
Views:	55 
Size:	62.2 KB 
ID:	47078

    Click image for larger version. 

Name:	4.jpg 
Views:	55 
Size:	38.2 KB 
ID:	47079

    Click image for larger version. 

Name:	5.jpg 
Views:	55 
Size:	83.7 KB 
ID:	47080

    Click image for larger version. 

Name:	6.jpg 
Views:	55 
Size:	77.8 KB 
ID:	47081

    I would be grateful for any suggestions as to why the restore points are not being created.
    Attached Thumbnails Attached Thumbnails 2015_11_09_13_18_521.png  
      My ComputerSystem Spec
  3.    09 Nov 2015 #13
    Join Date : Jan 2015
    UK, Midlands
    Posts : 10,937
    Win 10 Pro (1703)

    Hi, not sure- not had a problem with this.
    Do you have UAC on? If so, try with it switched off.
    Does the name of your vbs script match with what is in your schedule?
    You say running the vbs manually creates a restore point - I assume you mean by d clicking the vbs file.
    Have you tried running the scheduled task manually? (Not 100% clear you have from above). (rt click scheduled task name, run)

    Desperation:
    Try inserting a dummy entry in the scheduled task Action - say Wordpad.exe and try running the scheduled task manually.
      My ComputerSystem Spec
  4.    09 Nov 2015 #14
    Join Date : Sep 2015
    Posts : 13
    Windows 10

    Hi. Thank you for the response.
    Quote Originally Posted by dalchina View Post
    Do you have UAC on? If so, try with it switched off.
    Yes.

    Quote Originally Posted by dalchina View Post
    Does the name of your vbs script match with what is in your schedule?
    Yes. (I browsed to it.)

    Quote Originally Posted by dalchina View Post
    You say running the vbs manually creates a restore point - I assume you mean by d clicking the vbs file.
    Yes.

    Quote Originally Posted by dalchina View Post
    Have you tried running the scheduled task manually? (Not 100% clear you have from above). (rt click scheduled task name, run)
    Yes. The task "runs", but no restore point is created (ie. identical result to the scheduled run).

    Quote Originally Posted by dalchina View Post
    Try inserting a dummy entry in the scheduled task Action - say Wordpad.exe and try running the scheduled task manually.
    I've tried this. Wordpad appears under Task Manager, but does not open a window.
      My ComputerSystem Spec
  5.    09 Nov 2015 #15
    Join Date : Jan 2015
    UK, Midlands
    Posts : 10,937
    Win 10 Pro (1703)

    Hi, that's strange. I've just set up a basic task launching wordpad.exe, and a normal window appears.
    If you can find another scheduled task you can run manually and then see the result, try it..
    Noted your task is not being run hidden.

    Here are my schedule settings.
    Click image for larger version. 

Name:	Snap 2015-11-09 at 17.47.57.jpg 
Views:	53 
Size:	49.6 KB 
ID:	47133Click image for larger version. 

Name:	Snap 2015-11-09 at 17.48.12.jpg 
Views:	53 
Size:	32.9 KB 
ID:	47134Click image for larger version. 

Name:	Snap 2015-11-09 at 17.49.18.jpg 
Views:	53 
Size:	34.4 KB 
ID:	47135Click image for larger version. 

Name:	Snap 2015-11-09 at 17.49.31.jpg 
Views:	54 
Size:	42.2 KB 
ID:	47136
      My ComputerSystem Spec
  6.    09 Nov 2015 #16
    Join Date : Jul 2015
    Posts : 3,694
    10 Pro

    Quote Originally Posted by Ubtree View Post
    I've tried this. Wordpad appears under Task Manager, but does not open a window.
    .
    Quote Originally Posted by dalchina View Post
    Hi, that's strange. I've just set up a basic task launching wordpad.exe, and a normal window appears.
    The difference is the "run whether user is logged on or not" setting. This means it will not open a window but run task as a service. That being so both are acting correctly (for wordpad).

    Don't know why the script wouldn't work from task scheduler. You unblocked it right?
      My ComputerSystem Spec
  7.    09 Nov 2015 #17
    Join Date : Sep 2015
    Posts : 13
    Windows 10

    Thank you for the postings, dalchina and halasz.
    Quote Originally Posted by halasz View Post
    Don't know why the script wouldn't work from task scheduler. You unblocked it right?
    Yes, I did unblock it.

    Quote Originally Posted by halasz View Post
    .The difference is the "run whether user is logged on or not" setting. This means it will not open a window but run task as a service. That being so both are acting correctly (for wordpad).
    I hadn't realised that "run whether user is logged on or not" setting would cause the program to runs as service, and not open a window. I've therefore changed the setting for both Wordpad and the script. Wordpad now opens, but when Task Scheduler tries to run the script, the message "How do you want to open this file?" appears. Is the problem that Task Scheduler, on my PC, doesn't know how to run a script?
      My ComputerSystem Spec
  8.    09 Nov 2015 #18
    Join Date : Jul 2015
    Posts : 3,694
    10 Pro

    What do you get if you right click on the script and select open with? Something like this?

    Click image for larger version. 

Name:	Untitled.png 
Views:	1 
Size:	80.9 KB 
ID:	47163
      My ComputerSystem Spec
  9.    09 Nov 2015 #19
    Join Date : Sep 2015
    Posts : 13
    Windows 10

    Quote Originally Posted by halasz View Post
    What do you get if you right click on the script and select open with? Something like this?
    No, there is no default program, and Microsoft Windows Based Script Host does not appear.
    Is wscript.exe the program for Microsoft Windows Based Script Host? I've searched the Windows volume, and the program appears in 2 different folders:
    Click image for larger version. 

Name:	7.jpg 
Views:	8 
Size:	61.4 KB 
ID:	47166

    Is this something that I need to install?
      My ComputerSystem Spec
  10.    09 Nov 2015 #20
    Join Date : Jul 2015
    Posts : 3,694
    10 Pro

    You shouldn't have to install it as far as I know. I also have it in System32 and SysWOW64 directories.

    As a workaround you could make a batch file Something.bat and put the line cscript /nologo C:\Path\to\file.vbs (assuming you have cscript.exe) and schedule that instead.

    Why wscript is not there is another matter. You could try sfc /scannow and see if it replaces it. Otherwise you may have to do a repair install.
      My ComputerSystem Spec

 
Page 2 of 3 FirstFirst 123 LastLast


Similar Threads
Thread Forum
Customization Create System Restore Point shortcut in Windows 10
How to Make a Create System Restore Point Shortcut in Windows 10 System protection (if turned on) is a feature that allows you to perform a system restore that takes your PC back to an earlier point in time, called a system restore point. This...
Tutorials
Performance & Maintenance Create System Restore Point in Windows 10
How to Create a System Restore Point in Windows 10 System protection (if turned on) is a feature that allows you to perform a system restore that takes your PC back to an earlier point in time, called a system restore point. This can be handy if...
Tutorials
Extract Restore Point from a System Image Backup
Hi, I'm on Win 10 Pro. I recently made a system image backup to a NETWORK drive using the powershell command admin start backup -backuptarget:\\pc\a\tsb-image-file -include:C: -exclude:c:\users\3\box*,c:\users\3\onedrive,c:\users\3\music...
Backup and Restore
Solved Settings Greyed Out After Using System Restore Point
After restoring my computer back two days using System Restore, I noticed in PC Settings>Personalization>Start>Choose which folders appear on Start, that all the options are greyed out except "Settings". I was wondering if there was a way to fix...
Backup and Restore
System Restore not making restore point before updates.
So why did Microsoft change this? If I remember correctly all previous versions would create a system restore point before doing Microsoft updates. Since 10 installed all updates that come in for me are downloaded and installed without a restore...
Backup and Restore
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:19.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums