Been pulling my hair out trying to figure this one out, and although I’ve found many posts with similar errors, none of the resolutions has worked for our situation. This is almost certainly operator error on my part, as I’m not an AD expert, but I’m spinning my wheels trying to solve this so I am hoping for some advice from someone much more skilled in AD and GPOs than myself.<\/p>\n
We have a simple SOHO domain with only one DC and 7 client workstations. For GPOs there are only 4 total for the domain. They all apply properly to the domain controller, but any workstation trying to apply them gets the following two error messages:<\/p>\n
The processing of Group Policy failed. Windows attempted to read the file \\\\xxxxxxx.com\\sysvol\\xxxxxxx.com\\Policies\\{31B2F340-016D-11D2-945F-00C04FB984F9}\\gpt.ini from a domain controller and was not successful. Group Policy settings may not be applied until this event is resolved. This issue may be transient and could be caused by one or more of the following:\na) Name Resolution/Network Connectivity to the current domain controller.\nb) File Replication Service Latency (a file created on another domain controller has not replicated to the current domain controller).\nc) The Distributed File System (DFS) client has been disabled.\nUser Policy could not be updated successfully. The following errors were encountered:\n\nThe processing of Group Policy failed. Windows could not apply the registry-based policy settings for the Group Policy object LDAP://CN=User,cn={31B2F340-016D-11D2-945F-00C04FB984F9},cn=policies,cn=system,DC=xxxxxxx,DC=com. Group Policy settings will not be resolved until this event is resolved. View the event details for more information on the file name and path that caused the failure.\n<\/code><\/pre>\n
Advertisement
I’ve tried the following with no luck so far:<\/p>\n
\n- Verified client computers can ping DC with both ip and DNS name<\/li>\n
- Ensured policies were linked to the correct OUs<\/li>\n
- Verified that Authenticated Users and Domain Computers have read/write access to all policies applicable<\/li>\n
- Verified the SYSVOL permissions weren’t broken (from what I read, at least)<\/li>\n
- Created a new GPO with only one computer policy configuration, and unlinked and disabled all other policies. I receive the same error on this clean test GPO as well.<\/li>\n
- Disabled and unlinked the policy referenced in the GUIDs above, and then i receive the same errors on the next policy in the list<\/li>\n<\/ul>\n
Seems to be an issue or misconfiguration on the DC, but I just don’t have enough experience here to know where to start debugging further. Any ideas would be greatly appreciated.<\/p>","upvoteCount":11,"answerCount":14,"datePublished":"2023-12-17T17:00:03.000Z","author":{"@type":"Person","name":"ej-id10t","url":"https://community.spiceworks.com/u/ej-id10t"},"suggestedAnswer":[{"@type":"Answer","text":"
Been pulling my hair out trying to figure this one out, and although I’ve found many posts with similar errors, none of the resolutions has worked for our situation. This is almost certainly operator error on my part, as I’m not an AD expert, but I’m spinning my wheels trying to solve this so I am hoping for some advice from someone much more skilled in AD and GPOs than myself.<\/p>\n
We have a simple SOHO domain with only one DC and 7 client workstations. For GPOs there are only 4 total for the domain. They all apply properly to the domain controller, but any workstation trying to apply them gets the following two error messages:<\/p>\n
The processing of Group Policy failed. Windows attempted to read the file \\\\xxxxxxx.com\\sysvol\\xxxxxxx.com\\Policies\\{31B2F340-016D-11D2-945F-00C04FB984F9}\\gpt.ini from a domain controller and was not successful. Group Policy settings may not be applied until this event is resolved. This issue may be transient and could be caused by one or more of the following:\na) Name Resolution/Network Connectivity to the current domain controller.\nb) File Replication Service Latency (a file created on another domain controller has not replicated to the current domain controller).\nc) The Distributed File System (DFS) client has been disabled.\nUser Policy could not be updated successfully. The following errors were encountered:\n\nThe processing of Group Policy failed. Windows could not apply the registry-based policy settings for the Group Policy object LDAP://CN=User,cn={31B2F340-016D-11D2-945F-00C04FB984F9},cn=policies,cn=system,DC=xxxxxxx,DC=com. Group Policy settings will not be resolved until this event is resolved. View the event details for more information on the file name and path that caused the failure.\n<\/code><\/pre>\nI’ve tried the following with no luck so far:<\/p>\n
\n- Verified client computers can ping DC with both ip and DNS name<\/li>\n
- Ensured policies were linked to the correct OUs<\/li>\n
- Verified that Authenticated Users and Domain Computers have read/write access to all policies applicable<\/li>\n
- Verified the SYSVOL permissions weren’t broken (from what I read, at least)<\/li>\n
- Created a new GPO with only one computer policy configuration, and unlinked and disabled all other policies. I receive the same error on this clean test GPO as well.<\/li>\n
- Disabled and unlinked the policy referenced in the GUIDs above, and then i receive the same errors on the next policy in the list<\/li>\n<\/ul>\n
Seems to be an issue or misconfiguration on the DC, but I just don’t have enough experience here to know where to start debugging further. Any ideas would be greatly appreciated.<\/p>","upvoteCount":11,"datePublished":"2023-12-17T17:00:03.000Z","url":"https://community.spiceworks.com/t/group-policy-wont-apply-to-any-workstation/964069/1","author":{"@type":"Person","name":"ej-id10t","url":"https://community.spiceworks.com/u/ej-id10t"}},{"@type":"Answer","text":"
What DNS do the clients use.<\/p>\n
If they have anything other than only the DC, there’s your issue.<\/p>\n
For domains to work, clients need to use ONLY the DC(s) for DNS and never any Google DNS or other 3rd party DNS services.<\/p>\n
If a client pings yourdomain.com<\/a> does it resolve?<\/p>\nIs yourdomain.com<\/a> the same as yours or someone else’s public domain name?<\/p>","upvoteCount":0,"datePublished":"2023-12-17T20:23:52.000Z","url":"https://community.spiceworks.com/t/group-policy-wont-apply-to-any-workstation/964069/2","author":{"@type":"Person","name":"Rod-IT","url":"https://community.spiceworks.com/u/Rod-IT"}},{"@type":"Answer","text":"Yes all client dns settings point to the sole DC in the domain and there are no other servers named in the client settings. The DC points to its own IP address and 127.0.0.1 The DNS server in the DC points to the router as a forwarded server to resolve addresses that aren’t within the domain. The router is the only device explicitly using public DNS in the entire network, but any traffic that lands at the router DNS addresses would have (in theory) already been attempted to resolve on the domain first. That’s setup correctly, right?<\/p>","upvoteCount":0,"datePublished":"2023-12-17T20:57:10.000Z","url":"https://community.spiceworks.com/t/group-policy-wont-apply-to-any-workstation/964069/3","author":{"@type":"Person","name":"ej-id10t","url":"https://community.spiceworks.com/u/ej-id10t"}},{"@type":"Answer","text":"
Thanks - that seems good.<\/p>\n
Can the clients resolve the domain name - not just the DC or IP<\/p>\n
Can they ping and return domain.com<\/a> = ip-of-dc<\/p>","upvoteCount":1,"datePublished":"2023-12-17T21:39:13.000Z","url":"https://community.spiceworks.com/t/group-policy-wont-apply-to-any-workstation/964069/4","author":{"@type":"Person","name":"Rod-IT","url":"https://community.spiceworks.com/u/Rod-IT"}},{"@type":"Answer","text":"Yes a ping of XXXXX.com<\/a> from a client machine returns the proper IP address for the DC.<\/p>","upvoteCount":0,"datePublished":"2023-12-17T22:17:12.000Z","url":"https://community.spiceworks.com/t/group-policy-wont-apply-to-any-workstation/964069/5","author":{"@type":"Person","name":"ej-id10t","url":"https://community.spiceworks.com/u/ej-id10t"}},{"@type":"Answer","text":"Also recently tried to reset the BurFlags to reinitialize FRS, according to this article - Use BurFlags to reinitialize File Replication Service (FRS) - Windows Server | Microsoft Learn<\/a><\/p>\nbut, the keys mentioned here were not present in my registry. I assume because I’m only running one DC, and replication isn’t part of the process on this domain?<\/p>","upvoteCount":0,"datePublished":"2023-12-18T01:27:56.000Z","url":"https://community.spiceworks.com/t/group-policy-wont-apply-to-any-workstation/964069/6","author":{"@type":"Person","name":"ej-id10t","url":"https://community.spiceworks.com/u/ej-id10t"}},{"@type":"Answer","text":"
Can any of the 7 clients access the netlogon and sysvol shares from the DC?
\nIf on a client you browse to \\ad-domain-name\\ does it work? are the sysvol and netglogon shared shown?<\/p>\n
What changed before the GPOs stopped applying?<\/p>\n
It appears that the clients cannot access the sysvol to read the GPOs.<\/p>","upvoteCount":1,"datePublished":"2023-12-18T10:05:04.000Z","url":"https://community.spiceworks.com/t/group-policy-wont-apply-to-any-workstation/964069/7","author":{"@type":"Person","name":"matt7863","url":"https://community.spiceworks.com/u/matt7863"}},{"@type":"Answer","text":"
Yes and No, so we may be on to something here…<\/p>\n
When browsing from the client machines, they all can view the shares from the domain. There is a NETLOGON and SYSVOL share available there when clients (or the DC) browse into the domain level shares. However, when I open these shares from the client machines or the DC, NETLOGON appears empty. I verified the location of the NETLOGON share from server manager as: C:\\WINDOWS\\SYSVOL\\sysvol\\domain.com\\SCRIPTS. Authenticated users have read/write permissions to that folder. But when I look at that location, it is an empty folder?<\/p>\n
SYSVOL appears to be correct, having the domain folder that contains policies, scripts, and starterGPO folders, and corresponding guid folders for each policy, just a blank SCRIPTS folder where I’d expect NETLOGON to be.<\/p>","upvoteCount":0,"datePublished":"2023-12-18T12:32:16.000Z","url":"https://community.spiceworks.com/t/group-policy-wont-apply-to-any-workstation/964069/8","author":{"@type":"Person","name":"ej-id10t","url":"https://community.spiceworks.com/u/ej-id10t"}},{"@type":"Answer","text":"
Netlogon may well be empty if nothing has ever been placed there. As long as the sysvol share is accessible - and a client can browse into the folders containing the GPOs then they should be able to read them.<\/p>\n
I recommend following the GPO troubleshooting guide Applying Group Policy troubleshooting guidance - Windows Server | Microsoft Learn<\/a><\/p>\nFirst however do a gpresult to see if it gives any clues:
\ngpresult /h GPResult.htm
\ngpresult /r > GPResult.txt<\/p>\n
and check the results.<\/p>\n
This is a gide to logging on the client which should state why it is not finding the GPOs A Treatise on Group Policy Troubleshooting–now with GPSVC Log Analysis! - Microsoft Community Hub<\/a><\/p>\nmore GPO loggin Windows Group Policy | NXLog Docs<\/a><\/p>","upvoteCount":1,"datePublished":"2023-12-18T15:14:57.000Z","url":"https://community.spiceworks.com/t/group-policy-wont-apply-to-any-workstation/964069/9","author":{"@type":"Person","name":"matt7863","url":"https://community.spiceworks.com/u/matt7863"}},{"@type":"Answer","text":"Much appreciated. I’ll try these now and share any results/findings!<\/p>","upvoteCount":0,"datePublished":"2023-12-18T15:39:40.000Z","url":"https://community.spiceworks.com/t/group-policy-wont-apply-to-any-workstation/964069/10","author":{"@type":"Person","name":"ej-id10t","url":"https://community.spiceworks.com/u/ej-id10t"}},{"@type":"Answer","text":"
Thanks again.<\/p>\n
To report back, I ran a GPresult on a client machine and the only errors referenced mirrored the output from gpupdate/force listed at the top of this post. So, no new information there, unfortunately. At the bottom of the report, it does show that Default Domain Policy has been applied, yet the CLI on a GPupdate command errors out, so I’m assuming it hasn’t truly been applied.<\/p>\n
I went through the troubleshooting list you referenced from Applying Group Policy troubleshooting guidance - Windows Server | Microsoft Learn<\/a> on both the client and server event logs.<\/p>\n\n- The server only showed one error during a gpupdate /force from a client machine. This error may not be related to the issue, but interesting nonetheless. I say possibly unrelated because it is not consistent on each gpupdate session. But just so happens that the error was reported during one of my tests.<\/li>\n<\/ul>\n
<Data Name=\"ErrorCode\">183</Data> \n <Data Name=\"ErrorDescription\">Cannot create a file when that file already exists.</Data> \n<\/code><\/pre>\n\n- The client machine operational logs directly after a gpupdate/force shows the following (anonymized), in order:\n
\n- \n
successful gpo service initialization<\/p>\n<\/li>\n
- \n
GP service started<\/p>\n<\/li>\n
- \n
GP receives notification to create session from winlogon<\/p>\n<\/li>\n
- \n
GP session returned to winlogon<\/p>\n<\/li>\n
- \n
GP session started<\/p>\n<\/li>\n
- \n
successfully completed the GP service initialization phase<\/p>\n<\/li>\n
- \n
GP client service is currently configured as a standalone service<\/p>\n<\/li>\n
- \n
Initializing and reading current service configuration for the Group Policy Client service.<\/p>\n<\/li>\n
- \n
Initializing service instance state to detect previous instances of the service.<\/p>\n<\/li>\n
- \n
Group policy session completed successfully.<\/p>\n<\/li>\n
- \n
A previous instance of the Group Policy Client Service was detected. Parameter: 07602719-68a6-41a8-afa2-53650989a752<\/p>\n<\/li>\n
- \n
Group policy session completed successfully.<\/p>\n<\/li>\n
- \n
Starting manual processing of policy for computer DOMAIN\\CLIENTMACHINENAME$.
\nActivity id: {8fb9d708-5e06-4912-bd78-a1e787024278}<\/p>\n<\/li>\n
- \n
The Group Policy processing mode is Background.<\/p>\n<\/li>\n
- \n
Attempting to retrieve the account information.<\/p>\n<\/li>\n
- \n
Making system call to get account information.<\/p>\n<\/li>\n
- \n
The system call to get account information completed.
\nCN=CLIENTMACHINENAME,CN=Computers,DC=DOMAINNAME,DC=com
\nThe call completed in 47 milliseconds.<\/p>\n<\/li>\n
- \n
Retrieved account information.<\/p>\n<\/li>\n
- \n
Group Policy is trying to discover the Domain Controller information.<\/p>\n<\/li>\n
- \n
Retrieving Domain Controller details.<\/p>\n<\/li>\n
- \n
Making LDAP calls to connect and bind to Active Directory.<\/p>\n<\/li>\n
- \n
The LDAP call to connect and bind to Active Directory completed.
\nDOMAINCONTROLLERNAME.DOMAIN.com<\/a>
\nThe call completed in 78 milliseconds.
\nDOMAINCONTROLLERNAME.DOMAIN.com<\/a><\/p>\n<\/li>\n- \n
Domain Controller details:
\nDomain Controller Name : DOMAINCONTROLLERNAME.DOMAIN.com<\/a>
\nDomain Controller IP Address : 192.168.1.XX<\/p>\n<\/li>\n- \n
Group Policy successfully discovered the Domain Controller in 422 milliseconds.<\/p>\n<\/li>\n
- \n
Computer details:
\nComputer role : 2
\nNetwork name :<\/p>\n<\/li>\n
- \n
Account details:
\nAccount Name : CN=CLIENTMACHINENAME,CN=Computers,DC=DOMAIN,DC=com
\nAccount Domain Name : DOMAIN.com<\/a>
\nDC Name : \\DOMAINCONTROLLERNAME.DOMAIN.com
\nDC Domain Name : DOMAIN.com<\/a><\/p>\n<\/li>\n- \n
The loopback policy processing mode is “No loopback mode”.<\/p>\n<\/li>\n
- \n
Group Policy receiving applicable GPOs from the domain controller.<\/p>\n<\/li>\n
- \n
Starting to download policies.<\/p>\n<\/li>\n
- \n
Estimated network bandwidth on one of the connections: 419828 kbps.<\/p>\n<\/li>\n
- \n
A fast link was detected. The Estimated bandwidth is 3358 kbps. The slow link threshold is 500 kbps.<\/p>\n<\/li>\n
- \n
Making system calls to access specified file.
\n\\DOMAIN.com\\sysvol\\DOMAIN.com\\Policies{31B2F340-016D-11D2-945F-00C04FB984F9}\\gpt.ini<\/p>\n<\/li>\n
- \n
ERROR - The system calls to access specified file completed.<\/strong>
\n\\DOMAIN.com\\sysvol\\DOMAIN.com\\Policies{31B2F340-016D-11D2-945F-00C04FB984F9}\\gpt.ini<\/strong>
\nThe call failed after 94 milliseconds.<\/strong><\/p>\n<\/li>\n- \n
NOTE: This file actually does exist and is accessible via the DC file explorer and the client’s file explorer. The only difference is the capitalization in the file name, which I don’t think matters in a Win environment.<\/strong>- Downloaded policies with error.<\/p>\n<\/li>\n- \n
Group Policy successfully got applicable GPOs from the domain controller.<\/p>\n<\/li>\n
- \n
Completed manual processing of policy for computer DOMAIN\\CLIENTMACHINENAME$ in 1 seconds.<\/p>\n<\/li>\n
- \n
Starting manual processing of policy for user DOMAIN\\MYUSERACCOUNT.
\nActivity id: {ef732ad4-9a64-4326-a2d3-8fa02febe218}<\/p>\n<\/li>\n
- \n
The Group Policy processing mode is Background.<\/p>\n<\/li>\n
- \n
Attempting to retrieve the account information.<\/p>\n<\/li>\n
- \n
Making system call to get account information.<\/p>\n<\/li>\n
- \n
The system call to get account information completed.
\nCN=My Name,CN=Users,DC=DOMAIN,DC=com
\nThe call completed in 172 milliseconds.<\/p>\n<\/li>\n
- \n
Retrieved account information.<\/p>\n<\/li>\n
- \n
Group Policy is trying to discover the Domain Controller information.<\/p>\n<\/li>\n
- \n
Retrieving Domain Controller details.<\/p>\n<\/li>\n
- <\/li>\n
- \n
Making LDAP calls to connect and bind to Active Directory.<\/p>\n<\/li>\n
- \n
The LDAP call to connect and bind to Active Directory completed.
\nDOMAINCONTROLLERNAME.DOMAIN.com<\/a>
\nThe call completed in 15 milliseconds.<\/p>\n<\/li>\n- \n
Domain Controller details:<\/p>\n<\/li>\n
- \n
Domain Controller Name : DOMAINCONTROLLERNAME.DOMAIN.com<\/a>
\nDomain Controller IP Address : 192.168.1.XX<\/p>\n<\/li>\n- \n
Group Policy successfully discovered the Domain Controller in 328 milliseconds.<\/p>\n<\/li>\n
- \n
Computer details:
\nComputer role : 2
\nNetwork name :<\/p>\n<\/li>\n
- \n
Account details:
\nAccount Name : CN=EMy Name,CN=Users,DC=DOMAIN,DC=com
\nAccount Domain Name : DOMAIN.COM<\/a>
\nDC Name : \\DOMAINCONTROLLERNAME.DOMAIN.com
\nDC Domain Name : DOMAIN.COM<\/a><\/p>\n<\/li>\n- \n
The loopback policy processing mode is “No loopback mode”.<\/p>\n<\/li>\n
- \n
Group Policy receiving applicable GPOs from the domain controller.<\/p>\n<\/li>\n
- \n
Starting to download policies.<\/p>\n<\/li>\n
- \n
Estimated network bandwidth on one of the connections: 419828 kbps.<\/p>\n<\/li>\n
- \n
A fast link was detected. The Estimated bandwidth is 3358 kbps. The slow link threshold is 500 kbps.<\/p>\n<\/li>\n
- \n
Making system calls to access specified file.
\n\\DOMAIN.com\\sysvol\\DOMAIN.com\\Policies{31B2F340-016D-11D2-945F-00C04FB984F9}\\gpt.ini<\/p>\n<\/li>\n
- \n
The system calls to access specified file completed.
\n\\DOMAIN.com\\sysvol\\DOmain.com\\Policies{31B2F340-016D-11D2-945F-00C04FB984F9}\\gpt.ini
\nThe call completed in 187 milliseconds.<\/p>\n<\/li>\n
- \n
Successfully completed downloading policies.<\/p>\n<\/li>\n
- \n
Starting to save policies to the local datastore.<\/p>\n<\/li>\n
- \n
Successfully saved policies to the local datastore.<\/p>\n<\/li>\n
- \n
Group Policy successfully got applicable GPOs from the domain controller.<\/p>\n<\/li>\n
- \n
List of applicable Group Policy objects:<\/p>\n
Default Domain Policy<\/p>\n<\/li>\n
- \n
The following Group Policy objects were not applicable because they were filtered out :<\/p>\n
Local Group Policy
\nNot Applied (Empty)<\/p>\n<\/li>\n
- \n
Checking for Group Policy client extensions that are not part of the system.<\/p>\n<\/li>\n
- \n
Service configuration update to standalone is not required and will be skipped.<\/p>\n<\/li>\n
- \n
Finished checking for non-system extensions.<\/p>\n<\/li>\n
- \n
Starting Registry Extension Processing.<\/p>\n
List of applicable Group Policy objects: (Changes were detected.)<\/p>\n
Default Domain Policy<\/p>\n<\/li>\n
- \n
ERROR - Completed Registry Extension Processing in 31 milliseconds.<\/p>\n<\/li>\n
- \n
No error message provided in the event itself, but this is the detail view that does provide a code.<\/p>\n<\/li>\n
- \n
Error Code 2147500037<\/p>\n<\/li>\n
- \n
CSEExtensionName Registry<\/p>\n<\/li>\n
- \n
CSEExtensionId {35378eac-683f-11d2-a89a-00c04fbbcfa2}<\/p>\n<\/li>\n
- \n
Completed manual processing of policy for user DOMAIN\\MYUSERNAME in 1 seconds.<\/p>\n<\/li>\n
- \n
Starting manual processing of policy for computer DOMAIN\\CLIENTMACHINENAME$.
\nActivity id: {77c776d6-5a99-47e7-b885-98aac7b916c6}<\/p>\n<\/li>\n
- \n
The Group Policy processing mode is Background.<\/p>\n<\/li>\n
- \n
Attempting to retrieve the account information.<\/p>\n<\/li>\n
- \n
Making system call to get account information.<\/p>\n<\/li>\n
- \n
The system call to get account information completed.
\nCN=CLIENTMACHINENAME,CN=Computers,DC=DOMAIN,DC=com
\nThe call completed in 78 milliseconds.<\/p>\n<\/li>\n
- \n
Retrieved account information.<\/p>\n<\/li>\n
- \n
Group Policy is trying to discover the Domain Controller information.<\/p>\n<\/li>\n
- \n
Retrieving Domain Controller details.<\/p>\n<\/li>\n
- \n
<… similar event info messages as loops above until the following…><\/p>\n<\/li>\n
- \n
ERROR - The system calls to access specified file completed.<\/strong>
\n\\DOMAIN.com\\sysvol\\DOMAIN.com\\Policies{31B2F340-016D-11D2-945F-00C04FB984F9}\\gpt.ini<\/strong>
\nThe call failed after 31 milliseconds.<\/strong><\/p>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\nAfter looking through all this, with no luck, I read through this suggestion @matt7863<\/a> provided - A Treatise on Group Policy Troubleshooting–now with GPSVC Log Analysis! - Microsoft Community Hub<\/a> and enabled GPsvc logging on a client machine. I’ve attached those anonymized results of a manual gpupdate/force here as well.<\/p>\nBetween the event viewer logs and the GPsvc log attached here, I’m unfortunately, no closer to solving this one.<\/p>\n
\n- I don’t think its a dns issue at all, considering everything is setup as expected, and the client machines have no trouble pinging, browsing, or navigating the DC and the domain itself.<\/li>\n
- Permissions issues don’t make sense either. As you can see in the event viewer logs above, the gpt.ini file is inaccessible at one point in the process and then accessible later, and then inaccessible toward the end again. I created a blank GPO and mirrored those permissions to my default domain policy, and still receive the same errors.<\/li>\n<\/ul>\n
I’m truly stumped, but I appreciate your help with those possible debug options.<\/p>\n
8c366c42-263c-4ada-8e62-3b65f372f121-gpsvc.txt<\/a> (579 KB)<\/p>","upvoteCount":0,"datePublished":"2023-12-18T19:16:14.000Z","url":"https://community.spiceworks.com/t/group-policy-wont-apply-to-any-workstation/964069/11","author":{"@type":"Person","name":"ej-id10t","url":"https://community.spiceworks.com/u/ej-id10t"}},{"@type":"Answer","text":"