Go to an intranet site for a one-word entry in the Address bar
Accéder à un site intranet à l’aide d’une entrée en un mot dans la barre d’adresses
Explanation
This policy allows the user to go directly to an intranet site for a one-word entry in the Address bar.
If you enable this policy setting, Internet Explorer goes directly to an intranet site for a one-word entry in the Address bar, if it is available.
If you disable or do not configure this policy setting, Internet Explorer does not go directly to an intranet site for a one-word entry in the Address bar.
Ce paramètre de stratégie permet à l’utilisateur d’accéder directement à un site intranet à l’aide d’une entrée en un mot dans la barre d’adresses.
Si vous activez ce paramètre de stratégie, Internet Explorer accède directement à un site intranet à partir d’une entrée en un mot dans la barre d’adresses, le cas échéant.
Si vous désactivez ce paramètre de stratégie ou si vous ne le configurez pas, Internet Explorer n’accède pas directement à un site intranet à partir d’une entrée en un mot dans la barre d’adresses.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Internet Explorer\MainHKEY_CURRENT_USER\Software\Policies\Microsoft\Internet Explorer\Main- Value name
GotoIntranetSiteForSingleWordEntry
| State | Value written |
|---|---|
| Enabled | REG_DWORD = 1 |
| Disabled | REG_DWORD = 0 |
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.
Computer (HKLM)
Enable
# Enable: inetres/UseIntranetSiteForOneWordEntry
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'GotoIntranetSiteForSingleWordEntry' -Value 1 -Type DWordDisable
# Disable: inetres/UseIntranetSiteForOneWordEntry
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'GotoIntranetSiteForSingleWordEntry' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": inetres/UseIntranetSiteForOneWordEntry
$k = 'HKLM:\Software\Policies\Microsoft\Internet Explorer\Main'
Remove-ItemProperty -Path $k -Name 'GotoIntranetSiteForSingleWordEntry' -ErrorAction SilentlyContinueUser (HKCU)
Enable
Disable
Revert to "Not configured"