• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

My computer will not shut down, it reboots instead.

Joined
Jul 1, 2023
Messages
22 (0.04/day)
System Name Mine
Processor Ryzen 3700x
Motherboard Gigabyte Aorus Elite
Cooling Watercooled, Alphacool and EKWB
Memory 32 Gb G.skill Flare X
Video Card(s) XFX RX 6700XT
Storage 2 Samsung 980 Pro 1Tb nvme, 1 Samsung 860 evo 1 Tb
Case Be Quiet! Silent Base 601
Have you cleared the CMOS at all? Maybe pull your battery out, clear the CMOS and let it sit for a few minutes.

Each set of ram will have its own specific set of parameters that they need to run properly. Things can get messy when the get mixed up.
Well, as a last resort.

First I'd try booting into a live-usb-linux to dismiss the possibility that it's an issue with Windows. If the same behavior occurs, it's very likely that it's a hardware-problem. If not, more likely your Windows is broken.

This is what happens using @Mindweaver s suggestion:

shutdown /f /t 00


Syntax: shutdown [/i | /l | /s | /sg | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/soft] [/fw] [/f]
[/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]

No args Displays help. Same as typing /?.
/? Displays help. Same as specifying no options.
/i Displays graphical user interface.
This must be the first option.
/l Logs off. This cannot be used with /m or /d.
/s Shuts down the computer.
/sg Shuts down the computer. If Automatic Login on Restart is enabled, automatically logs in
and locks out the last interactive user the next time the computer is started.
Restarts all registered applications after logging in.
/r Shut down the computer completely and restart it.
/g Shut down the computer completely and restart it. If Automatic Login on Restart is
enabled, automatically log in and lock the last interactive user
after the system restarts.
Restart all registered programs after login.
/a Abort shutdown.
This can only be used during the timeout period.
Combine with /fw to clear pending firmware starts.
/p Shut down the local computer without timeout or warning.
Can be used with /d and /f.
/h Put the local computer into hibernation.
Can be used with /f.
/hybrid Shuts down the computer and prepares it for fast startup.
Must be used with the /s option.
/fw Combine with a shutdown option to make the next startup in the
firmware interface.
/e Specify the reason for the unexpected shutdown of the computer.
/o Enter the advanced boot options menu and restart the computer.
Must be used with the /r option.
/m \\computer Specify the target computer.
/t xxx Specify the timeout before shutdown (in xxx seconds).
Valid values are 0-315360000 (10 years). Default is 30.
If the timeout is greater than 0, the /f parameter
is implied.
/c "comment" Comment specifying why the computer is being restarted or shut down.
A maximum of 512 characters are allowed.
/f Causes running programs to terminate without notifying the user.
The /f parameter is implied when a value greater than 0
is specified for the /t parameter.
/d [p|u:]xx:yy Specify the reason for the restart or shutdown.
p indicates that the restart or shutdown is scheduled.
u indicates that the reason is user-defined.
If neither p nor u is specified, the restart or shutdown
is unscheduled.
xx is primary reason code (positive integer less than 256).
yy is secondary reason code (positive integer less than 65536).

Causes on this computer:
(E = Expected U = Unexpected P = Planned, C = Custom)
Type Major Sub Title

U 0 0 Other (unplanned)
E 0 0 Other (unplanned)
E P 0 0 Other (planned)
U 0 5 Other error: computer is not responding
E 1 1 Hardware: Maintenance (unplanned)
E P 1 1 Hardware: Maintenance (planned)
E 1 2 Hardware: Installation (unplanned)
E P 1 2 Hardware: Installation (planned)
E 2 2 Operating system: Recovery (unplanned)
E P 2 2 Operating system: Recovery (planned)
P 2 3 Operating system: Upgrade (planned)
E 2 4 Operating system: Configuration change (unplanned)
E P 2 4 Operating system: Configuration change (planned)
P 2 16 Operating System: Service Pack (Planned)
2 17 Operating System: Hotfix (Unplanned)
P 2 17 Operating System: Hotfix (Planned)


I used a translationthing for it, as I get it in swedish.
 
