L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Troubleshooting DirectAccess
Applies To: Windows Server 2012 R2, Windows Server 2012 Essentials, Windows Server 2012, Windows Server 2012 R2 Essentials, Windows Storage Server 2012 R2 Essentials
Follow these steps to troubleshoot Remote Access (DirectAccess) issues.
Issue
Resolution
Remote Access management console is unable to show the DirectAccess configuration
To restore missing configuration information
If you are troubleshooting a multisite deployment, ensure that the domain controller closest to the entry point is available.
Use the Get-DAEntrypointDC cmdlet to retrieve the name of the domain controller closest to the entry point. If the domain controller is not running, use the Set-DAEntryPointDC cmdlet to point to another domain controller.
Run gpresult from an elevated command prompt on the server to ensure the server is getting the DirectAccess Group Policy Objects.
Enable user interface (UI) logging.
Use the following command to start Windows PowerShell logging:
Disable Windows Powershell logging. Collect the Event Trace Log files. Also, collect all the logs from the %windir%/tracing folder.
Applying the DirectAccess configuration fails
To refresh the DirectAccess configuration
If you are troubleshooting a multisite deployment, ensure that the domain controller closest to the entry point is available.
Use the Get-DAEntrypointDC cmdlet to retrieve the name of the domain controller closest to the entry point. If the domain controller is not running, use the Set-DAEntryPointDC cmdlet to point to another domain controller.
Use the following command to start Windows Powershell logging:
After the failure occurs, disable Windows Powershell logging, and collect the Event Trace Log.
DirectAccess is configured, but clients are not able to connect to internal resources
To troubleshoot client connection issues
Click the Operations Status tab in the Remote Access Management console, and ensure that all the components show a green icon. If not, check the error details and follow the resolution steps.
Run the Remote Access Server Best Practices Analyzer (BPA). If there are any warnings or errors, follow the resolution steps to resolve the issue.
Encountering issues related to a multisite configuration (for example, enabling a multisite, adding entry points, or setting the domain controller for an entry point)
Encountering issues related to configuring load balancing (for example, the configuration fails when you enable load balancing, or there are issues when you add or remove servers from a cluster)
If you were enabling load balancing or adding a node, and the configuration refreshed when you clicked Apply, but the cluster didn’t form correctly on the server, run the following command: cmd.exe /c "reg add HKLM\SYSTEM\CurrentControlSet\Services\RaMgmtSvc\Parameters /f /v DebugFlag /t REG_DWORD /d ""0xffffffff"" " to collect the user interface logs on the new server.
Operations status shows an error or warning after following steps to correct the situation
If the operations status is showing incorrect information (such as errors—even after you fix them):
Refresh the operations status and collect the logs from %windir%/tracing.
Windows® 8 and later DirectAccess client computers report "No Internet" as status for the DirectAccess connection, and Network Connectivity Status Indicator (NCSI) reports limited connectivity.
This can occur when Force Tunneling is enabled in the DirectAccess configuration and, because of this, only IPHTTPS is being used. To resolve this issue, you can create and configure a proxy server. NCSI then uses the proxy server to perform Internet connectivity checks. It is recommended that you add a static proxy to the Name Resolution Policy Table (NRPT) by using the following procedure.
Before you run the commands in this procedure, ensure that you replace all domain names, computer names, and other Windows PowerShell command variables with values that are appropriate for your deployment.
Note the name (GUID) of the "." NRPT rule. The name (GUID) should start with DA-{……..}
Set the proxy for the "." NRPT rule to proxy.corp.example.com:8080: Set-DnsClientNrptRule -Name "DA-{……..}" -Server <DomainControllerNetBIOSName> -GPOName "corp.example.com\DirectAccess Client Settings" -DAProxyServerName "proxy.corp.example.com:8080" -DAProxyType "UseProxyName"
Display the "." NRPT rule again by running Get-DnsClientNrptRule, and verify that ProxyFQDN:port is now correctly configured.
Refresh Group Policy by running gpupdate /force on a DirectAccess client when the client is connected internally, then display the NRPT using Get-DnsClientNrptPolicy and verify that the "." rule shows ProxyFQDN:port.