A Desktop Shutdown Shortcut No Longer Working


HDL

Well-known member
Member
Local time
8:49 AM
Posts
465
OS
Windows 11 Pro ver. 24H2
For years I have used a desktop shortcut to shut down all versions of Windows since Win 7. This same shortcut has worked fine on all my Win 11 machines until recently. It no longer worked on 1 on the machines. The properties of the shortcut is %windir%\system32\shutdown.exe -s -f -t 0

In trying to fix it, I tried running the Command Prompt as the Administrator and found out I couldn’t open it either. So, I booted into the mode where I could have booted to the Safe mode but saw an option the run the Command Prompt there. I ran SFC /SCANNOW and it found system errors and corrected them.

Next, from this same Command Prompt, I tried running DISM /online /cleanup-image /restorehealth and got the message that the commands or switches were not valid commands even when I tried running them 1 at a time.

I then booted to the Safe mode and found out from there I could open the Command Prompt. So, I booted to the normal way and tried running the DISM /online /cleanup-image /restorehealth command again and it ran perfectly. This also means I was once again able to open the Command prompt and also use the shortcut to shut down the computer once again.

It seems that for now I have solved the problem but my concern is why or what caused this to happen and is there anything that needs done to make sure it doesn’t happen again. Thanks
 

My Computer My Computer

At a glance

Windows 11 Pro ver. 24H212th Grn. Intel i7-12700K 3600 Mhz 12 Cores64 GB DDR5NVIDIA GeForce GTX 1650
OS
Windows 11 Pro ver. 24H2
Computer type
PC/Desktop
Manufacturer/Model
ACPI x64-based PC
CPU
12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
Motherboard
ASUSTeK - Prime Z690-P WIFI
Memory
64 GB DDR5
Graphics Card(s)
NVIDIA GeForce GTX 1650
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
ViewSonic
Screen Resolution
1920 x 1080
Hard Drives
HDS72252 5VLAT80 2 Tb ssd Hard drive
PSU
850 Watt Power Supply
Case
19" high desktop
Cooling
A lot of fans
Keyboard
Logitech
Mouse
Logitech
Internet Speed
500 Mg
Browser
FF
Antivirus
Windows Defendor & Malwarebytes
Other Info
2 Asus Blu-Ray burners - BW - 16D1HT
Dude! Stuff happens!
With things like that happening on your PC, make dang sure that you have all your data files backed up to some external media, like a Flash Drive, DVD, etc.
Good Luck,
TM :cool:
PS: You might want to edit your Shutdown shortcut to use the forward slash ( / ), instead of the dash ( - ).
As per Windows own information. This printout is only a part of the full printout.
Shutdown syntax.jpg
 
I have all my data backed up on multiple devices so I have no concerns there. There has to be a reason that the Command Prompt quit working and I have not been able to find an answer for that.
 

My Computer My Computer

At a glance

Windows 11 Pro ver. 24H212th Grn. Intel i7-12700K 3600 Mhz 12 Cores64 GB DDR5NVIDIA GeForce GTX 1650
OS
Windows 11 Pro ver. 24H2
Computer type
PC/Desktop
Manufacturer/Model
ACPI x64-based PC
CPU
12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
Motherboard
ASUSTeK - Prime Z690-P WIFI
Memory
64 GB DDR5
Graphics Card(s)
NVIDIA GeForce GTX 1650
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
ViewSonic
Screen Resolution
1920 x 1080
Hard Drives
HDS72252 5VLAT80 2 Tb ssd Hard drive
PSU
850 Watt Power Supply
Case
19" high desktop
Cooling
A lot of fans
Keyboard
Logitech
Mouse
Logitech
Internet Speed
500 Mg
Browser
FF
Antivirus
Windows Defendor & Malwarebytes
Other Info
2 Asus Blu-Ray burners - BW - 16D1HT
It sounds like something may have happened to the "Shutdown.exe" command file.

