0

I m facing an error while working . It shows a message "dwm.exe" has stopped working . and it is debugging in visual studio . it occurs if i have stopped moving mouse

enter image description here

magicandre1981
  • 27,895
  • 5
  • 86
  • 127
Dinesh Tomer
  • 37
  • 1
  • 6

1 Answers1

0

Go to the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AeDebug

Add a REG_DWORD value to the AutoExclusionList subkey, where the name is the name of the executable file and the value is 1. By default, the Desktop Window Manager (Dwm.exe) is excluded from automatic debugging because otherwise a system deadlock can occur if Dwm.exe stops responding (the user cannot see the interface displayed by the debugger because Dwm.exe isn't responding, and Dwm.exe cannot terminate because it is held by the debugger). Windows Server 2003 and Windows XP: The AutoExclusionList subkey is not available; thus you cannot exclude any application, including Dwm.exe, from automatic debugging. The default AeDebug registry entries can be represented as follows:

HKEY_LOCAL_MACHINE
   SOFTWARE
      Microsoft
         Windows NT
            CurrentVersion
               AeDebug
                  Auto = 1
                  AutoExclusionList
                     DWM.exe = 1
logi-kal
  • 7,107
  • 6
  • 31
  • 43