Windows 10: The file cannot be run at system startup but can be run manually. Solved

  1.    10 Dec 2016 #1

    The file cannot be run at system startup but can be run manually.

    I need to use Task Scheduler to run a .vbs file with highest privileges at system startup.
    The following are my settings. The file is not run at system startup but can be run manually in Task Scheduler. Can anyone help?

    Click image for larger version. 

Name:	?? 1.jpg 
Views:	2 
Size:	199.0 KB 
ID:	113061Click image for larger version. 

Name:	?? 2.jpg 
Views:	1 
Size:	125.9 KB 
ID:	113062Click image for larger version. 

Name:	?? 3.jpg 
Views:	1 
Size:	105.7 KB 
ID:	113063
      My ComputerSystem Spec

  2. Brink's Avatar
    Posts : 33,212
    64-bit Windows 10 Pro build 18262
       10 Dec 2016 #2

    Hello Mathew, :)

    You might see if using cmd in the Program/script field instead may work better to run the .exe file for SpeedFan in the "Add arguments" field.

    If that still doesn't help, then you could use the method in the tutorial below to create an elevated shortcut of SpeedFan, and place that elevated shortcut in your Startup folder.
      My ComputersSystem Spec

  3.    10 Dec 2016 #3

    I have to run a .vbs file, which includes other codes besides those to run speedfan.exe.
      My ComputerSystem Spec

  4.    10 Dec 2016 #4

    I just found a simple solution: set 'Delay task for' to 1 second under 'Advanced settings'.
    The .vbs file is now run at system startup. I think it is a bug in Task Scheduler because the same problem existed in the following cases:
    Solved Can't Get Task Scheduler To Start a programme on log-on/Startup - Windows 10 Forums
    Solved How to run a program in task scheduler? - Windows 10 Forums
    Autolaunch a program on startup? - Windows 10 Forums
      My ComputerSystem Spec

  5. Brink's Avatar
    Posts : 33,212
    64-bit Windows 10 Pro build 18262
       11 Dec 2016 #5

    Great find.
      My ComputersSystem Spec


Related Threads
Hi all, Here is a critical problem i have faced. I have inserted my pendrive in an laptop with OS X. As it was in ntfs format the data were shown but writting into this couldn't be done. So I format it to exfat format to get some data. When I...
Hi All, my major issue so far with Win10 is that no matter what i do, a program will not start when i login. i am using say the time and I have done everything from changing the compatibility (check the run as admin) to adding a task scheduler job...
I'm having a set of problems that I can't find an answer for. 1. After choosing the "shutdown" command, the computer stays on the blue "the system is shutting down" screen forever--two days or more--until I hold down the power button for several...
Solved Can File History be done manually in Backup and Restore
Is it possible to run File History manually at a time to suit. Ideally I would like to run it once a week, but find there is no option for that under the advanced settings. I don't really want to keep the external drive I'm using for this...
Hello everybody, I need help on how to install manually a patch which seems to be quite essential to upgrade my 16gb tablet to the 1511 build of windows 10: the patch is KB3124260 and I downloaded manually the .cab file from the official...
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 09:11.
Find Us