And you didn't do the one thing that I probably would have done, first thing, , , and that is to do a System Restore. Eh?
That can solve just SO many little problems.
I rely on that so much, and have for many years, that I force a new Restore Point to be created on every Boot Up.
I have a little script that does that, and I've put that script in my Startup Folder.
Those restore points only build up on the HD to a point that I have preset, and then the old ones start dropping off into the ol' bit- bucket.
 
It sounds like something may have happened to the "Shutdown.exe" command file.

And you didn't do the one thing that I probably would have done, first thing, , , and that is to do a System Restore. Eh?
That can solve just SO many little problems.
I rely on that so much, and have for many years, that I force a new Restore Point to be created on every Boot Up.
I have a little script that does that, and I've put that script in my Startup Folder.
Those restore points only build up on the HD to a point that I have preset, and then the old ones start dropping off into the ol' bit- bucket.
That sounds like a great idea about the Restore points. If possible, it would be nice to see your script. Is the script a batch file? As far as the Shutdown.exe goes, I believe somehow it and the Command Prompt stopped working for the same reason, whatever that is. Once I got the Command Prompt working again, the Shutdown.exe also started working again.
 

My Computer My Computer

At a glance

Windows 11 Pro ver. 24H212th Grn. Intel i7-12700K 3600 Mhz 12 Cores64 GB DDR5NVIDIA GeForce GTX 1650
OS
Windows 11 Pro ver. 24H2
Computer type
PC/Desktop
Manufacturer/Model
ACPI x64-based PC
CPU
12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
Motherboard
ASUSTeK - Prime Z690-P WIFI
Memory
64 GB DDR5
Graphics Card(s)
NVIDIA GeForce GTX 1650
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
ViewSonic
Screen Resolution
1920 x 1080
Hard Drives
HDS72252 5VLAT80 2 Tb ssd Hard drive
PSU
850 Watt Power Supply
Case
19" high desktop
Cooling
A lot of fans
Keyboard
Logitech
Mouse
Logitech
Internet Speed
500 Mg
Browser
FF
Antivirus
Windows Defendor & Malwarebytes
Other Info
2 Asus Blu-Ray burners - BW - 16D1HT
The script to create a new Restore Point is just that.... a .vbs script. (visual basic script)
' Created by: Shawn Brink
' Ten Forums - Windows 10 Help and Support Forum
' Tutorial: Create System Restore Point shortcut in Windows 10


Function GetOS
Set objWMI = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & ".\root\cimv2")
Set colOS = objWMI.ExecQuery("Select * from Win32_OperatingSystem")
For Each objOS in colOS
If instr(objOS.Caption, "Windows 11") Then
GetOS = "Windows 11"
End If
Next
End Function


Copy the text, in RED, above, and paste it into a Notepad document. Then save it with the name & extension of Restore.vbs

Place that script in your "Startup" folder, for a daily restore point.


In its original form, it was written for Windows 10, and will work for Win-10 again, if the number 11 was edited to say "10".

Good Luck,
TM :cool:
 

My Computers My Computers

  • At a glance

    11 Pro 24H2 26100.2454i7-9700 @ 3.00GHz32GBDDR4 @ 2666MHzIntel HD 630 Graphics onboard
    OS
    11 Pro 24H2 26100.2454
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i7-9700 @ 3.00GHz
    Motherboard
    Lenovo 3132
    Memory
    32GBDDR4 @ 2666MHz
    Graphics Card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    LG E2442
    Screen Resolution
    1920x1080
    Hard Drives
    1 x Samsung 970 EVO PLUS 500GB NVMe SSD, 1 x WD_BLACK SN770
    250GB NVMe SSD (OS and programs), 1 x WD_BLACK SN770
    500GB NVMe SSD (Data)
    Case
    Lenovo SFF
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Mouse
    LogiTech M510 wireless
    Internet Speed
    Fast (for fixed wireless!)
    Browser
    Chrome, sometimes Firefox
    Antivirus
    Malwarebytes Premium & Defender (working together beautifully!)
  • At a glance

    11 Pro 24H2 26100.2454i5-8400 @ 2.80GHz32GB DDR4 @ 2600MHzIntel HD 630 Graphics onboard
    Operating System
    11 Pro 24H2 26100.2454
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i5-8400 @ 2.80GHz
    Motherboard
    Lenovo 3132
    Memory
    32GB DDR4 @ 2600MHz
    Graphics card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek High Definition Audio onboard
    Monitor(s) Displays
    LG FULL HD (1920x1080@59Hz)
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x Samsung 970 EVO PLUS NVMe; 1 x Samsung 980 NVMe SSD
    Case
    Lenovo Think Centre SFF
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Mouse
    LogiTech M510 wireless
    Internet Speed
    Fast (for fixed wireless!)
    Browser
    Chrome
    Antivirus
    Malwarebytes Premium and MS Defender, beautiful together
