Ved at bruge denne side, du accepterer Privatlivspolitik.
Acceptere
EnterineEnterineEnterine
  • HJEM
  • Det pro
  • Teknik
  • Microsoft
    • Azurblå
    • Configmgr/SCCM
    • DPM
    • Orkester
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kontor 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Hold
  • Windows
    • Windows Admin Center
    • Windows klient
    • Windows Server
  • SCCM-forespørgselsindsamlingsliste
Læsning: How to Run PowerShell or Command Prompt as Administrator in Windows?
Font ResizerAa
EnterineEnterine
Font ResizerAa
  • HJEM
  • Det pro
  • Teknik
  • Microsoft
  • Windows
  • SCCM-forespørgselsindsamlingsliste
Søge
  • HJEM
  • Det pro
  • Teknik
  • Microsoft
    • Azurblå
    • Configmgr/SCCM
    • DPM
    • Orkester
    • Hyper-V
    • Microsoft Edge Insider
    • MSI
    • Kontor 365
    • Office Insider
    • Power BI
    • Skype
    • SQL Server
    • Hold
  • Windows
    • Windows Admin Center
    • Windows klient
    • Windows Server
  • SCCM-forespørgselsindsamlingsliste
IT Pro

How to Run PowerShell or Command Prompt as Administrator in Windows?

Offentliggjort: februar 18, 2024
2 Min læst
DELE

How to Run PowerShell or Command Prompt as Administrator in Windows?

Indhold
Solution 1Solution 2Solution 3Solution 4

Solution 1

1. Click on the Start button or Søge and enter CMD or PowerShell;

2. On available items, Right Mouse Button click and select Run as administrator.

Solution 2

1. Press Ctrl+Shift+Escape at the same time. Task Manager windows will appear;

Or

1. Right Mouse Button click on the taskbar and select Task Manager;

Or

1. Press Ctrl+Alt+Delete at the same time and click on Task Manager

2. In Task Manager navigate to File\Run new task;

3. In the new window select Create this task with administrative privileges, enter CMD or PowerShell, og klik OK;

NOTE: IF you enter powershell ise, then run PowerShell ISE, by default (powershell) runing PowerShell console.

Solution 3

1. Navigate to folder, where stored *.exe files;

Command Prompt (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 frigøre 1703 and above:

Right Mouse button click on Start button and select Windows PowerShell (Admin);

NOTE: In Windows Server available Command Prompt is like in Windows 1607 and above. Also, you replace Windows PowerShell with Command Prompt in Windows Settings.

If you know other solutions – let me know in the comments.

TAGGET:Command Prompt (CMD)Microsoft Windows ServerPowerShellWindowsWindows 10
Forrige artikel How to Fix DHCP Client Service Error 5: Access is Denied on Windows
Næste artikel Microsoft Teams Roundup December 2019
Efterlad en kommentar Efterlad en kommentar

Efterlad et svar Annuller svar

Din e-mailadresse vil ikke blive offentliggjort. Påkrævede felter er markeret *

Denne side bruger Akismet til at reducere spam. Lær, hvordan dine kommentardata behandles.

Oversættelse

English中文(简体)DanskNederlandsFrançaisDeutschItaliano한국어PolskiPortuguêsRomânăEspañolУкраїнська
ved Transposh - translation plugin for wordpress

Populære indlæg

Systemkrav til Windows Server 2016
Windows Server
Configuration Manager Forespørgselsindsamlingsliste
Configuration Manager Forespørgselsindsamlingsliste
Configmgr
Struktureret/administreret navigation aktiveret på moderne sider i klassiske teamwebsteder
Teknik
SCCM Kunne ikke hente DP-placeringer som den forventede version fra MP
Configmgr

Seneste indlæg

Installation og konfiguration af Fail2ban til SSH-beskyttelse på Ubuntu 24.04
Linux
Aktivering og konfiguration af FirewallD på AlmaLinux
Linux
Brugeroprettelse og SSH-nøgleopsætning i AlmaLinux
Linux
Sådan nulstiller du adgangskoden på AlmaLinux
Linux

© 2023 Enterine

Gå til mobil version
Velkommen tilbage!

Log ind på din konto

Brugernavn eller e-mail-adresse
Adgangskode

Mistet din adgangskode?