I'll try to explain my situation:
I am a developer and use Visual Studio. J'ai toujours want to run Visual Studio en tant qu'administrateuristator. J'ai pinned a shortcut to the task bar and in its properties set it to start Visual Studio en tant qu'administrateur. Cela fonctionne fine.
Quand je clic droit on the pinned shortcut, Je vois a list of recent and pinned solutions. I usually open Visual Studio by clicking one of those pinned solutions.
Quand je click one of those recent or pinned solutions, I do not get a UAC prompt. I remember that before I would always get this (au moins, Je pense I remember).
Is there anything I can do to make Visual Studio run en tant qu'administrateur when I cliquez sur those recent or pinned solutions?
Comment start a program en tant qu'administrateur through a pinned to taskbar shortcut, through one of the "recent" fichiers
Re: Comment start a program en tant qu'administrateur through a pinned to taskbar shortcut, through one of the "recent" fichiers
J'ai trouvé this page by looking for something as trivial as to set up a task bar shortcut to always run **the invite de commandes** en tant qu'administrateur.
Richard's answer will work with programs that are not considered to be part of Windows' install (i.e. Visual Studio here), but probably not for stuff in `C:\Windows\System32` for instance.
Luckily vous pouvez set *Run en tant qu'administrateur* option from the shortcut in this case.
- Faites un clic droit sur the shortcut in your task bar
- Faites un clic droit sur the program's name (say `Command prompt` for instance)
- Cliquez sur `Properties`
- Cliquez sur le `Shortcut` tab
- Cliquez sur le `Advanced...` button
- Vérifiez le `Run as administrator` check box
- Cliquez sur le `OK` button
- Cliquez sur le previous `OK` button
Richard's answer will work with programs that are not considered to be part of Windows' install (i.e. Visual Studio here), but probably not for stuff in `C:\Windows\System32` for instance.
Luckily vous pouvez set *Run en tant qu'administrateur* option from the shortcut in this case.
- Faites un clic droit sur the shortcut in your task bar
- Faites un clic droit sur the program's name (say `Command prompt` for instance)
- Cliquez sur `Properties`
- Cliquez sur le `Shortcut` tab
- Cliquez sur le `Advanced...` button
- Vérifiez le `Run as administrator` check box
- Cliquez sur le `OK` button
- Cliquez sur le previous `OK` button