A shutdown with error code 0x500FF is triggered by the operating system itself. It's not an explicit error, and determining the exact cause is difficult without more information (Microsoft is working on improving this):
Because of this, there could be several factors at play. Here are our recommendations to check:
Insufficient disk space
Make sure there's enough disk space for the installation or update download. One possible cause of the error is running out of disk space, which can trigger this code because it can’t write data.
Windows Update error
Check that Windows Update isn’t encountering errors, like (0x80240007). One potential cause could be an issue with updates. This might happen due to temporary update files, and often, the problem can be resolved by restarting the update service or rebooting the server after cleaning it up. You might find this article helpful:
- How to manually reset Windows Update components (Pendiente de traducir)
Lack of resources and shutdown during session
Another potential cause of the 0x500FF system stop could be a shutdown initiated from within the Windows session or a lack of resources (like an "out of memory" error). Because of this, we recommend disabling the option "Shutdown: Allow system to be shut down without having to log in" under Computer Configuration, Windows Settings, Security Settings, Local Policies, and Security Options.
You can open Local Security Policy directly from the Start screen by typing secpol.msc and pressing enter. After that, try disabling the option.
File corruption
Another possible cause is file corruption, so let's run an SFC scan.
The "SFC /scannow" command will scan all protected system files and replace any corrupted files with a cached copy located in the %WinDir%\System32\dllcache folder.
SFC /scannow
After that, run DISM commands to check for corruption and repair any issues it finds in the system you're logged into.
The CheckHealth option with the DISM tool allows you to check if there’s any corruption in the local Windows image. However, this option doesn’t perform any repairs.
DISM /Online /Cleanup-Image /CheckHealth
The ScanHealth option performs a more advanced scan to determine if there are any problems with the image.
DISM /Online /Cleanup-Image /ScanHealth
Finally, with the RestoreHealth option, we can proceed to fix any errors.
DISM /online /Cleanup-Image /RestoreHealth
This will ensure that all damaged system files are repaired. If you encounter error 0x800f081f or "The source files could not be found", download the ISO of the relevant Windows operating system and mount it. Then run the following command, replacing the drive letter with the one for the mounted ISO:
DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:X:\sources\install.wim:1 /LimitAccess
Remember, if you have any questions about this or any other issue related to your servers at Clouding, don’t hesitate to reach out to us at soporte@clouding.io. We’re here to help you with whatever you need!