Launching a startup program to run as administrator
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/
Leave Launching a startup program to run as administrator to:
Read more #technology posts
Best Posts From Chris Titus
We have not curated any of christitus's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.
More Posts From Chris Titus
- Resize LVM Partition | Fedora 29 | Step by Step Guide
- Grant Full Access to all Public Folders for a user in Exchange
- Force active directory sync to Office 365 with Azure ADSync
- Create Swap file on Cloud VM (AWS, GCloud, or Azure)
- Cloud migration hosting in Google, Amazon, or Microsoft
- Launching a startup program to run as administrator
- Troubleshooting Nagios 4 Core Installation
- Changing file permissions using PowerShell
- Commiting Changes to Docker images and containers
- No System Reserved Partition, Boot device not found, corrupt BCD / MBR