Win11 - shutdown /p does not work


aski86

New member
Local time
9:21 AM
Posts
2
OS
Windows 11
Hi There,

I've just realized that on Win11 when I perform shutdown /p does not work. On Win10 I used to go to "start" and then type "shutdown /p".

In Win11I'm able to see the run command prompting but once I click on it, the computer does not shut down itself.

Any advice?

Thank you
 

Attachments

  • Untitled.png
    Untitled.png
    34 KB · Views: 1

My Computer

System One

  • OS
    Windows 11

FreeBooter

Well-known member
Power User
VIP
Local time
11:21 AM
Posts
949
Location
Adana
OS
Windows 11
If you execute the command from Run dialog box it works.
 

My Computer

System One

  • OS
    Windows 11
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion
    CPU
    AMD Ryzen 7 5700G
    Motherboard
    Erica6
    Memory
    Micron Technology DDR4-3200 16GB
    Graphics Card(s)
    NVIDIA GeForce RTX 3060
    Sound Card
    Realtek ALC671
    Monitor(s) Displays
    Samsung SyncMaster U28E590
    Screen Resolution
    3840 x 2160
    Hard Drives
    SAMSUNG MZVLQ1T0HALB-000H1

Bree

Well-known member
Guru
VIP
Local time
9:21 AM
Posts
4,386
Location
S/E England, UK
OS
Windows 11 Home
I've just realized that on Win11 when I perform shutdown /p does not work. On Win10 I used to go to "start" and then type "shutdown /p".
Welcome to Eleven Forum aski86

The problem appears to be that the option switches don't get passed to the executable when you try to run it from Start. As FreeBooter says, it runs correctly from WinKey+R.

You can prove this by trying another command, cleanmgr /?

When run from WinKey+R you get (as you should) this...

1636147083350.png

But try running from Start and the /? is not passed to cleanmgr so you get this...

1636147176237.png
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.

aski86

New member
Thread Starter
Local time
9:21 AM
Posts
2
OS
Windows 11
I confirm, it runs correctly from WinKey+R. Thank you for this. I'm wondering why it does not work on Win11. I installed Win11 downloading it from Win10 as an update. I might try to reinstall it again formatting C. This could be the reason why shutdown /p does not work properly when is typed through "start".
 

My Computer

System One

  • OS
    Windows 11

Bree

Well-known member
Guru
VIP
Local time
9:21 AM
Posts
4,386
Location
S/E England, UK
OS
Windows 11 Home
I might try to reinstall it again formatting C. This could be the reason why shutdown /p does not work properly when is typed through "start".
No, you'd be wasting your time. It doesn't work in any of my installs, it's definitely a bug in the way Start handles (or rather, doesn't handle) any of the switch options. It ignores everything after the space following command's name.
 

My Computers

System One System Two

  • OS
    Windows 11 Home
    Computer type
    Laptop
    Manufacturer/Model
    Acer Aspire 3 A315-23
    CPU
    AMD Athlon Silver 3050U
    Memory
    8GB
    Graphics Card(s)
    Radeon Graphics
    Monitor(s) Displays
    laptop screen
    Screen Resolution
    1366x768 native resolution, up to 2560x1440 with Radeon Virtual Super Resolution
    Hard Drives
    1TB HDD
    Browser
    Edge, Firefox
    Antivirus
    Defender
    Other Info
    fully 'Windows 11 ready' laptop. Windows 10 C: partition migrated from my old unsupported 'main machine' then upgraded to 11. A test migration ran Insider builds for 2 months. When 11 was released on 5th October it was re-imaged back to 10 and was offered the upgrade in Windows Update on 20th October.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
  • Operating System
    Windows 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    Dell Lattitude E4310
    CPU
    i5 M 520
    Motherboard
    0T6M8G
    Memory
    4GB
    Screen Resolution
    1366x768
    Hard Drives
    500GB HDD
    Browser
    Firefox, Edge
    Antivirus
    Defender
    Other Info
    unsupported machine: Legacy bios, MBR, TPM 1.2, upgraded from W10 to W11 using W10/W11 hybrid install media workaround.


    My SYSTEM THREE is a Dell Latitude 5410, i7-10610U, 32GB RAM, 512GB ssd, Windows 11 Pro.
Top Bottom