Pagine

Tips - How to execute shortcut with Administrative rights

If you have to launch a shortcut (referring to an application) with Administrative rights you could proceed in this way:

  1. Enable UAC. (without UAC you have to create a proper scheduled task that execute program with Administrative rights)
  2. Enable Administrator local account and define password.
  3. Create a New desktop shortcut including below text (be aware changing clientname, Administrator, and x:\yyy\zzz.exe) with your details:
    runas /user:ClientName\Administrator /savecred “x:\yyy\zzz.exe



[referral Articles]

Avviare programmi come admin senza password

Auto login su macchina windows giĆ  appartenente a dominio

Create Administrator Mode Shortcuts Without UAC Prompts in Windows 7 or Vista

How To Create a Shortcut That Lets a Standard User Run An Application as Administrator