Run the application with administrative rights when you log on to Windows
If you want the application to run after you log on to Windows, it will run automatically if you put a shortcut for the exe file in the Startup folder, but it will not run with administrative privileges. If you want your application to automatically start with administrative rights after you log on to Windows, use task scheduler.
First, start the task scheduler. How to start up depends on the OPERATING system, see below.
When the Task Scheduler starts, select Create Basic Task from the Actions menu on the right side of the window.
You should include the name and description in any way that you want to do.
Check the task trigger on logon.
"Operation" is checked for "Start program".
Start Program specifies the file path, such as exe, to run when you log on to Program/Script. The arguments should be arbitrarily set by the application.
After you create the task, select Task Scheduler Library from the tree on the left to see if there are any tasks that you just created in the center list. If not, select "Refresh" from the right action list. Double-click the task you created to open the property.
Once you have opened the property, check "Run with top privilege" under the General tab and confirm with the OK button.
After you create the task, log back on to see if it actually works.
Even if you create a task from Create A Task rather than create a basic task, there is no difference in what you can set with only advanced settings from the beginning. You can think of Create Basic Task as a wizard format, and Create Task as an advanced setting.