System Restore Point : Create at System Startup

Page 16 of 16 FirstFirst ... 6141516

  1. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #150

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


  2. Posts : 9
    Windows 10 Pro
       #151

    Brink said:
    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 Computer


  3. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #152

    The password is to be able to run the task with elevated rights.
      My Computer


  4. Posts : 9
    Windows 10 Pro
       #153

    Brink said:
    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 Computer


  5. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #154

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

    Log On Automatically at Startup
      My Computer


  6. Posts : 9
    Windows 10 Pro
       #155

    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 Computer


  7. Posts : 72,043
    64-bit Windows 11 Pro for Workstations
       #156

    I'm glad to hear that you got it sorted. :)
      My Computer


  8. Posts : 8
    Windows 7 Home Premium 64 bit
       #157

    Thank you so very, very much!
    That tutorial was awesome!
    I posted this question years ago and somehow got things working - however I've gone through at least 1 HD since then, and now (9/21/18) when I checked - sure enough, it's not creating restore points automatically anymore.
    I worked up the nerve to follow your tutorial and, VOILA!, you did it, that turned the trick - now it does it - thanks to you.
    I searched and searched, spent hours reading all the posts - then I found yours.
    A marvelous solution. Now I can go back to sleep (it's 3:30 AM).

    Humbly,
    MrBear
      My Computer


 
Page 16 of 16 FirstFirst ... 6141516

  Related Discussions
Our Sites
Site Links
About 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 10:50.
Find Us