Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: System Restore Point : Create at System Startup

28 Aug 2016   #150
Brink

64-bit Windows 10 Pro
 
 

Checking "Do not store password" could be the reason why the task is not working.


My System SpecsSystem Spec
.
28 Aug 2016   #151
kitpzyxmsir

Windows 10 Pro
 
 

Quote   Quote: Originally Posted by Brink View Post
Checking "Do not store password" could be the reason why the task is not working.
Forgive me for being so persistent about this, but is there something unique about that particular script, that it should require a password, or do all VBS scripts require a password when used with the task scheduler?

Can you think of a reason why this method of disabling the UAC works for other files, but not for VBS scripts (at least in my case).

Could it possibly have something to do with windows 10 itself? Have you had sucesss running this method for VBS on Windows 10?
My System SpecsSystem Spec
28 Aug 2016   #152
Brink

64-bit Windows 10 Pro
 
 

The password is to be able to run the task with elevated rights.
My System SpecsSystem Spec
09 Sep 2016   #153
kitpzyxmsir

Windows 10 Pro
 
 

Quote   Quote: Originally Posted by Brink View Post
The password is to be able to run the task with elevated rights
When the script is "run only when the user is logged on", on a time schedule trigger, not at startup, it works as designed.

Using this method, the Task Scheduler does not require a password to run it with elevated rights.

But, when a vbscript is run "whether the user is logged on or not", at startup, a user password must be established.

Am I wrong in assuming that creating a password will have the residual effect of producing a login screen at startup? Or can it be configured not to do so?
My System SpecsSystem Spec
.

09 Sep 2016   #154
Brink

64-bit Windows 10 Pro
 
 

You're correct, but you can set Windows to automatically log on to your account at startup.

Log On Automatically at Startup
My System SpecsSystem Spec
17 Sep 2016   #155
kitpzyxmsir

Windows 10 Pro
 
 

Hi Brink,

Before I continue, a couple things I discovered that you might consider adding to the tutorial.

First, my system contains two, different sized, crscript.exe files. The problem is that, for whatever reason, the Scheduled Task will work with one, but not the other. So if your task is unsuccessful, this might be the reason. You may need to try both.

Also, I just did the 1607 Anniversary update, and the I.D. of the crscript.exe files were changed, thus rendering the information in the Task Scheduler “PROGRAM/SCRIPT” field invalid. I don't know how vulnerable this method using crscript.exe is to random updates, but it is something to keep in mind.

However, I found a great alternative method for running a vbscript at startup with no UAC that eliminates the issues with the current tutorial method, no password required, and also has the tiny added benefit of no momentary dos window popup when the script is run.

How to Create a Daily Restore Point Using Task Scheduler in Windows (All Versions)?


A variation of this method can also be used to manually run vbscripts with no UAC inside windows:

1) MOVE THE VBSCRIPT TO BE USED TO C\:WINDOWS
2) OPEN TASK SCHEDULER
2) ON THE “GENERAL” TAB, USE “RUN ONLY WHEN USER IS LOGGED ON”
3) CHECK "RUN WITH HIGHEST PRIVILEGES"
4) SELECT "CONFIGURE FOR WINDOWS 10" (OR YOUR OPERATING SYSTEM)
5) “ACTIONS” TAB > SELECT "NEW" > IN “PROGRAM/SCRIPT” FIELD ENTER “C:\Windows\System32\Wscript.exe” (NO QUOTES)
6) IN “ADD ARGUMENTS (OPTIONAL)” ENTER “FULL PATH OF VBSCRIPT” (NO QUOTES) THAT WAS MOVED TO C:\Windows (EXAMPLE: C:\Windows\automatic_restore_point.vbs), CLICK OK
7) CLOSE TASK SCHEDULER

Thanks for the help and pointing me in the right direction.
My System SpecsSystem Spec
17 Sep 2016   #156
Brink

64-bit Windows 10 Pro
 
 

I'm glad to hear that you got it sorted.
My System SpecsSystem Spec
Reply

 System Restore Point : Create at System Startup




Thread Tools




Similar help and support threads
Thread Forum
System Restore Point - Create
How to Create a System Restore Point in Windows 7 By default in Windows 7 for all drives that System Protection is turned on for, System Protection creates a scheduled restore point only if no other restore points have been created in the last 7 days, and before significant system events such...
Tutorials
Windows 7 Cannot create System Restore Point
I just got done making a clean install on Windows 7 Ultimate 64-bit on a SSD drive. Then I noticed that whenever I was doing a System Update, it would try to create a restore point for many minutes and then give up and proceed with the update. Well, the bottom line is, I can't create a system...
Backup and Restore
Cannot create system restore point (0x80042302)
Been trying for about 3 days to create a restore point but the same message keeps popping up. "A volume shadow copy service component encountered an unexpected error. Check the application even log for more information." I currently have no access to Internet on my laptop and Windows 7...
Backup and Restore
How manually create a system restore point
Can't find how to manually create a system restore point
Backup and Restore
Windows 7 system restore point. Can't create / restore .
Hi Ok I borke world recored for formating windows 7 , the last 2 months . The problem is ; Windows System restore keep freezing , I'm not trying to do system restore , but when I try to install/remove a software , windows try to create restore point , making the installation/removing...
Backup and Restore
How to create a system restore point automatically?
I want to create system restore points everyday or every times the computer start...Does anybody know how to do it?
Backup and Restore


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 23:53.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App