PC keeps rebooting before displaying the login screen and then works fine

Abstract: Resolve PC rebooting before login by checking loose cables, overheating components, and failing power supply units.

Created: 2026-08-23 by
A PC that reboots before the login screen but works normally afterward is typically caused by a failing power supply unit, loose internal cables, or overheating components. The system completes its POST and loads the operating system kernel, but fails when the graphical interface initializes high GPU load or when voltage drops under specific conditions. Diagnosing this requires isolating hardware faults through systematic testing of power delivery, thermal management, and peripheral connections to identify the root cause of the instability.

Understanding the Boot Failure Pattern

The behavior described indicates that the computer successfully passes the Power-On Self-Test (POST) and loads the Windows bootloader. However, it crashes or reboots just as the user session is about to begin. This specific timing suggests that the issue is not with the core operating system files, which would prevent booting entirely, but rather with a component that becomes active during the initialization of the display driver or the user profile loading process. When you log in, the graphics card transitions from a low-power state to full performance mode. If the power supply cannot handle this sudden spike in current draw, the system will cut power and reboot. Similarly, if a connection is slightly loose, the vibration or thermal expansion during startup might break contact until the system cools down or resets. This pattern distinguishes the problem from bad RAM or corrupted disk sectors, which usually cause Blue Screens of Death (BSOD) with error codes visible on the screen.

Checking Internal Connections and Cables

One of the most common causes for intermittent rebooting is a loose cable inside the case. Over time, thermal cycling can cause connectors to expand and contract, potentially loosening the 24-pin motherboard connector or the PCIe power cables supplying the graphics card. Before opening the case, ensure that all external peripherals are disconnected to rule out short circuits in USB devices or external drives. Open the side panel of your desktop tower and inspect every power cable connected to the motherboard, CPU, and GPU. Reseat these connectors firmly by disconnecting them and plugging them back in. Pay special attention to the 8-pin EPS connector near the CPU socket and the 6/8-pin PCIe connectors on the graphics card. A slight wiggle test while the system is running (with caution) can sometimes reveal an intermittent connection that causes the reboot. If you recently added new hardware, such as additional storage or a new fan, ensure those connections are secure as well. For more insights on hardware stability, consider reviewing PC Won't Boot with New RAM Stick, which discusses similar symptoms related to internal component integration.

Monitoring Temperatures

Overheating can also trigger automatic reboots to protect components. Enter the BIOS/UEFI setup by pressing Del or F2 during startup and check the CPU and GPU temperatures at idle. If they are unusually high, even before reaching the login screen, there may be a failure in the cooling solution. Ensure the CPU cooler is properly mounted and that thermal paste has not dried out. Dust buildup in heatsinks and fans can restrict airflow, leading to thermal throttling or shutdowns. Cleaning the interior with compressed air can resolve airflow issues without requiring hardware replacement.

Testing the Power Supply Unit (PSU)

If connections are secure and temperatures are normal, the power supply unit is the primary suspect. A failing PSU may provide stable voltage during low-load scenarios (like the BIOS screen) but fail when the GPU draws more power during the login transition. To test this, you can use a PSU tester or swap in a known-good power supply temporarily. If you do not have a spare PSU, check the wattage rating against your system's total power consumption. An undersized PSU will struggle under load, causing random reboots. Additionally, listen for any unusual noises from the PSU, such as coil whine or clicking sounds, which indicate capacitor failure. If the system works fine after a cold boot but fails after being left on for a few hours, this points strongly to a PSU that degrades as it heats up. Replacing an old or insufficient PSU often resolves this exact symptom pattern.

Driver and Software Conflicts

While hardware is the likely culprit, software conflicts can mimic these symptoms. Corrupted graphics drivers may crash the display driver stack when the user profile loads, causing a reboot instead of a BSOD. Boot into Safe Mode by interrupting the startup process three times or using the Advanced Startup options. In Safe Mode, the system uses basic display drivers. If the PC stays stable in Safe Mode, uninstall your current graphics drivers using a tool like DDU (Display Driver Uninstaller) and reinstall the latest version from the manufacturer's website. Check the Event Viewer in Windows for critical errors logged around the time of the reboot. Look for events labeled "Kernel-Power" with event ID 41, which confirms an unexpected shutdown. Analyzing the dump files generated during these crashes can provide specific error codes that point to faulty drivers or hardware modules.

Peripheral and External Factors

Sometimes, the issue lies with external devices drawing too much power or causing electrical interference. Disconnect all non-essential USB devices, including webcams, microphones, and external hard drives. Test the system with only the keyboard, mouse, and monitor connected. If the problem persists, try a different power outlet or surge protector to rule out issues with your home's electrical wiring. Grounding issues can also cause instability, so ensure your PC is plugged into a properly grounded outlet. For users experiencing signal-related issues after forced shutdowns, understanding the relationship between power states and display output can be helpful. See No Signal to Monitors After Forced Shutdown for guidance on display connectivity problems that may overlap with boot instability.

Frequently Asked Questions

Why does my PC work fine after it reboots?

The system stabilizes because the initial high-load phase of the login sequence either succeeds on the second attempt or the component responsible for the fault has cooled down slightly. This transient behavior often indicates a marginal hardware failure, such as a PSU nearing the end of its life or a loose connection that temporarily reseats itself.

Can a virus cause random reboots before login?

Malware rarely causes immediate reboots during the boot process unless it corrupts critical system files, which would typically result in a BSOD. While some advanced malware can interfere with drivers, it is far more likely that a hardware fault or driver conflict is causing the power cycle. Run a full system scan in Safe Mode to rule out software threats.

How do I know if my power supply is failing?

Signs of a failing PSU include random shutdowns under load, unusual noises like clicking or buzzing, and the smell of burning electronics. You can test it by swapping in a known-good unit or using a multimeter to check voltage stability on the rails under load. If voltages drop below acceptable tolerances (e.g., 12V rail dropping below 11.4V), replace the unit immediately.

Should I update my BIOS if my PC keeps rebooting?

Updating the BIOS can sometimes fix compatibility issues with newer hardware or improve power management features. However, flashing the BIOS carries a risk; if the power cuts out during the update, it can brick the motherboard. Only update the BIOS if you have verified that other troubleshooting steps have failed and the manufacturer lists stability improvements for your specific model.

Does a faulty RAM stick cause reboots before login?

Faulty RAM usually causes Blue Screens of Death with memory-related error codes rather than silent reboots. However, in rare cases, a bad memory module can cause the system to hang or reset during the early stages of OS loading. Running the Windows Memory Diagnostic tool or MemTest86 can help identify and isolate defective RAM sticks.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More