Categories: Direct Access, Powershell
Manually remove Direct Access from a client
Post date:
Author: admin
If the client is unable to do a DNS lookup, remove the following in the registry to disable/remove Direct Access DNS config. 123456$reg = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows NT\DNSClient\DnsPolicyConfig' Get-ChildItem -Path $reg | ForEach {Remove-Item $_.pspath} Restart-Service DNSCache -force