Thank you both very much.
The script to create a new Restore Point is just that.... a .vbs script. (visual basic script)
' Created by: Shawn Brink
' Ten Forums - Windows 10 Help and Support Forum
' Tutorial: Create System Restore Point shortcut in Windows 10


Function GetOS
Set objWMI = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & ".\root\cimv2")
Set colOS = objWMI.ExecQuery("Select * from Win32_OperatingSystem")
For Each objOS in colOS
If instr(objOS.Caption, "Windows 11") Then
GetOS = "Windows 11"
End If
Next
End Function


Copy the text, in RED, above, and paste it into a Notepad document. Then save it with the name & extension of Restore.vbs

Place that script in your "Startup" folder, for a daily restore point.


In its original form, it was written for Windows 10, and will work for Win-10 again, if the number 11 was edited to say "10".

Good Luck,
TM :cool:
Well I got the VBS file created but not sure about where to place it as far as the Startup folder is concerned. If I look for the Startup folder in Win 11 settings I find Startup Apps but don't see a way to add the VBS script file to it. If I try this method:
  1. To add a program to startup, Press Windows+R to open the “Run” dialog box.
  2. Type “shell:startup” and then hit Enter to open the “Startup” folder.
  3. Create a shortcut in the “Startup” folder to any file, folder, or program's executable file. It will open on startup the next time you boot.
I find an empty Startup folder under my name called Startup. Please see the attachment. It only mentions to create a shortcut to any file, folder, or program's executable file. Is this where I should place the VBS file or do I need to create a shortcut to it? If this is not the Startup folder you mention, where is it and how is it done? VBS.jpg
 

My Computer My Computer

At a glance

Windows 11 Pro ver. 24H212th Grn. Intel i7-12700K 3600 Mhz 12 Cores64 GB DDR5NVIDIA GeForce GTX 1650
OS
Windows 11 Pro ver. 24H2
Computer type
PC/Desktop
Manufacturer/Model
ACPI x64-based PC
CPU
12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
Motherboard
ASUSTeK - Prime Z690-P WIFI
Memory
64 GB DDR5
Graphics Card(s)
NVIDIA GeForce GTX 1650
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
ViewSonic
Screen Resolution
1920 x 1080
Hard Drives
HDS72252 5VLAT80 2 Tb ssd Hard drive
PSU
850 Watt Power Supply
Case
19" high desktop
Cooling
A lot of fans
Keyboard
Logitech
Mouse
Logitech
Internet Speed
500 Mg
Browser
FF
Antivirus
Windows Defendor & Malwarebytes
Other Info
2 Asus Blu-Ray burners - BW - 16D1HT
Or you might be interested in: <Alt>+<F4> pressed simultaneously (when on your desktop) and select 'Sleep/Shutdown, etc.' from the resulting drop down menu.

Cheers.
 

