Last active
December 20, 2021 11:45
-
-
Save krabs-github/ecd033ad8653f9e2e953264919625262 to your computer and use it in GitHub Desktop.
[VBS - Set VBScript to Run at Startup] VBS - Set VBScript to Run at Startup #VBScript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
schtasks /create /sc ONLOGON /tn "name" /tr "cscript.exe C:\path\to\your.vbs" | |
schtasks /create /sc onstart /tn "name" /tr "cscript.exe C:\path\to\your.vbs" /ru SYSTEM | |
https://docs.microsoft.com/en-us/windows-server/administration/windows-commands/schtasks-create |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment