How to troubleshoot software installations by using Windows application management debug logging
Important This article contains information about how to modify the registry. Make sure to back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
256986 Description of the Microsoft Windows registry
When a problem occurs with a program that is deployed on a client computer by using Group Policy, a log file (Appmgmt.log) can be generated. This log file records information that is related to the advertisement, publishing, or assignment of Windows Installer applications by using Group Policy. This information, in conjunction with logging from the Windows Installer service, can help determine the cause of a software installation problem.
For more information about how to enable Windows Installer Logging, click the following article number to view the article in the Microsoft Knowledge Base:
223300 How to enable Windows Installer Logging
To enable diagnostic logging of Group Policy Software Installation processing, modify the registry on the computer where the program will be installed.
To enable diagnostic logging of Group Policy Software Installation processing, follow these steps:
Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.
- Click Start, click Run, type regedit in the Open box, and then click OK.
- In the left pane, locate and then click the following registry subkey:Note You may have to create the Diagnostics registry subkey.HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Diagnostics
- On the Edit menu, point to New, and then click DWORD Value.
- Type AppMgmtDebugLevel, and then press Enter.
- Double-click AppMgmtDebugLevel, type 4b in the Value data box, and then click OK.
- Quit Registry Editor.
- After you troubleshoot software installations by using Windows application management debug logging, we recommend that you delete the AppMgmtDebugLevel registry value to avoid performance degradation.
- Because of code changes in application management in Windows 8, debug logging is not working in Windows 8 or Windows Server 2012.
Article ID: 249621 - Last Review: 12/19/2013 18:37:00 - Revision: 7.0
Microsoft Windows 2000 Server, Microsoft Windows 2000 Advanced Server, Microsoft Windows 2000 Professional Edition, Microsoft Windows XP Professional, Windows Vista Enterprise, Windows 7 Professional, Windows Server 2008 Enterprise, Windows Server 2008 R2 Enterprise, Microsoft Windows Server 2003 R2 Enterprise Edition (32-Bit x86), Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
- kbhowto kbappdev kbenv kbinfo w2000apps KB249621