My Computers My Computers

  • At a glance

    Windows 11 (25H2)Core(TM) i5-12400T12.0 GB (11.7 GB usable)Intel(R) UHD Graphics 730
    OS
    Windows 11 (25H2)
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion 577B5AA#ABA
    CPU
    Core(TM) i5-12400T
    Motherboard
    HP 89E9
    Memory
    12.0 GB (11.7 GB usable)
    Graphics Card(s)
    Intel(R) UHD Graphics 730
    Sound Card
    DFX Audio
    Monitor(s) Displays
    HO Generic PnP Monitor
    Screen Resolution
    1920 x 1080
    Hard Drives
    SAMSUNG MZVLQ10HBLB00BH1 SSD 1TB
    PSU
    HP Std. for this product
    Case
    All-in-One
    Cooling
    Fan
    Keyboard
    HP Wireless / Bluetooth
    Mouse
    HP Wireless / Bluetooth
    Internet Speed
    Link speed (Receive/Transmit): 1000/1000 (Mbps)
    Browser
    Firefox
    Antivirus
    Malwarebytes Pro / Windows Security
    Other Info
    Retired IT professional.
  • At a glance

    Windows 11 (25H2)Intel I-7-1165G78 GB DDR4-3200 SDRAMIntel Iris Xe Graphics
    Operating System
    Windows 11 (25H2)
    Computer type
    Laptop
    Manufacturer/Model
    HP 15tegooo [HP Pavilion Laptop Intel I-7]
    CPU
    Intel I-7-1165G7
    Motherboard
    HP
    Memory
    8 GB DDR4-3200 SDRAM
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek
    Monitor(s) Displays
    HP HD micro edge, Bright View, 250 nits
    Screen Resolution
    1366 x768
    Hard Drives
    256 GB DD4-3200 SDRAM
    PSU
    HP
    Case
    Std HP Laptop
    Cooling
    Fan
    Keyboard
    std
    Mouse
    Logi M585
    Browser
    Edge
    Antivirus
    Windows Security
@HDL
"I find an empty Startup folder under my name called Startup. Please see the attachment. It only mentions to create a shortcut to any file, folder, or program's executable file. Is this where I should place the VBS file or do I need to create a shortcut to it?"

That's it. Just paste the .vbs file into the space. It works like a shortcut.
 

My Computers My Computers

  • At a glance

    11 Pro 24H2 26100.2454i7-9700 @ 3.00GHz32GBDDR4 @ 2666MHzIntel HD 630 Graphics onboard
    OS
    11 Pro 24H2 26100.2454
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i7-9700 @ 3.00GHz
    Motherboard
    Lenovo 3132
    Memory
    32GBDDR4 @ 2666MHz
    Graphics Card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    LG E2442
    Screen Resolution
    1920x1080
    Hard Drives
    1 x Samsung 970 EVO PLUS 500GB NVMe SSD, 1 x WD_BLACK SN770
    250GB NVMe SSD (OS and programs), 1 x WD_BLACK SN770
    500GB NVMe SSD (Data)
    Case
    Lenovo SFF
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Mouse
    LogiTech M510 wireless
    Internet Speed
    Fast (for fixed wireless!)
    Browser
    Chrome, sometimes Firefox
    Antivirus
    Malwarebytes Premium & Defender (working together beautifully!)
  • At a glance

    11 Pro 24H2 26100.2454i5-8400 @ 2.80GHz32GB DDR4 @ 2600MHzIntel HD 630 Graphics onboard
    Operating System
    11 Pro 24H2 26100.2454
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i5-8400 @ 2.80GHz
    Motherboard
    Lenovo 3132
    Memory
    32GB DDR4 @ 2600MHz
    Graphics card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek High Definition Audio onboard
    Monitor(s) Displays
    LG FULL HD (1920x1080@59Hz)
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x Samsung 970 EVO PLUS NVMe; 1 x Samsung 980 NVMe SSD
    Case
    Lenovo Think Centre SFF
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Mouse
    LogiTech M510 wireless
    Internet Speed
    Fast (for fixed wireless!)
    Browser
    Chrome
    Antivirus
    Malwarebytes Premium and MS Defender, beautiful together
  • Like
Reactions: HDL
@HDL
"I find an empty Startup folder under my name called Startup. Please see the attachment. It only mentions to create a shortcut to any file, folder, or program's executable file. Is this where I should place the VBS file or do I need to create a shortcut to it?"

That's it. Just paste the .vbs file into the space. It works like a shortcut.
Thank you. I will definitely give it a try.
 

My Computer My Computer

At a glance

