DESKTOP

Windows Server 2003 : Troubleshooting Software Deployed with Group Policy - Software Deployment Troubleshooting Scenarios

12/2/2013 2:35:47 AM

Tools to Troubleshoot Group Policy

As an administrator, you will likely have the task of finding solutions to problems with software deployed with Group Policy. If problems occur, you might need to perform some tests to verify that your Group Policy configuration is working properly, and diagnose and solve problems. Windows Server 2003 operating systems provide the following Group Policy troubleshooting tools to assist you in verifying your configuration and in diagnosing and solving problems:

  • Resultant Set Of Policy Wizard

  • Gpresult.exe

  • Gpupdate.exe

  • Event Viewer

  • Log files

Advanced Diagnostic Information

You can use the advanced diagnostic information provided in the Advanced Deployment Options dialog box to troubleshoot software deployed with Group Policy. The Advanced Deployment Options dialog box, lists the following:

  • Product Code A globally unique identifier (GUID) that identifies the application and its version.

  • Deployment Count Displays the number of times the package has been redeployed.

  • Script Name Displays the full path to the application assignment script (.aas file). An application assignment script contains instructions associated with the assignment or publication of a package and is generated for every published or assigned application in a GPO and stored in that domain’s GPO.

To view advanced diagnostic information, complete the following steps:

1.
Open the GPO console for the deployed application. In the Computer Configuration or User Configuration node, open Software Settings.

2.
Click the Software Installation node.

3.
In the details pane, right-click the package for which you want to view advanced diagnostic information and then click Properties.

4.
Click the Deployment tab, and then click Advanced.

Software Deployment Troubleshooting Scenarios

Table 1 describes some troubleshooting scenarios related to software deployed with Group Policy.

Table 1. Software Deployment Troubleshooting Scenarios
Problem: Published applications do not appear for the user in Add Or Remove Programs in Control Panel.
CauseSolution
The client is running Terminal Services on the desktop.Use Addiag.exe to see whether Terminal Services is running on the user’s desktop. Software deployed with Group Policy is not supported for Terminal Services clients. (Addiag.exe is a part of the Windows Support Tools on the Windows Server 2003 CD.)
Group Policy is not applied to this user.Run Gpresult.exe for the user to ensure that the GPO is applied to the user.
The user has not logged on since the GPO was created.Have the user log off and log back on. Ensure that the user is authenticated by the domain controller.
The GPO did not run.Run Gpresult.exe to verify that the GPO runs.
The user cannot access Active Directory.Check to see whether the user can access Active Directory.
The user cannot access the SDP.Use Ping.exe to test connectivity. Check the user’s permissions on the SDP.
Problem: When a user activates a document with the extension used in a published application, the application does not install.
CauseSolution
Auto-install is not set.Ensure that Auto-Install This Application By File Extension Activation is checked in the Deployment tab in the Properties dialog box for the package.
Additional causes and solutions are listed in the “Published applications do not appear for the user in Add Or Remove Programs in Control Panel” problem. 
Problem: When a user activates a document with the extension used in a published application, an unexpected application automatically installs.
CauseSolution
The precedence of filename extensions has not been set properly.Check to see that the File Extensions tab in the Software Installation Properties dialog box has the correct application precedence set.
Problem: An application assigned to a computer does not install.
CauseSolution
The computer has not been restarted since the application was assigned and the GPO has not been applied.Restart the computer.
The GPO does not apply to the computer.Check the GPO console to make sure the GPO manages the computer.
Group Policy did not run.Run Gpresult.exe for the computer to ensure that the GPO is applied to the computer.
The computer is not able to access Active Directory.Use Ping.exe to test connectivity to the domain controller.
The computer is not able to access the SDP.Use Ping.exe to test connectivity to the SDP.
Problem: A user who has never installed a managed application selects the application to install. The installation begins, and one of many error messages appears.
CauseSolution
There are problems with the Windows Installer package.Install the package on another computer, and make sure the package can be opened.
The user does not have the appropriate permissions to read the Windows Installer package from the SDP or to install the application to the installation target folder as defined in the package.Verify that the user has Read permission on the SDP and Write access to the installation target directory.
Problem: A previously installed, assigned application is unexpectedly removed.
CauseSolution
The Uninstall The Applications When They Fall Out Of The Scope Of Management check box in the Advanced tab of the Software Installation Properties dialog box is selected and the scope of management has changed.Check to see whether the GPO containing the managed application still applies to the user or computer.
The software is managed by a GPO linked to a site or OU, and the computer moved to a new site or OU.Check to see whether the computer has moved to a new site or OU.
Problem: The user receives an error message such as “The feature you are trying to install cannot be found in the source directory.”
CauseSolution
There are network or permissions problems.Make sure the network is working correctly. Ensure that the user has Read and Apply Group Policy permissions for the GPO. Ensure that the folder containing the application on the SDP is shared. Ensure that the user has Read permission for the SDP. Ensure that the user has Read permission for the folder containing the application on the SDP.
Problem: After removal of an application, the shortcuts for the application still appear on the user’s desktop.
CauseSolution
The user has created shortcuts and the Windows Installer service has no knowledge of them.The user must remove the shortcuts manually.
Automatic upgrade of the application has left shortcuts for the application being upgraded.Check to see whether there is a new version of the application, and if so, delete the shortcuts.
Problem: The user attempts to install a published or assigned application and receives an error message such as “Another installation is already in progress.”
CauseSolution
The Windows Installer service is already running another installation.The user should wait for the installation to complete and try again later.
Problem: The user opens an already installed application, and the Windows Installer service starts.
CauseSolution
An application is undergoing automatic repair.In both cases, the user must wait for the installation to complete.
A feature is being added.
Problem: The administrator receives error messages such as “Active Directory will not allow the package to be deployed” or “Cannot prepare package for deployment.”
CauseSolution
The Windows Installer service cannot communicate with the computer on which the SDP is located.Use Ping.exe to test connectivity with the SDP.
The package is corrupted.Install the package on another computer, and make sure the package can be opened.

