I am using regedit.exe to set the value of
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Windows\ErrorMode
to the value 2. It is currently set to 0.
Does anyone know what the purpose of this registry key is
and what these two values mean?
First a question. Why are you changing a registry value if you have no
idea what it does? Some of the settings in the registry and changing them
can render your system unusable. Only change values of data in the
registry if you have a very specific reason for doing so, and know the
consequences of the change.
As far as the value you are asking about, it is used to determine which
errors appear as pop-up error messages that interrupt the user. ErrorMode
is a system-level control of pop-up error messages from system processes
and applications. Applications determine which of their errors can appear
as pop-up messages. ErrorMode can suppress only those pop-up messages that
applications can display.
The valid values for ErrorMode are as follows:
0 - All errors appear in pop-up messages.
1 - Errors from system processes do not appear in pop-up messages.
Application errors still appear in pop-up messages.
2 - Neither application errors nor system process errors appear in pop-up
messages. This value is designed for unattended computers.