Last edited:
Joined
Jun 11, 2024
Messages
105 (0.50/day)
System Name Fedora Linux
Processor Ryzen 7 5800X3D
Motherboard MSI X570-A Pro
Cooling 360 Arctic Liquid Freezer 2
Memory 64 GiB Crucial Ballistix DDR4-3200
Video Card(s) 16 GiB ASRock RX 7800XT PG
Storage Plenty
Display(s) 40" UWQHD cheap LC-Power 144Hz
Case BeQuiet! Silent Base 802 Mesh Front
Power Supply 750W Seasonic Focus GX Platinum
Mouse Logitech G502
Keyboard Cherry MX Board 3.0S Blue Switches
Do you have a USB-stick to spare? If so, download a linux-distro, for example use the Fedora Media Writer to write Fedora on that device. Then boot from that stick and try to shut down in the PC regularly after booting into the distro. If it shuts down correctly, the problem most likely lies with Windows.
 

Mindweaver

Moderato®™
Staff member
Joined
Apr 16, 2009
Messages
8,311 (1.45/day)
Location
Charleston, SC
System Name Tower of Power / Delliverance
Processor i7 14700K / i9-14900K
Motherboard ASUS ROG Strix Z690-A Gaming WiFi D4 / Z690
Cooling CM MasterLiquid ML360 Mirror ARGB Close-Loop AIO / Air
Memory CORSAIR Vengeance LPX 32GB (2 x 16GB) DDR4 3600 / DDR5 2x 16gb
Video Card(s) ASUS TUF Gaming GeForce RTX 4070 Ti / GeForce RTX 4080
Storage 4x Samsung 980 Pro 1TB M.2, 2x Crucial 1TB SSD / NVM3 PC801 SK hynix 1TB
Display(s) Samsung 32" Odyssy G5 Gaming 144hz 1440p, 2x LG HDR 32" 60hz 4k / 2x LG HDR 32" 60hz 4k
Case Phantek "400A" / Dell XPS 8960
Audio Device(s) Realtek ALC4080 / Sound Blaster X1
Power Supply Corsair RM Series RM750 / 750w
Mouse Razer Deathadder V3 Hyperspeed Wireless / Glorious Gaming Model O 2 Wireless
Keyboard Glorious GMMK with box-white switches / Keychron K6 pro with blue swithes
VR HMD Quest 3 (512gb) + Rift S + HTC Vive + DK1
Software Windows 11 Pro x64 / Windows 11 Pro x64
Benchmark Scores Yes
This is what happens using @Mindweaver s suggestion:

shutdown /f /t 00


Syntax: shutdown [/i | /l | /s | /sg | /r | /g | /a | /p | /h | /e | /o] [/hybrid] [/soft] [/fw] [/f]
[/m \\computer][/t xxx][/d [p|u:]xx:yy [/c "comment"]]

No args Displays help. Same as typing /?.
/? Displays help. Same as specifying no options.
/i Displays graphical user interface.
This must be the first option.
/l Logs off. This cannot be used with /m or /d.
/s Shuts down the computer.
/sg Shuts down the computer. If Automatic Login on Restart is enabled, automatically logs in
and locks out the last interactive user the next time the computer is started.
Restarts all registered applications after logging in.
/r Shut down the computer completely and restart it.
/g Shut down the computer completely and restart it. If Automatic Login on Restart is
enabled, automatically log in and lock the last interactive user
after the system restarts.
Restart all registered programs after login.
/a Abort shutdown.
This can only be used during the timeout period.
Combine with /fw to clear pending firmware starts.
/p Shut down the local computer without timeout or warning.
Can be used with /d and /f.
/h Put the local computer into hibernation.
Can be used with /f.
/hybrid Shuts down the computer and prepares it for fast startup.
Must be used with the /s option.
/fw Combine with a shutdown option to make the next startup in the
firmware interface.
/e Specify the reason for the unexpected shutdown of the computer.
/o Enter the advanced boot options menu and restart the computer.
Must be used with the /r option.
/m \\computer Specify the target computer.
/t xxx Specify the timeout before shutdown (in xxx seconds).
Valid values are 0-315360000 (10 years). Default is 30.
If the timeout is greater than 0, the /f parameter
is implied.
/c "comment" Comment specifying why the computer is being restarted or shut down.
A maximum of 512 characters are allowed.
/f Causes running programs to terminate without notifying the user.
The /f parameter is implied when a value greater than 0
is specified for the /t parameter.
/d [p|u:]xx:yy Specify the reason for the restart or shutdown.
p indicates that the restart or shutdown is scheduled.
u indicates that the reason is user-defined.
If neither p nor u is specified, the restart or shutdown
is unscheduled.
xx is primary reason code (positive integer less than 256).
yy is secondary reason code (positive integer less than 65536).

