Disabling Server Crash Boxes/Notification

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
markg
A regular
A regular
Posts: 36
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Jul 03, 2011 8:49 am

Disabling Server Crash Boxes/Notification

Post by markg »

im having an issue i need help on.

one of my tf2 instances is crashing periodically (steam related) so i need to have it auto restart. no big deal.

but, i keep getting a popup box showing the error. i want this box disabled, as i dont care what the errors are, i just want to restart the server. and the pop up box blocks he restart, as it thinks the game isnt fully crashed/closed.

this is what ive tried so far (and a subset normally works, maybe windows 2008r2 is different)
  • Computer configuration -> Administrative Templates
    Windows Components -> Windows Error Reporting
    Set "Prevent display of the user interface for critical errors" to Enabled
  • HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Windows\ErrorMode = 2
  • HKEY_CURRENT_USER\Software\ Microsoft\Windows\Windows Error Reporting\DontShowUI = enabled
its possible one or more of those are unnecessary for windows 2008r2, and its clear i need something else/more.

ideas?

thanks
User avatar
kraze
Former staff
Former staff
Posts: 4362
Joined: Fri Sep 17, 2010 9:06 am
Location: California

Re: Disabling Server Crash Boxes/Notification

Post by kraze »

Try adding this to your command line.

-nocrashdialog
@Kraze^NFo> Juski has a very valid point
@Juski> Got my new signature, thanks!
@Kraze^NFo> Out of context!
@Juski> Doesn't matter!
@Juski> You said I had a valid point! You can't take it back now! It's out there!
AciDPuke
A regular
A regular
Posts: 36
Joined: Tue Dec 15, 2009 8:14 pm

Re: Disabling Server Crash Boxes/Notification

Post by AciDPuke »

-nocrashdialog is fine in your command line but that's not the problem and has nothing to do with Windows Error Reporting

As Administrator

Go to your Control Panel / System and Security / Change User Account Control Settings

Move that slider down to....... never notify

Restart your computer and you wont deal with that pop up box again
User avatar
Edge100x
Founder
Founder
Posts: 13126
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Disabling Server Crash Boxes/Notification

Post by Edge100x »

-nocrashdialog is just what you need here. Even with error reporting disabled, TF2 will still pop up a box unless you put that on the command line.
markg
A regular
A regular
Posts: 36
Joined: Sun Jul 03, 2011 8:49 am

Re: Disabling Server Crash Boxes/Notification

Post by markg »

thanks, ill try that, as i have had uac disabled from day 1 and im still getting the crash dialogue.
Post Reply