Windows 11 Pro ver. 24H212th Grn. Intel i7-12700K 3600 Mhz 12 Cores64 GB DDR5NVIDIA GeForce GTX 1650
OS
Windows 11 Pro ver. 24H2
Computer type
PC/Desktop
Manufacturer/Model
ACPI x64-based PC
CPU
12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
Motherboard
ASUSTeK - Prime Z690-P WIFI
Memory
64 GB DDR5
Graphics Card(s)
NVIDIA GeForce GTX 1650
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
ViewSonic
Screen Resolution
1920 x 1080
Hard Drives
HDS72252 5VLAT80 2 Tb ssd Hard drive
PSU
850 Watt Power Supply
Case
19" high desktop
Cooling
A lot of fans
Keyboard
Logitech
Mouse
Logitech
Internet Speed
500 Mg
Browser
FF
Antivirus
Windows Defendor & Malwarebytes
Other Info
2 Asus Blu-Ray burners - BW - 16D1HT
I need to ask a question about the code above. I tried it on 2 of my Windows 10 machines to see if it worked. It didn't. I copied the code correctly but noticed this line in the code, GetOS = "Windows 11" Since I tested on a Win 10 machine, should I change that to GetOS = "Windows 10" to get it to work on those machines? I will leave it alone on the Win 11 machines but just wanted to see it work before I use it on them.
 

My Computer My Computer

At a glance

Windows 11 Pro ver. 24H212th Grn. Intel i7-12700K 3600 Mhz 12 Cores64 GB DDR5NVIDIA GeForce GTX 1650
OS
Windows 11 Pro ver. 24H2
Computer type
PC/Desktop
Manufacturer/Model
ACPI x64-based PC
CPU
12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
Motherboard
ASUSTeK - Prime Z690-P WIFI
Memory
64 GB DDR5
Graphics Card(s)
NVIDIA GeForce GTX 1650
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
ViewSonic
Screen Resolution
1920 x 1080
Hard Drives
HDS72252 5VLAT80 2 Tb ssd Hard drive
PSU
850 Watt Power Supply
Case
19" high desktop
Cooling
A lot of fans
Keyboard
Logitech
Mouse
Logitech
Internet Speed
500 Mg
Browser
FF
Antivirus
Windows Defendor & Malwarebytes
Other Info
2 Asus Blu-Ray burners - BW - 16D1HT
Yes. Read post 6 where it clearly states

In its original form, it was written for Windows 10, and will work for Win-10 again, if the number 11 was edited to say "10".
 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 26200.8655AMD Ryzen 7 5825U with Radeon Graphics16GB
    OS
    Windows 11 Pro 25H2 26200.8655
    Computer type
    Laptop
    Manufacturer/Model
    Acemagic LX15PRO
    CPU
    AMD Ryzen 7 5825U with Radeon Graphics
    Memory
    16GB
    Screen Resolution
    1920 x 1080
    Hard Drives
    SSD 2TB
    Internet Speed
    30 Mbps
    Browser
    Brave
    Antivirus
    Webroot Secure Anywhere
    Other Info
    System 3

    Acer Swift SF114-34 laptop
    OS Windows 11 Pro 26200.8524
    CPU Pentium Silver N6000
    RAM 4GB
    SSD Samsung 970 EVO Plus SSD 2TB (an upgrade)
  • At a glance

    Windows 11 Pro 23H2 22631.2506Atom N450 1.66GHz2GB
    Operating System
    Windows 11 Pro 23H2 22631.2506
    Computer type
    Laptop
    Manufacturer/Model
    HP Mini 210-1090NR PC (bought in late 2009!)
    CPU
    Atom N450 1.66GHz
    Memory
    2GB
    Browser
    Brave
    Antivirus
    Webroot
Yes. Read post 6 where it clearly states

In its original form, it was written for Windows 10, and will work for Win-10 again, if the number 11 was edited to say "10".
I was hoping that was the case but sadly even after changing it to Win 10, it did not work for me. Here is exactly what I have in the file named Restore.vbs -
Function GetOS
Set objWMI = GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & ".\root\cimv2")
Set colOS = objWMI.ExecQuery("Select * from Win32_OperatingSystem")
For Each objOS in colOS
If instr(objOS.Caption, "Windows 11") Then
GetOS = "Windows 11"
End If
Next
End Function

Keep in mind, I did change it to Windows 10 for the Win 10 machines. I have not yet tried it on any of the Win 11 machines yet. I want to get it working on an older machine first in case something goes wrong.
 

My Computer My Computer

At a glance

Windows 11 Pro ver. 24H212th Grn. Intel i7-12700K 3600 Mhz 12 Cores64 GB DDR5NVIDIA GeForce GTX 1650
OS
Windows 11 Pro ver. 24H2
Computer type
PC/Desktop
Manufacturer/Model
ACPI x64-based PC
CPU
12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
Motherboard
ASUSTeK - Prime Z690-P WIFI
Memory
64 GB DDR5
Graphics Card(s)
NVIDIA GeForce GTX 1650
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
ViewSonic
Screen Resolution
1920 x 1080
Hard Drives
HDS72252 5VLAT80 2 Tb ssd Hard drive
PSU
850 Watt Power Supply
Case
19" high desktop
Cooling
A lot of fans
Keyboard
Logitech
Mouse
Logitech
Internet Speed
500 Mg
Browser
FF
Antivirus
Windows Defendor & Malwarebytes
Other Info
2 Asus Blu-Ray burners - BW - 16D1HT
Well I just tried it on one of the Windows 11 machines and it did not work on it either. Any suggestions?
 

My Computer My Computer

At a glance

Windows 11 Pro ver. 24H212th Grn. Intel i7-12700K 3600 Mhz 12 Cores64 GB DDR5NVIDIA GeForce GTX 1650
OS
Windows 11 Pro ver. 24H2
Computer type
PC/Desktop
Manufacturer/Model
ACPI x64-based PC
CPU
12th Grn. Intel i7-12700K 3600 Mhz 12 Cores
Motherboard
ASUSTeK - Prime Z690-P WIFI
Memory
64 GB DDR5
Graphics Card(s)
NVIDIA GeForce GTX 1650
Sound Card
NVIDIA High Definition Audio
Monitor(s) Displays
ViewSonic
Screen Resolution
1920 x 1080
Hard Drives
HDS72252 5VLAT80 2 Tb ssd Hard drive
PSU
850 Watt Power Supply
Case
19" high desktop
Cooling
A lot of fans
Keyboard
Logitech
Mouse
Logitech
Internet Speed
500 Mg
Browser
FF
Antivirus
Windows Defendor & Malwarebytes
Other Info
2 Asus Blu-Ray burners - BW - 16D1HT
Yeah. Try the simple tutorial in #7 above.

And maybe delete your current shutdown shortcut and create a new one along the lines of the command prompt screen in #2 above.
 

My Computers My Computers

  • At a glance

    11 Pro 24H2 26100.2454i7-9700 @ 3.00GHz32GBDDR4 @ 2666MHzIntel HD 630 Graphics onboard
    OS
    11 Pro 24H2 26100.2454
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i7-9700 @ 3.00GHz
    Motherboard
    Lenovo 3132
    Memory
    32GBDDR4 @ 2666MHz
    Graphics Card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek HD Audio
    Monitor(s) Displays
    LG E2442
    Screen Resolution
    1920x1080
    Hard Drives
    1 x Samsung 970 EVO PLUS 500GB NVMe SSD, 1 x WD_BLACK SN770
    250GB NVMe SSD (OS and programs), 1 x WD_BLACK SN770
    500GB NVMe SSD (Data)
    Case
    Lenovo SFF
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Mouse
    LogiTech M510 wireless
    Internet Speed
    Fast (for fixed wireless!)
    Browser
    Chrome, sometimes Firefox
    Antivirus
    Malwarebytes Premium & Defender (working together beautifully!)
  • At a glance

    11 Pro 24H2 26100.2454i5-8400 @ 2.80GHz32GB DDR4 @ 2600MHzIntel HD 630 Graphics onboard
    Operating System
    11 Pro 24H2 26100.2454
    Computer type
    PC/Desktop
    Manufacturer/Model
    Lenovo ThinkCentre M920S SFF
    CPU
    i5-8400 @ 2.80GHz
    Motherboard
    Lenovo 3132
    Memory
    32GB DDR4 @ 2600MHz
    Graphics card(s)
    Intel HD 630 Graphics onboard
    Sound Card
    Realtek High Definition Audio onboard
    Monitor(s) Displays
    LG FULL HD (1920x1080@59Hz)
    Screen Resolution
    1920 x 1080
    Hard Drives
    1 x Samsung 970 EVO PLUS NVMe; 1 x Samsung 980 NVMe SSD
    Case
    Lenovo Think Centre SFF
    Keyboard
    Cherry Stream TKL JK-8600US-2 Wired
    Mouse
    LogiTech M510 wireless
    Internet Speed
    Fast (for fixed wireless!)
    Browser
    Chrome
    Antivirus
    Malwarebytes Premium and MS Defender, beautiful together
I don't believe it!
I feel like a rocket scientist, trying to teach Quantum physics to a Kindergarten class.

Why can't anyone on this forum find their "Programs" menu and scroll down to "Startup" and copy a file to that folder.???
Folks, this is NOT Rocket Science!
 
Try this:
  1. Right-click anywhere on the Windows 11 desktop and select New > Shortcut.
  2. In the pop-up window, type shutdown /s /t 0, and then select Next.
  3. You'll be asked to give your shortcut a name. ...
  4. The Shut Down shortcut will appear on your Windows 11 desktop.
 

My Computers My Computers

  • At a glance

    Windows 11 (25H2)Core(TM) i5-12400T12.0 GB (11.7 GB usable)Intel(R) UHD Graphics 730
    OS
    Windows 11 (25H2)
    Computer type
    PC/Desktop
    Manufacturer/Model
    HP Pavilion 577B5AA#ABA
    CPU
    Core(TM) i5-12400T
    Motherboard
    HP 89E9
    Memory
    12.0 GB (11.7 GB usable)
    Graphics Card(s)
    Intel(R) UHD Graphics 730
    Sound Card
    DFX Audio
    Monitor(s) Displays
    HO Generic PnP Monitor
    Screen Resolution
    1920 x 1080
    Hard Drives
    SAMSUNG MZVLQ10HBLB00BH1 SSD 1TB
    PSU
    HP Std. for this product
    Case
    All-in-One
    Cooling
    Fan
    Keyboard
    HP Wireless / Bluetooth
    Mouse
    HP Wireless / Bluetooth
    Internet Speed
    Link speed (Receive/Transmit): 1000/1000 (Mbps)
    Browser
    Firefox
    Antivirus
    Malwarebytes Pro / Windows Security
    Other Info
    Retired IT professional.
  • At a glance

    Windows 11 (25H2)Intel I-7-1165G78 GB DDR4-3200 SDRAMIntel Iris Xe Graphics
    Operating System
    Windows 11 (25H2)
    Computer type
    Laptop
    Manufacturer/Model
    HP 15tegooo [HP Pavilion Laptop Intel I-7]
    CPU
    Intel I-7-1165G7
    Motherboard
    HP
    Memory
    8 GB DDR4-3200 SDRAM
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek
    Monitor(s) Displays
    HP HD micro edge, Bright View, 250 nits
    Screen Resolution
    1366 x768
    Hard Drives
    256 GB DD4-3200 SDRAM
    PSU
    HP
    Case
    Std HP Laptop
    Cooling
    Fan
    Keyboard
    std
    Mouse
    Logi M585
    Browser
    Edge
    Antivirus
    Windows Security
You can just simply create a shortcut of "shutdown.exe" to your desktop. It is located in C:\Windows\System32

You can rename the shortcut and customize the icon.
 

My Computers My Computers

  • At a glance

    Windows 11 ProAMD Ryzen 7 9800X3D32GB DDR5 CL30 Kingston FuryASUS Prime Radeon RX 9060 XT OC Edition 16GB
    OS
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    AMD Ryzen 7 9800X3D
    Motherboard
    MSI PRO B850-P Wifi
    Memory
    32GB DDR5 CL30 Kingston Fury
    Graphics Card(s)
    ASUS Prime Radeon RX 9060 XT OC Edition 16GB
    Monitor(s) Displays
    LG Ultrawide 34" + LG 27" 1080p
    Screen Resolution
    3440x1440
    Hard Drives
    Main Boot Drive : 512GB Adata XPG RGB Gen3x4 NVMe M.2 SSD
    PSU
    EVGA 750 Watts 80+ Gold
    Case
    Deepcool Genome II
    Cooling
    Thermalright Burst Assassin 120
    Internet Speed
    1Gbps
    Browser
    Chrome
    Antivirus
    "Moderna"
  • At a glance

    Windows 11 Proi7-4790K16GB Corsair Vengeance ProMSI R9 290
    Operating System
    Windows 11 Pro
    Computer type
    PC/Desktop
    CPU
    i7-4790K
    Motherboard
    ASRock Xtreme6 Z97
    Memory
    16GB Corsair Vengeance Pro
    Graphics card(s)
    MSI R9 290
    Monitor(s) Displays
    LG Ultrawide 34"
    Screen Resolution
    3440x1440
    Hard Drives
    500GB Adata SSD (OS Only)
    PSU
    Thermaltake 475 Watts 80 Bronze
    Case
    Thermaltake Commander I Snow Edition
    Cooling
    Deep Cool Archer Air Cooler
    Keyboard
    Armageddon MKA-5R RGB-Hornet
    Mouse
    Logitech G402
    Internet Speed
    1Gbps
    Browser
    Chrome
    Antivirus
    Moderna :)
Something is not right as %windir%\system32\shutdown.exe -s -f -t 0 runs from a short cut or CMD for me.
 

My Computers My Computers

  • At a glance

    Win 11 ProAMD Ryzen™ 7 7730U24GB Dual-Channel DDR4 @ 1596MHz (22-22-22-52)512MB ATI AMD Radeon Graphics (ASUStek Comput...
    OS
    Win 11 Pro
    Computer type
    Laptop
    Manufacturer/Model
    ASUS Vivobook
    CPU
    AMD Ryzen™ 7 7730U
    Motherboard
    M1605YA
    Memory
    24GB Dual-Channel DDR4 @ 1596MHz (22-22-22-52)
    Graphics Card(s)
    512MB ATI AMD Radeon Graphics (ASUStek Computer Inc)
    Monitor(s) Displays
    Generic PnP Monitor (1920x1200@60Hz) - P1 PLUS (1920x1080@59Hz)
    Screen Resolution
    1920 X 1200
    Hard Drives
    953GB Western Digital WD
    PSU
    45 Watts
    Mouse
    Lenovo Bluetooth.
    Internet Speed
    500 Mbps
    Browser
    Edge
    Antivirus
    Defender
  • At a glance

    Windows 11AMD Ryzen 7 5800H / 3.2 GHz32 GB DDR4 SDRAM 3200 MHzNVIDIA GeForce RTX 3060 6 GB GDDR6 SDRAM
    Operating System
    Windows 11
    Computer type
    Laptop
    Manufacturer/Model
    ACER NITRO
    CPU
    AMD Ryzen 7 5800H / 3.2 GHz
    Motherboard
    CZ Scala_CAS (FP6)
    Memory
    32 GB DDR4 SDRAM 3200 MHz
    Graphics card(s)
    NVIDIA GeForce RTX 3060 6 GB GDDR6 SDRAM
    Sound Card
    Realtek Audio. NVIDIA High Definition Audio
    Monitor(s) Displays
    15.6" LED backlight 1920 x 1080 (Full HD) 144 Hz
    Screen Resolution
    1920 x 1080 (Full HD)
    Hard Drives
    Samsung 970 Evo Plus 2TB NVMe M.2
    PSU
    180 Watt, 19.5 V
    Mouse
    Lenovo Bluetooth
    Internet Speed
    500 Mbps
    Browser
    Edge
    Antivirus
    Defender

Latest Support Threads

Back
Top Bottom