Jump to content

How to make mangosd.exe always restart. [windows]


Recommended Posts

With this method your server will always restart and there will be no "Has stopped working" issues. I've been on the lookout for this for a couple of weeks and now that i found out myself i thought, why not share it.

 

Get a restarter, google or make your own in a .bat file. I am using this one: Click here

1. Open regedit.exe (you can type it in the Start Menu or run it through Task Manager)
2. Expand HKEY_LOCAL_MACHINE
3. In it, expand SOFTWARE
4. In it, expand Microsoft
5. In it, expand Windows
6. In it, Click on Windows Error Reporting (you should have reached HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\Windows Error Reporting)
7. Right-click on Windows Error Reporting, go to New and select DWORD (32-bit) Value
8. Give it the name DontShowUI (exactly as written here)
9. Open it (double-click) and in the field “Value data” type in the number 1

You’re now done in the regedit. No more “Has stopped working” dialogs will appear. And i quote Foereaper: "As a side note, this will prevent EVERY error box from showing for any other program as well, as well for debug builds. Use at your own risk", if you decide to turn them back on, just change the value of DontShowUI to the number 0, or just delete DontShowUI

 

Now open up your mangosd.conf file in your server folder and look up MaxCoreStuckTime, the current value is 0. Change it to anything above...10 i would say.

Restart your server so the changes takes place and then you're done.

 

Also i am using Windows Server 2008, it should  work on Windows 7 or higher too. I am not sure.

 

  • Like 1
Link to post
Share on other sites
  • antz pinned this topic
3 hours ago, Foereaper said:

As a side note, this will prevent EVERY error box from showing for any other program as well, as well for debug builds. Use at your own risk :P

Yeah, should have mention that hehe. At least i tagged the thread as "nondebugstuff"

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use