Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: how to prevent auto RESTART

20 Feb 2015   #1

Windows XP 32 bit
how to prevent auto RESTART

Hi there,

There is a virus in my PC running Windows XP,

while i work, it's being restarted automatically and i can't prevent it, there is a "msconfig" command to disable Softwares being loaded in startup, but after i type this command in CMD, it's being restarted and all windows are being closed,

I tried to run in safe mode, with "F8" command, but it's happing the same.

any idea how to disable startUP programs ?


My System SpecsSystem Spec
20 Feb 2015   #2
Microsoft MVP


Uncheck everything in msconfig>Startup and >Services tabs after Hiding all MS Services.

I'd also run a full scan with Malwarebytes and SuperAntiSpyware, uninstall any AV bloatware and try the recommended ones, run SFC to test system file integrity from the Troubleshooting Steps for Windows 7.

If you have a rootkit or other serious trojan I'd google or ask back in our Security forum for specialized tools to run to remove it.
My System SpecsSystem Spec
20 Feb 2015   #3

Microsoft Windows 7 Ultimate 64-bits 7601 Multiprocessor Free Service Pack 1

DWORD = AutoReboot
0 = Auto Restart Disabled
1 = Auto Restart Enabled

There are other ways to see and control what startup items are active.
Probably some string in Windows HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run
or run. run once. run service. runservice once. etc. may have been edited or corrupted.

It's possible that the bootmanager itself is infected.

Try finding a program that load's itself from bootable device or only run in virtual memory and view the register.
Or repair the bootsection with the installationdisc.

Other options are autoboot programs and uninstallers that are able to view the list of startup options.

Perhaps this antivirus autobootprogram may help?
AVG Anti-Virus Rescue USB | Portable USB Applications

Download on a non infected PC en creat a flashdrive.

Can't you do a system restore?

You could also get sysinternals suite and run autoruns.exe and uncheck the startup process for the virus but that won't remove it

a program like "remove" let you view delete and backup entries or startups.

With regseeker you could also view the register, the startup programs, entries and strings.

Look at this page it's also in English available
What is Msconfig.exe and How to Fix It? Virus or Safe?

The first thing you need to do is to stop your PC from automatically shutting down. To do this, follow these steps:

Press the "Start" button, and then select "Run" .

Type "shutdown -a" (without the quotes). That's the "shutdown" command, with the "-a" option, which stands for "abort the pending shutdown".

Once the countdown begins telling you that the PC is going to shutdown in 59 seconds, etc. Press "OK" to stop the shutdown from occuring.


  1. From the Desktop right-click on My Computer.
  2. Click the Properties option.
  3. In the System Properties window click the Advanced tab or the Advanced system settings link.
  4. In Advanced click the Settings button under Startup and Recovery.
  5. In the Startup and Recovery window uncheck the Automatically restart check box.
  6. Click Ok.
My System SpecsSystem Spec


 how to prevent auto RESTART

Thread Tools

Similar help and support threads
Thread Forum
how do i prevent websites from auto-translating
Hello everyone I know this is not a problem concerning windows 7, but browsing in general. I still hope this is okay, because I got very good answers I last used this forum. I noticed over the last few months that there seems to be rising a new website standart, that automatically assumes ...
Browsers & Mail
Prevent auto install of drivers
Can anyone tell me if there is a way to prevent W7 installing drivers as soon as it detects new hardware. Thanks
How do you prevent auto user lock out on Win 7?
I put in a password for my account and after 10 minutes of in activity, the user is locked out and I have to enter my password. How do i prevent this? I need the password because I am using LogMeIn (free remote computer access) and i am required to have a password, not a blank one.
General Discussion
BSOD, forces restart but have auto restart off
So, I've been trying out Windows 7, and I've been pleasantly surprised for the most part. However, I've been getting several BSODs, including some 0x124 ones that I didn't have on this same computer using XP. The only new hardware I've installed is a hard drive. Anyways, the non-0x124 ones happen...
BSOD Help and Support
Auto restart even if uncheck automatic restart
i keep encounter this auto restart error therefore i decided to uncheck the automatic restart checkbox in system properties to get a BSOD so that i know what happen, but even if i uncheck it, my cpu still auto restart without generating a BSOD i also checked my windows folder but there are no...
BSOD Help and Support

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 15:48.
Twitter Facebook Google+