Fix Random Restart on Windows 10