Causes on this computer:
(E = Expected U = Unexpected P = Planned, C = Custom)
Type Major Sub Title

U 0 0 Other (unplanned)
E 0 0 Other (unplanned)
E P 0 0 Other (planned)
U 0 5 Other error: computer is not responding
E 1 1 Hardware: Maintenance (unplanned)
E P 1 1 Hardware: Maintenance (planned)
E 1 2 Hardware: Installation (unplanned)
E P 1 2 Hardware: Installation (planned)
E 2 2 Operating system: Recovery (unplanned)
E P 2 2 Operating system: Recovery (planned)
P 2 3 Operating system: Upgrade (planned)
E 2 4 Operating system: Configuration change (unplanned)
E P 2 4 Operating system: Configuration change (planned)
P 2 16 Operating System: Service Pack (Planned)
2 17 Operating System: Hotfix (Unplanned)
P 2 17 Operating System: Hotfix (Planned)


I used a translationthing for it, as I get it in swedish.
My last suggestion was shutdown /s /f /t 0

Code:
shutdown /s /f /t 0

Go back and look at my previous post. Do the sfc restore health to fix any corrupt files. Then do the sfc scan.
 
Joined
Jul 1, 2023
Messages
22 (0.04/day)
System Name Mine
Processor Ryzen 3700x
Motherboard Gigabyte Aorus Elite
Cooling Watercooled, Alphacool and EKWB
Memory 32 Gb G.skill Flare X
Video Card(s) XFX RX 6700XT
Storage 2 Samsung 980 Pro 1Tb nvme, 1 Samsung 860 evo 1 Tb
Case Be Quiet! Silent Base 601
Okay, tried every tip I got from you guys, breadboxed it, using a live linux stick, sfc /scannow, DISM, and it just reboots still, so ordered a PSU tester to check the PSU (I dont have a spare).

So I will check the PSU when the tester arrives.
 

eidairaman1

The Exiled Airman
Joined
Jul 2, 2007
Messages
42,904 (6.71/day)
Location
Republic of Texas (True Patriot)
System Name PCGOD
Processor AMD FX 8350@ 5.0GHz
Motherboard Asus TUF 990FX Sabertooth R2 2901 Bios
Cooling Scythe Ashura, 2×BitFenix 230mm Spectre Pro LED (Blue,Green), 2x BitFenix 140mm Spectre Pro LED
Memory 16 GB Gskill Ripjaws X 2133 (2400 OC, 10-10-12-20-20, 1T, 1.65V)
Video Card(s) AMD Radeon 290 Sapphire Vapor-X
Storage Samsung 840 Pro 256GB, WD Velociraptor 1TB
Display(s) NEC Multisync LCD 1700V (Display Port Adapter)
Case AeroCool Xpredator Evil Blue Edition
Audio Device(s) Creative Labs Sound Blaster ZxR
Power Supply Seasonic 1250 XM2 Series (XP3)
Mouse Roccat Kone XTD
Keyboard Roccat Ryos MK Pro
Software Windows 7 Pro 64
Okay, tried every tip I got from you guys, breadboxed it, using a live linux stick, sfc /scannow, DISM, and it just reboots still, so ordered a PSU tester to check the PSU (I dont have a spare).

So I will check the PSU when the tester arrives.
Im suspecting a faulty gigabyte motherboard
 
Top