Computer shutting down after plugging and detaching USB

I built this rig in July 2022 and bought all the parts around that time except for the case which is from 2015. This is my computer:

Bought in July 2022:

CPU: Intel Core i5-12600K Processor, 3.7 GHz w/ 10 (6P + 4E) Cores / 16 threads

Motherboard: Gigabyte B660M DS3H AX DDR4-3200, 7.1 Audio, Dual M. 2, 2.5G LAN, Wi-Fi 6, Bluetooth, RGB Fusion

CPU Cooler: Cooler Master Hyper 212 EVO V2 CPU Cooler w/ LGA1700

Memory: ADATA XPG GAMMIX D10 16 GB (2x8GB) DDR4-3200 CL16 Memory

Storage: Western Digital Black SN850 1TB NVMe M.2 PCI-E x4 SSD

Power Supply: Corsair RM White Series RM750 80+ Gold Fully Modular ATX Power Supply, 750 W

OS: Was on Windows 10 Pro Retail then upgraded to Windows 11

BIOS Vers: F6a

Temperature: constantly around 20°C

Bought in 2015:

Case: Fractal Design Define R5 ATX Mid Tower Case

I have built computers with my friend and this is our 6th build together and this rig has been problematic. Here are my issues:

  1. Whenever a peripheral (not keyboard or mouse) plugged into any USB port (front (Case) or back (motherboard) and properly disconnected after use, the computer would shut down after 4-6 hours.

  2. Shutdown is random and without warning. It would display “shutting down” message:

image
Once shut down, the power button on the case will not allow me to power on the computer. It would need to wait for around 2 hours before the power button can power on the computer or the computer may try to turn itself back on but then immediately shuts down at random.

  1. If the computer does power up, the boot failure message from BIOS will show

image

Selecting either option 1 or 2 will allow me to boot to Windows with no issues.

  1. Once the computer has randomly shut down once, it will randomly shut down even without any peripherals connected to any USB ports. Keyboard and mouse have stayed connected at all times. The computer would not be able to keep itself on for as short as 20 minutes and as long as 90 minutes. Once it shuts down, it will return the state in step 2 to 4.

  2. The problem can only be resolved if I reset the computer via Windows (full deletion of all files and reinstall Windows (either via USB or cloud). The problem will occur again whenever I connect via USB port.

What I have tried and the problem persists:

  • Since the problem occurred while it had Windows 10, I have upgraded to Windows 11
  • I have replaced the power supply unit with another
  • The set up is originally plugged into a power bar, but I have plugged into the wall socket and also used a different power bar. I have also tried plugging into different wall sockets in my house. House is 60 years old but had undergone renovations 15 years ago so the wall sockets were also installed at that time.
  • I have detached the RAM and try booting one stick at a time and in different slots.
  • I have detached all hard drives.
  • I have replaced the keyboard and mouse.
  • I have used different USB peripherals:
    • Different cables to charge phones or other mobile devices
    • USB drives
    • Hard drive docks
    • USB hub
  • I have taken out every component within the case and reseated it twice.
  • Computer is left on all the time and the power management settings are set to not shut down.
  • Computer is set to restart itself if it shuts down.

This problem did happen before I bought the new parts with my old rig but my old rig was 8+ years old and the processor was running slow so I thought it was time to build a new one anyway. Initially, the computer worked fine until I started using the USB ports. If I reset the entire computer (full wipe), and not use any USB ports (except for keyboard and mouse), the computer would stay on. This shutdown issue is with or without any of my external hard drives attached. I don’t have any lose or extra wires either.

I first brought it to the computer repair shop and dropped off all the peripherals that I usually used. They only identified that the USB hub as the culprit in shorting the rig. However, I only used the USB hub after this shutdown problem occurred so I am certain that it’s not the hub. The shop was only able to resolve the BIOS failure message by selecting the Windows boot. I brought it home and plugged in my usual USB drive in the front panel of my case and ejected it as usual and it started doing that shutdown cycle again. I brought it back to the repair shop and they have tried updating and rolling back BIOS and the problem persisted. Burn test and mem test revealed no issues. The repair shop then said it may be the motherboard, but then later said it may be the AIC connectors on the front panel of the case. They bypassed my case and used the front panel of a different case and the computer has not shutdown for 5 days but they also did not try attaching any peripherals yet which I am getting them to try this week as this was the trigger to my issues. Their suggestion is to replace the connector as “workaround” to turn on the computer at will since the power button of my case will not be used but my concern is keep the computer on and I am unsure if this workaround will help.

I did see this on another forum with the similar issue:

Any advice on what I should do?

Hello @faythadel,

welcome to this forum! I would, in your case have a look at the Windows event log, to learn about the events at the time of the shutdown.

Link about the Event viewer: Event Viewer – How to Access the Windows 10 Activity Log

I would also look into the front panel connector situation, as the shop seemed to have found a workaround. Maybe the mainboard and the case don’t work well together. Can you try to remove all non-essential connecters from the mainboard and retry the test?

Best regards

Mark

I would also recommend checking case cabling and standoffs with fine toothed comb. It smells like short or bad wiring to me.

Easiest way to check would be removing all the components outside the case and run it with in bench-top config with minimal peripherals.

Also the boot failure indicates that problem is low level, so you can safely ignore os, software and drivers as potential culprits.

3 Likes

If you can get a multi meter hooked up to the front panel switches and check them for continuity. While doing so move the wires around to see if there is a loose connection. Remember to put the multi meter into diode checking mode for the led’s.

1 Like

That sounds like some ground related fault on the front-panel PCB or related to it. Try separating the front panel from the case electrially.

1 Like

So the shop finally got back to me and the errors are below and happens around the time of the random shutdown:

Event ID 56:
The description for Event ID 56 from source Application Popup cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

ACPI
2

The message resource is present but the message was not found in the message table

then a critical error with Event ID 41:
The system has rebooted without cleanly shutting down first. This error could be caused if the system stopped responding, crashed, or lost power unexpectedly.

1 Like

Hi,

as others had assumed, this points towards an issue with the hardware. There could be a short curcuit somewhere, or the power supply is not stable, or there’s a RAM/Mainboard issue.

I found this on the internet: https://www.reddit.com/r/gigabyte/comments/140s0a5/event_id_56_acpi_2/

Can you try a different PSU maybe?

I also agree with running a test bench setup with a minimal amount of hardware/connections. Try to recreate the problem and keep adding hardware until everything is connected and running or you have identified the issue. If no issues can be identified then it is likely the case.

1 Like

Please copy the full details from event viewer, you can skip critical error 41 (it the result of the problem itself). That acpi error might be useful for diagnosis.

Then paste the data into code/quote block here.

Like this:

1 Like

where are you installing the fresh windows from? your own repo/dropbox/cdn.
are they old images containing personal data?. stop using them… you can download and mount them later as an iso and extract your personals and then delete the images.
why?.
they may be infected with malware or corrupted due to bitrot.

so use a fresh image, downloaded from microsoft.
https://www.microsoft.com/en-us/software-download/windows10%20
https://www.microsoft.com/en-us/software-download/windows11%20

as for the random offs, your sure they are random?..
download sysinternals suite and use process explorer.

there is a lot of tools in this toolbox that will help you set up extra logging
trace misbehaving programs and generally let you know what windows is doing…
yes its overwhelming to look at.
but read the help and you should find the tools you need along with how to use em.

oh and if your usb has options for power management in bios/eufi then set it to default or disabled.
and check your power plan making sure its not shutting things down.

Was that directed at me or op?

This topic was automatically closed 273 days after the last reply. New replies are no longer allowed.