4th Street Bar Hive-Bar

Hive-Bar Powered by Hive beta-fdb5b5b

Community post

Launching a startup program to run as administrator

https://www.christitus.com/wp-content/uploads/2017/03/runasadmin.jpg

The following script shows you how to launch a startup program to run as administrator in Windows 10. This fixes many programs that require elevation and you don't want to launch manually every time.

Almost every online tutorial I came across said to run it as a scheduled task. This is very cumbersome and I hate it, however using the following method is easier and saves you time.

Create a Text file in shell:startup and put the following in it.

 Set WshShell = CreateObject("WScript.Shell" ) 
  WshShell.Run chr(34) & "C:\Program Files (x86)\File\Program.exe" & Chr(34), 0 
  Set WshShell = Nothing

Now save the file as ProgramName.vbs

You are done! Reboot and see that program launch.

Leave any Questions and Comments below and I will get back to you. I regularly publish on YouTube, Steemit, and christitus.com so if you’d like to see more videos and articles click the subscribe button.


Posted from my blog: https://www.christitus.com/2017/03/26/run-as-administrator/

3 upvotes $0.00

Replies (1)

Review before signing

Posting as . Signing with . Keychain permission: Posting. Hive Keychain will ask you to approve this action next.


  
Technical details

Operation fingerprint: