If you’re a Windows user, you know that it’s easy to start applications in administrator mode. All you need to do is type “administrator” into the Start menu and then click on the “Run as administrator” button. This will open a new window that will ask you for your administrator password. After entering your password, you’ll be able to start the application.
All shortcuts in Windows since Vista have a special property that you can set that will allow the application to run as Administrator. This works perfectly for creating a batch file to restart a service, for instance.
To set this property, just right-click on any shortcut, and click the Advanced button on the Shortcut page to get to the Advanced Properties dialog.
You’ll see a dialog with a checkbox for “Run as administrator”.
From now on, the application will always run as administrator if you use the shortcut to launch it. (You’ll be prompted by UAC if you have it enabled).