The last day something unusual has started happening to my computer.. when ever i click shutdown from the start menu or shut down the computer in any way it restarts basically immediately after. The only way i have found to shutdown my computer is by unplugging the power or turning of the switch on the power supply which works temporarily but when i replug or connect it back to power it boots or restarts. Now this happened a while ago to me when i had xp and supposedly got fixed when i installed windows 7. I have tried a few things to fix it such as:
- Turn of wakeup options for network adapter in the device manager.
- Turned of automatic restart on failure in system restore and power management.
- Tried a system restore to a previous date.
- Turned off any wakeup options in bios.

Its also weird because my computer was working completely fine until yesterday when it started happening and i havnt installed anything new in the last few days so i dont see why it would just start doing this randomly.

anyway any help would be much appreciated... its not a major problem but enough to bug and annoy me so i want to fix it without reinstalling windows 7 because i dont want to do that and would be a big pain considering all the stuff i have to reinstall and find.

Dani AI

Generated

This note pulls the thread into a tight, practical troubleshooting path so the symptom described by — Windows choosing to restart instead of remaining powered off — can be isolated without a full reinstall. Replies from and offered command-based shutdown workarounds, while raised hardware (PSU/motherboard) concerns; the checklist below orders quick, non-destructive checks first, then deeper hardware diagnostics.

First-layer (OS/service) checks: determine whether Windows itself is requesting the restart by inspecting the System log in Event Viewer for entries at the shutdown time (look for entries that identify a requesting process versus unexpected power loss). Inspect scheduled wake sources and drivers that can wake the system; useful diagnostics include the powercfg queries and a system file check:

powercfg -lastwake
powercfg -waketimers
powercfg /devicequery wake_armed
powercfg /requests
sfc /scannow

Also consider a selective startup (msconfig: hide Microsoft services, disable the rest) and test after a clean boot. If the machine stays off in Safe Mode or after disabling non-Microsoft services, the cause is likely a driver/service.

Second-layer (firmware/hardware) checks: booting straight to Safe Mode and to a clean live environment is a quick way to separate software from hardware. Temporarily remove external USB devices and non-essential PCI cards. Verify BIOS/firmware settings that affect power behaviour after AC loss (terms vary: “Restore on AC Power Loss”, “AC Back”, “After Power Loss”). A simple front-panel test—disconnecting the case power-switch header (power off and unplug first) and using the two motherboard pins to power on/shut down—will reveal a stuck/shorted switch or cable without replacing parts.

If logs show kernel-power or unexpected-loss events, swap in a known-good PSU or test with minimal components to reveal a failing supply or motherboard fault. This approach complements the command suggestions already posted and ’s hardware point by guiding which layer (software, firmware, or hardware) needs targeted action rather than a full OS reinstall.

Recommended Answers

All 4 Replies

any one got any solutions or help?

There is one thing that comes to mid but it's kind of a long shot. Someone might have tampered with your "shutdown" button making it call the restart procedure rather then shutdown.
Try running:

shutdown -s -t0

//K0nserv

Or it could be hardware problem. Try changing the power supply unit in your computer. If the problem still occur than it could be your motherboard.

If you use windows vista or 7, try this one thing: start-->run-->cmd-->shutdown /p

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.