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.”
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.
5. Update the GPO by running the command gpupdate/force and restart computer to check install the software on machine startup.
- https://www.advancedinstaller.com/user-guide/tutorial-simple.html
- https://www.advancedinstaller.com/user-guide/tutorial-gpo.html#tutorial-gpo
- https://www.advancedinstaller.com/user-guide/read-log.html#read-log
- Wrap EXE package into an MSI for GPO deployment:
https://www.advancedinstaller.com/user-guide/tutorial-convert-exe-to-msi.html
Disable UAC the machine.