Bear with me as I set this up. Four weeks ago, I stood up a server with 2012R2 to build a domain. Everything went well, except the Windows 7 machines could not open the shares. As it turns out, Windows 7 could not use the added Encryption
feature when creating the shares, however, I already destroyed my server by reinstalling 2012R2 before I figured that out. Ever since, all Windows 10 machines are not able to get the Group Policy. I am on my fourth installation and rebuilding of
my domain.
I was afraid that some metadata might have been left over from the previous installs, so this last time I ran a Clean All during installation. I took my time like the first install, adding one role at a time, updating the server, and making my configuration. The roles installed are AD-CA, AD-DS, DNS, DHCP (inactive), File Server, FSRM, FS VSS, and Storage Services. Features are .NET 4.5, .NET 4.5 WCF Services TCP Port Sharing, GP Management, Remote Server Admin Tool>AD-DS & AD LDS Tools>Active
Directory module for PS, AS DS Tools>Active Directory Admin Center and AD DS Snap-Ins & CL Tools.
I set my default group policy to use 128 bit encryption, schannel requires encryption or signature always, and then other logins are negociated, but do not require encryption. I left default domain controller policy alone at first. I made several
other changes as well.
When I joined the Windows 10 machine A to the domain, it did not take all GPO's. I joined Windows 10 machine B and that did not take all GPO's. Both machines failed gpupdate, Event ID 1058 Error 5 Access Denied. I've looked this up for
hours, but could not find an answer that corrected my issue. Both machines were previously on the earlier domains and had residual evidence of that in the registry. Unfortunately, the newest login information/user was not updated with the current
data under HKLM\Software\Microsoft\Windows\CurrentVersion\GroupPolicy. History has the new domain name and the correct server name, but that was also the previous FQDM (changed it for security reasons by adding a secondary level)(subdomain.domain.com). That was machine A. Machine B, after joining to the domain had very little domain information. Only under History did it have the server name and the FQDM. The users had no domain info.
So, I realized that everything work when Windows 10 was never previous joined to a domain and that is when I took a fresh Windows 7 machine that was never on this domain or any previous and then installed Windows 10 as a clean install. I did not give
it time to do any updates and then quickly joined the PC to the domain and renamed it. The registry failed to get anything off the domain and failed gpupdate. The only other settings that may affect anything is to restrict anonymous logons or anonymous
anything and to exclude anonymous from Everyone user profile.
I then went through my server errors messages and made corrections. Most of the errors are due to services running before AD DS got fully running. I ran some CMD tests and all were successful. I do not remember all, but nltest was one. I ran Wireshark on both the server and Machine A and confirmed that the server is denying access to my Windows 10 machines. ON the server side, Invoke-GPUpdate machinename, or with the IP, fails as computer is not responding. Target is shutoff
or Remote Scheduled Task Management Firewall Rule disabled. CategoryInfo :OperationTimeout ArgumentException. FullyQualifiedErrorID:COMException,Microsoft,GroupPolicy.Commands.InvokeGPUpdateCommand.
When I run update from Group Policy>right-clickDomain>Group Policy Update... Fails Error Code 8007071a remote procedure call was cancelled.
Turned off all firewalls. Activated all possible services. Turned off IPv6. Ran Wireshark
Wireshark shows ldap binds successful, SMB2 negotiations as being successful, and then SMB2 Session Setup Response, Error: STATUS_ACCESS_DENIED followed by resets. This is the case whether I did a gpupdate from client or invoke-gpupdate from server.
Machine A Event Viewer under Applications&Services>Microsoft>Windows>GroupPolicy- system call to access specified file completed. Call failed after 32 milliseconds.
Event ID 7017 Error Code 5.
And then the System Log> Event ID 1058 Error 5.
I am able to browse the network to the share and open files/folders. Access is only denied with GPUpdate. DNS works well as all machines point to the DC, nslookup is good, I RDP into the DC using its domain name. There has to be a setting
somewhere on the server to allow this.
The server has SMB errors
SMB Session Authentication Failure
Client Name: \\192.168.186.104
Client Address: 192.168.186.104:4857
User Name: domainname\justinh
Session ID: 0xFFFFFFFFFFFFFFFF
Status: {Access Denied}
A process has requested access to an object, but has not been granted those access rights. (0xC0000022)
Guidance:
You should expect this error when attempting to connect to shares using incorrect credentials.
This error does not always indicate a problem with authorization, but mainly authentication. It is more common with non-Windows clients.
This error can occur when using incorrect usernames and passwords with NTLM, mismatched LmCompatibility settings between client and server, duplicate Kerberos service principal names, incorrect Kerberos ticket-granting service tickets, or Guest accounts without
Guest access enabled
Event ID 551 Error and these relate to each fail gpupdate.
Sorry this is so long, but I have been trying to figure this out for three weeks. Been all over Google, Microsoft, and other help sites.
Justin