Run the application with administrative rights when you log on to Windows
If you want the application to run after Windows logon, you can put a shortcut for the exe file in the "Startup" folder to run it automatically, but it will not be executed with administrator privileges. If you want the application to start automatically with administrator rights after logging on to Windows, use the Task Scheduler.
Start the task scheduler first. The method of booting varies depending on the OS, so please refer to the following.
Windows Vista Windows 7 |
|
Windows 8 |
|
When the task scheduler starts, select Create Basic Task from the Actions menu on the right side of the window.
The name and description should be arbitrary, depending on what you want to do.
Check the task trigger at logon.
For "Operation", check "Start program".
"Start program" specifies the file path of exe etc. to be executed at logon to "program/script". The argument should be set arbitrarily by the application.
After you create a task, select Task Scheduler Library from the tree on the left and see if the task you just created is in the middle list. If not, select "Refresh" from the operation list on the right. Double-click the task you created to open its properties.
After opening the properties, check "Run with top privileges" under the "General" tab and confirm with the OK button.
After creating the task, please log on again and check that it actually works.
Even if you create a task from "Create Task" instead of "Create Basic Task", there is no difference in what you can set just by displaying the advanced settings from the beginning. You can think of "Create Basic Task" as a wizard format, and "Create Task" as an advanced format.