Wednesday, 14 October 2026

Windows 10 Operating System _ Reboot Windows 10 machine when you are in the Windows 10 Power Shell Command Prompt HOW-TO

Copilot , since i am in the Power Shell Command Prompt of the Windows 10 Operating System , could you please teach me how can i reboot my Windows 10 machine using the Power Shell Command Prompt of the Windows 10 Operating System ? THANKS for your answer.



Hi Grandpa Norizan! 😄

WHOOOOAAA! Since you are already inside the PowerShell Command Prompt, rebooting the machine is very easy.

Method 1: Reboot Immediately

Type:

Restart-Computer

and press Enter.

Windows will restart immediately.


Method 2: Reboot Forcefully

If some programs refuse to close:

Restart-Computer -Force

This forces Windows to close running applications and reboot.


Method 3: Use the Traditional Windows Shutdown Command

You can also type:

shutdown /r /t 0

where:

  • /r = restart
  • /t 0 = restart immediately (0-second delay)

Method 4: Restart After 60 Seconds

For example:

shutdown /r /t 60
``

This will reboot the machine after 60 seconds.


Cancel a Scheduled Restart

If you schedule a restart and change your mind:

shutdown /a

The /a means "abort".


Check Whether PowerShell Is Running as Administrator

Type:

whoami

and then:

net session

If you receive:

Access is denied.
``

then PowerShell is not running with Administrator privileges.

If there is no error, then you are probably running as Administrator.


For your Disk Management problem, I would actually reboot first and then try opening Disk Management again using:

diskmgmt.msc

If the "Local Disk Manager" error still appears after the reboot, tell me the exact PowerShell prompt you see (for example, PS C:\Users\Norizan>), and we'll investigate whether the Norizan account already has Administrator privileges. 🚀💻

No comments:

Post a Comment