Corporate Resources
Ressources d’entreprise
Explanation
Specifies resources on your intranet that are normally accessible to DirectAccess clients. Each entry is a string that identifies the type of resource and the location of the resource.
Each string can be one of the following types:
- A DNS name or IPv6 address that NCA pings. The syntax is “PING:” followed by a fully qualified domain name (FQDN) that resolves to an IPv6 address, or an IPv6 address. Examples: PING:myserver.corp.contoso.com or PING:2002:836b:1::1.
Note
We recommend that you use FQDNs instead of IPv6 addresses wherever possible.
Important
At least one of the entries must be a PING: resource.
- A Uniform Resource Locator (URL) that NCA queries with a Hypertext Transfer Protocol (HTTP) request. The contents of the web page do not matter. The syntax is “HTTP:” followed by a URL. The host portion of the URL must resolve to an IPv6 address of a Web server or contain an IPv6 address. Examples: HTTP:http://myserver.corp.contoso.com/ or HTTP:http://2002:836b:1::1/.
- A Universal Naming Convention (UNC) path to a file that NCA checks for existence. The contents of the file do not matter. The syntax is “FILE:” followed by a UNC path. The ComputerName portion of the UNC path must resolve to an IPv6 address or contain an IPv6 address. Examples: FILE:\\myserver\myshare\test.txt or FILE:\\2002:836b:1::1\myshare\test.txt.
You must configure this setting to have complete NCA functionality.
Indique les ressources de votre intranet qui sont normalement accessibles aux clients DirectAccess. Chaque entrée est une chaîne qui identifie le type de ressource et l’emplacement de la ressource.
Chaque chaîne peut correspondre à l’un des types suivants :
- Nom DNS ou adresse IPv6 faisant l’objet d’un test Ping par l’Assistant Connectivité réseau. La syntaxe est « PING: » suivi d’un nom de domaine complet résolu en adresse IPv6 ou d’une adresse IPv6. Exemples : PING:myserver.corp.contoso.com ou PING:2002:836b:1::1.
Remarque
Nous vous recommandons d’utiliser les noms de domaine complets au lieu des adresses IPv6, chaque fois que cela est possible.
Important
Au moins une entrée doit être une ressource PING:.
- URL interrogée par l’Assistant Connectivité réseau via une requête HTTP. Le contenu de la page Web n’a pas d’importance. La syntaxe est « http: » suivi d’une URL. La partie hôte de l’URL doit être résolue en une adresse IPv6 d’un serveur Web ou contenir une adresse IPv6. Exemples : HTTP:http://myserver.corp.contoso.com/ ou HTTP:http://2002:836b:1::1/.
- Chemin d’accès UNC d’un fichier dont l’Assistant Connectivité réseau vérifie l’existence. Le contenu du fichier n’a pas d’importance. La syntaxe est « FILE: » suivi d’un chemin d’accès UNC. La partie nom_ordinateur du chemin d’accès UNC doit être résolue en une adresse IPv6 ou contenir une adresse IPv6. Exemples : FILE:\\mon_serveur\mon_partage\test.txt ou FILE:\\2002:836b:1::1\mon_partage\test.txt.
Vous devez configurer ce paramètre pour que la fonctionnalité NCA soit complète.
Registry
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityAssistant- Value name
- not defined in the ADMX
Enable / disable values: not defined in the ADMX (see the options below).
PowerShell
PowerShell commands that write to the registry what the policy would write. Values in angle brackets (<…>) must be replaced.
Writing directly to the registry bypasses Group Policy: if a GPO manages this value, it will be rewritten at the next gpupdate; otherwise the value stays in place (the "tattooing" effect). Prefer a GPO or, locally, LGPO.exe. Run PowerShell as administrator for HKLM. Some policies need a restart or gpupdate /force.
Enable
# Enable: nca/CorporateResources
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityAssistant\Probes'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Corporate Resources
$values = @('<value1>', '<value2>') # Replace the values with your own
foreach ($v in $values) { Set-ItemProperty -Path $k -Name $v -Value $v -Type String }Disable
# Disable: nca/CorporateResources
# No value is written in the "Disabled" state (nothing defined in the ADMX)Revert to "Not configured"
# Revert to "Not configured": nca/CorporateResources
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityAssistant\Probes'
Remove-Item -Path $k -Recurse -Force -ErrorAction SilentlyContinueOptions (1)
| Label | Control | Registry value | REG type | Constraints / details |
|---|---|---|---|---|
| Corporate ResourcesRessources d’entrepriseCorporateResources_Control | List (table)list | SOFTWARE\Policies\Microsoft\Windows\NetworkConnectivityAssistant\ProbesNumbered values (1, 2, 3…) · additive | REG_SZ (values under the key) |