Je veux make Windows Terminal toujours open as administrator.
Comment puis-je edit the raccourci behind the icône sur le taskbar to vérifiez le "Run as administrator" option?
J'ai essayé creating a nouveau raccourci to Windows Terminal sur le desktop, and réglez-le sur "Run as administrator". This fonctionne fine, but ensuite when I try to pin it vers le taskbar après running it in an administrator context via the nouveau raccourci, it looses c'est paramètres and ne run as administrator.
Également, it ne let me drag the raccourci depuis le desktop vers le taskbar.
Comment edit the raccourcis behind the icônes sur le taskbar on Windows 11?
Re: Comment edit the raccourcis behind the icônes sur le taskbar on Windows 11?
In the following, "clic droit" refers vers le secondary bouton of your souris. Si vous set your primary bouton to "right", vous devez perform a clic gauche à la place.
- Faites un clic droit le bureau and sélectionner "Nouveau" > "Shortcut".
- Entrez "wt" (sans the quotes) as location and click "Next".
- Choose a name, e.g., "Windows Terminal (Admin)" and click "Finish".
- Faites un clic droit the newly créé raccourci and sélectionner "Properties".
- (Optional) Téléchargez le [icon of Windows Terminal](https://github.com/microsoft/terminal/raw/main/res/terminal.ico), save it somewhere and choose it via "Change icône...".
- Click "Advanced...", check "Run as administrator" and click "OK".
- Enregistrez le raccourci by clicking "Apply" and "OK".
- Faites un clic droit the raccourci sur le desktop, ensuite sélectionner "Show more options" and "Pin to taskbar".
- (Optional) Vous pouvez maintenant supprimez le raccourci sur le desktop. Doing so will not supprimez le raccourci sur le taskbar.
The newly créé raccourci sur le taskbar will toujours launch Windows Terminal as admin.
Important: Assurez-vous to sélectionner "%LocalAppData%\Microsoft\WindowsApps\wt.exe" in step 2. "wt" should automatiquement expand to this target as soon as you hit "Next". Do not choose "%ProgramFiles%\WindowsApps\Microsoft.WindowsTerminal_1.14.2282.0_x64__8wekyb3d8bbwe\wt.exe" parce que this chemin changes avec every Terminal mise à jour. Ceci est également why vous devez téléchargez le icône manuellement.
- Faites un clic droit le bureau and sélectionner "Nouveau" > "Shortcut".
- Entrez "wt" (sans the quotes) as location and click "Next".
- Choose a name, e.g., "Windows Terminal (Admin)" and click "Finish".
- Faites un clic droit the newly créé raccourci and sélectionner "Properties".
- (Optional) Téléchargez le [icon of Windows Terminal](https://github.com/microsoft/terminal/raw/main/res/terminal.ico), save it somewhere and choose it via "Change icône...".
- Click "Advanced...", check "Run as administrator" and click "OK".
- Enregistrez le raccourci by clicking "Apply" and "OK".
- Faites un clic droit the raccourci sur le desktop, ensuite sélectionner "Show more options" and "Pin to taskbar".
- (Optional) Vous pouvez maintenant supprimez le raccourci sur le desktop. Doing so will not supprimez le raccourci sur le taskbar.
The newly créé raccourci sur le taskbar will toujours launch Windows Terminal as admin.
Important: Assurez-vous to sélectionner "%LocalAppData%\Microsoft\WindowsApps\wt.exe" in step 2. "wt" should automatiquement expand to this target as soon as you hit "Next". Do not choose "%ProgramFiles%\WindowsApps\Microsoft.WindowsTerminal_1.14.2282.0_x64__8wekyb3d8bbwe\wt.exe" parce que this chemin changes avec every Terminal mise à jour. Ceci est également why vous devez téléchargez le icône manuellement.