Windows To Go Default Startup Options
Options de démarrage par défaut de Windows sur clé USB
Explanation
This policy setting controls whether the PC will boot to Windows To Go if a USB device containing a Windows To Go workspace is connected, and controls whether users can make changes using the Windows To Go Startup Options Control Panel item.
If you enable this setting, booting to Windows To Go when a USB device is connected will be enabled, and users will not be able to make changes using the Windows To Go Startup Options Control Panel item.
If you disable this setting, booting to Windows To Go when a USB device is connected will not be enabled unless a user configures the option manually in the BIOS or other boot order configuration.
If you do not configure this setting, users who are members of the Administrators group can make changes using the Windows To Go Startup Options Control Panel item.
Ce paramètre de stratégie contrôle d’une part si l’ordinateur démarre sur Windows sur clé USB lorsqu’un périphérique USB contenant un espace de travail Windows sur clé USB est connecté, et d’autre part si les utilisateurs peuvent apporter des modifications à l’aide de l’élément Options de démarrage de Windows sur clé USB du Panneau de configuration.
Si vous activez ce paramètre de stratégie, le démarrage sur Windows sur clé USB lorsqu’un périphérique USB est connecté est activé et les utilisateurs ne peuvent pas apporter des modifications à l’aide de l’élément Options de démarrage de Windows sur clé USB du Panneau de configuration.
Si vous désactivez ce paramètre, le démarrage sur Windows sur clé USB lorsqu’un périphérique USB est connecté n’est pas activé sauf si un utilisateur configure cette option manuellement dans le BIOS ou une autre configuration de l’ordre de démarrage.
Si vous ne configurez pas ce paramètre, les utilisateurs qui sont membres du groupe Administrateurs peuvent apporter des modifications à l’aide de l’élément Option de démarrage de Windows sur clé USB du Panneau de configuration.
Registry
HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\PortableOperatingSystem- Value name
Launcher
| 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.
Enable
# Enable: ExternalBoot/PortableOperatingSystem_Launcher
$k = 'HKLM:\Software\Policies\Microsoft\PortableOperatingSystem'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Launcher' -Value 1 -Type DWordDisable
# Disable: ExternalBoot/PortableOperatingSystem_Launcher
$k = 'HKLM:\Software\Policies\Microsoft\PortableOperatingSystem'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
Set-ItemProperty -Path $k -Name 'Launcher' -Value 0 -Type DWordRevert to "Not configured"
# Revert to "Not configured": ExternalBoot/PortableOperatingSystem_Launcher
$k = 'HKLM:\Software\Policies\Microsoft\PortableOperatingSystem'
Remove-ItemProperty -Path $k -Name 'Launcher' -ErrorAction SilentlyContinue