Batch File- Disable Restart on Error

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
eddieduce
Posts: 2
Joined: 04 Dec 2013 16:09

Batch File- Disable Restart on Error

#1 Post by eddieduce » 04 Dec 2013 16:23

Can someone please help me create a batch file to disable the Windows 7 auto restart on system error. I cant find one anywhere.


Thanks.

AiroNG
Posts: 46
Joined: 17 Nov 2013 15:00
Location: Germany

Re: Batch File- Disable Restart on Error

#2 Post by AiroNG » 04 Dec 2013 17:05

[mean-mode]
You could always try what what google says...

Or you could do this:
put the following code in a file, name it whateveryouwant.reg and then double-click it

Code: Select all

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl]
    “AutoReboot”=dword:00000000

[/mean-mode]

or if you don't want to have to look for yourself:

Code: Select all

@echo off
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\CrashControl /v AutoReboot /t REG_DWORD /d "0" /f


ps: yay! i could finally use lmgtfy.com :twisted:

Squashman
Expert
Posts: 4488
Joined: 23 Dec 2011 13:59

Re: Batch File- Disable Restart on Error

#3 Post by Squashman » 04 Dec 2013 17:46

OMG. LOL. I never knew that site existed. That is hilarious.

eddieduce
Posts: 2
Joined: 04 Dec 2013 16:09

Re: Batch File- Disable Restart on Error

#4 Post by eddieduce » 04 Dec 2013 17:47

I know how to google. no sarcasm needed, (although the site is funny). I just did not find any useful info. Thanks anyways.

Ed Dyreen
Expert
Posts: 1569
Joined: 16 May 2011 08:21
Location: Flanders(Belgium)
Contact:

Re: Batch File- Disable Restart on Error

#5 Post by Ed Dyreen » 04 Dec 2013 21:11

lol :roll:

Post Reply