The following error is seen when trying to deploy a group policy:
"Error importing Settings to Object. An error occurred during the restore task, and the GPO CN={GUID},CN=Policies,CN=System,DC=Contoso,DC=corp ..."
![image.png]()
Click To See Full Image.
When enabling debug logging and "Group Policy Management Console" Logging in verbose mode, then try to deploy GPO to reproduce the issue and as soon as this error happens again look through the gpmgmt.log and (or) gpmgmtmanagement.log located at :
C:\Users\<GPOADMIN Service Account ID>\AppData\Local\Temp
You see an access denied on a specific file when attempting to the GPMC import to deploy the GPO, this is an indication that the service account does not have full permissions through all files in the affected GPO's SYSVOL folders. For example, you see in the logs an error which shows that the process stops when it hits the file "\\Contoso.corp\SysVol\Contoso.corp\Policies\{GUID}\Machine\comment.cmtx" and exits with an access denied.
Note that this is GPMC's comments file, this is separate from the comments fields in GPOADmin which are stored in the database, not in the GPO files.