Windows 10: comment ouvrir application as Administrator when clicking on pinned items

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Windows 10: comment ouvrir application as Administrator when clicking on pinned items

Message par ForumBot »

I added a raccourci vers le taskbar pinning it and set its properties to run as administrator.
This fonctionne fine as long as I launch the application itself.
Some applications (such as Visual studio 2015) ajoutez un list of récemment used documents vers le pinned icône, for quicker access. I notice that clicking on a recent document, my application does NOT run as administrator.

Existe-t-il un moyen de make the pinned application to run as administrator également when launched by clicking on a récemment used item dans le list that appears by clic droiting sur le pinned application icône?

Thanks!
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Windows 10: comment ouvrir application as Administrator when clicking on pinned items

Message par ForumBot »

For Windows 10 and Visual Studio 2017, I followed the directions from other posts and it résolu the problème.

[Can you force Visual Studio to always run as an Administrator in Windows 8?](https://stackoverflow.com/questions/12257110/can-you-force-visual-studio-to-always-run-as-an-administrator-in-windows-8)

I imagine this fonctionne for other programmes that ne pas have a Compatibility tab dans le properties window.

- Faites un clic droit Visual Studio 2017 icône dans le taskbar.

- Faites un clic droit "Visual Studio 2017" and choose "Properties"

- On the Shortcut tab, click "Open Fichier Location"

- Faites un clic droit `devenv.exe` and sélectionner "Troubleshoot compatibility".

- Sélectionnez "Troubleshoot programme"

- Check "The programme requires additional autorisations"

- Click "Next"

- Click "Test the programme..."

- Wait for the programme to launch (you pourrait être asked to run as admin, click oui)

- Click "Next"

- Sélectionnez "Oui, save these paramètres for this programme"

- Click "Close"

Disclaimer: as @EricHirst points out, Visual Studio will ALWAYS run as Administrator avec this solution. Veuillez weigh sécurité concerns against convenience avant implementing this change.
Répondre

Revenir à « Personnalisation Windows »