Saturday, 27 December 2014

GPO Software Deployment Failed - The error was : %%1274 and %%2

I'm trying to deploy an MSI setup via Group Policy using Software Installation Policy. I have followed a Software Deployment manual and configured the GPO Software_Deployment_GPO and updated GPO settings by gpupdate/force command and restarted the machine. But when I login into system, I have noticed the software was not installed and found the following events in the System Event log (Event 101 with error %%1274 and Event 103 with error %%2).

Event ID 101:
Source:        Application Management Group Policy
Event ID:      101
Level:         Warning
Description:  The assignment of application MyMSISetup from policy Software_Deployment_GPO failed.  The error was : %%1274
Event ID 103:
Source:        Application Management Group Policy
Event ID:      103
Level:         Error
Description: The removal of the assignment of application MyMSISetup from policy Software_Deployment_GPO failed.  The error was : %%2
After analyzed some time, found the problem for this issue is insufficient wait time to apply Group Policy.

Fix/Solution for GPO Software Deployment Error : %%1274 and %%2

Follow the below steps to increase policy processing wait time.

1. Open Software Installation Policy applied GPO (In my case: Software_Deployment_GPO) in Edit mode.
2. Navigate to "Computer Configuration > Policies > Administrative Templates > System > Group Policy"
3. In right-hand side, search and double-click the setting "Startup policy processing wait time."

GPO Software Deployment Failed - The error was : %%1274 and %%2

4. Enable the setting and set "Amount of time to wait (in seconds)" to a reasonable value for your environment, for instance "60". Now click the Apply button to apply settings.

GPO Software Deployment Failed - The error was : %%1274 and %%2

5. Update the GPO by running the command gpupdate/force and restart computer to check install the software on machine startup.

Advertisements
Advertisements

No comments:

Post a Comment