Real World: Troubleshooting Application Management Issues

If you are facing a difficult software distribution issue, and you’ve verified that the software deployment options are correct, you might want to enable Application Management debugging. To do this, you must go to the system experiencing the problem and log on as an administrator. You then enable Application Management debugging by editing the registry as described in the following steps:

  1. Click Start, click Run, type Regedit, and then press ENTER. In the Registry Editor, expand the following path: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion.

  2. Right-click the CurrentVersion key, point to New, and then click Key. Type Diagnostics as the new key name, and then press ENTER.

  3. Right-click the Diagnostics key, point to New, and then click DWORD Value. Type AppMgmtDebugLevel as the name of the new value, and then press ENTER. Double-click the AppMgmtDebugLevel value.

  4. In the Edit DWORD Value dialog box, type 4b in the Value Data box and then click OK. Close the Registry Editor.

Once you restart the computer (for applications assigned to the computer) or have logged on the user (for applications assigned or published to the user), you should be able to find the AppMgmt.log file in the %systemroot%\debug\usermode folder. Read the entries in this file to gain insight into the problems that are occurring with the application installation. If you don’t see this log file, it could be that the application deployment policy is not even reaching the local client system. This could be the case if the policy is disabled or possibly being filtered through inheritance blocking or security filtering.

After you complete your debugging, be sure to remove the AppMgmtDebugLevel key so that you don’t waste system resources logging information that you don’t require.

Other  
  •  Windows Server 2003 : Maintaining Software Deployed with Group Policy (part 2) - Removing Applications Deployed with Group Policy
  •  Windows Server 2003 : Maintaining Software Deployed with Group Policy (part 1) - Upgrading Applications Deployed with Group Policy
  •  Windows 7 : Using WDS for Multicast Deployments (part 2) - Creating a Multicast Deployment
  •  Windows 7 : Using WDS for Multicast Deployments (part 1) - How WDS Multicast Works
  •  Windows 7 : Tweaking Your WDS Server - Manage Domain Membership Using WDS
  •  Windows Server 2003 : Distributing Software with Group Policy (part 3) - Deploying Software with Group Policy
  •  Windows Server 2003 : Distributing Software with Group Policy (part 2) - Setting Windows Installer Package Properties
  •  Windows Server 2003 : Distributing Software with Group Policy (part 1) - Specifying Software Deployment Properties for the GPO
  •  Windows 7 : Tweaking Your WDS Server - Using WDS to Name Machines
  •  Windows 7 : Microsoft Deployment Toolkit 2010 - Deploying Your First Image
  •  
    Most View
    Vivid And Warm Sony Bravia KLD-55W954A
    Giants Of The Phone World (Part 1) : Lava IRIS 501
    Acer C7 Chromebook - An Inexpensive Chromebook
    Windows Server 2008 : Working with Active Directory Accounts - Redirecting Computer Accounts, Redirecting User Accounts
    Windows Server 2003 : TCP/IP for AD Transport, Access, and Support (part 3) - Configuring the Windows Time Service, NetBIOS and WINS in an AD Domain
    AMD Radeon HD 7970 3GB GHz Edition
    Windows Server 2012 : Planning, implementing, and managing Group Policy (part 2) - Group Policy and Active Directory design
    Windows 8 : Using other management tools remotely (part 2) - Windows PowerShell
    Windows 8 : Managing Application Virtualization and Run Levels (part 1) - Application Access Tokens and Location Virtualization, Application Integrity and Run Levels
    Windows 8 : Monitoring, optimizing, and troubleshooting system health and performance (part 2) - App history, Startup, Services
    REVIEW
    - First look: Apple Watch

    - 3 Tips for Maintaining Your Cell Phone Battery (part 1)

    - 3 Tips for Maintaining Your Cell Phone Battery (part 2)
    VIDEO TUTORIAL
    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 1)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 2)

    - How to create your first Swimlane Diagram or Cross-Functional Flowchart Diagram by using Microsoft Visio 2010 (Part 3)
    Popular Tags
    Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Biztalk Exchange Server Microsoft LynC Server Microsoft Dynamic Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Indesign Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe After Effects Adobe Photoshop Adobe Fireworks Adobe Flash Catalyst Corel Painter X CorelDRAW X5 CorelDraw 10 QuarkXPress 8 windows Phone 7 windows Phone 8 BlackBerry Android Ipad Iphone iOS
    Top 10
    3 Tips for Maintaining Your Cell Phone Battery (part 2) - Discharge Smart, Use Smart
    3 Tips for Maintaining Your Cell Phone Battery (part 1) - Charge Smart
    OPEL MERIVA : Making a grand entrance
    FORD MONDEO 2.0 ECOBOOST : Modern Mondeo
    BMW 650i COUPE : Sexy retooling of BMW's 6-series
    BMW 120d; M135i - Finely tuned
    PHP Tutorials : Storing Images in MySQL with PHP (part 2) - Creating the HTML, Inserting the Image into MySQL
    PHP Tutorials : Storing Images in MySQL with PHP (part 1) - Why store binary files in MySQL using PHP?
    Java Tutorials : Nested For Loop (part 2) - Program to create a Two-Dimensional Array
    Java Tutorials : Nested For Loop (part 1)