Comment exécuter PowerShell ou une invite de commande en tant qu'administrateur sous Windows?
Solution 1
1. Click on le début button or Recherche and enter CMD or PowerShell;
2. On available items, Right Mouse Button click and select Run as administrator.
Solution 2
1. Presse Ctrl+Shift+Escape at the same time. Gestionnaire de tâches windows will appear;
Ou
1. Right Mouse Button click on the taskbar and select Gestionnaire de tâches;
Ou
1. Presse Ctrl+Alt+Supprimer at the same time and click on Gestionnaire de tâches
2. Dans Gestionnaire de tâches se diriger vers File\Run new task;
3. In the new window select Create this task with administrative privileges, entrer CMD ou Powershell, et cliquez D'ACCORD;
NOTE: IF you enter powershell ise, then run PowerShell ISE, par défaut (powershell) runing PowerShell console.
Solution 3
1. Navigate to folder, where stored *.exe files;
Invite de commande (CMD):
C:\WINDOWS\system32\cmd.exe
Windows PowerShell:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
Windows PowerShell ISE:
C:\Windows\System32\WindowsPowerShell\v1.0\powershell_ise.exe
NOTE: There are also powershell.exe.xml and powershell_ise.exe.xml, don’t run them, run files with PowerShell icons.
2. Right Mouse button click at *.exe file and select Run as administrator.
Solution 4
If you use Windows 10 libérer 1703 et au-dessus:
Right Mouse button click on Start button and select Windows PowerShell (Administrer);
NOTE: In Windows Server available Command Prompt is like in Windows 1607 et au-dessus. Aussi, you replace Windows PowerShell with Command Prompt in Windows Settings.
If you know other solutions – let me know in the comments.