Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2012, Windows 8 or Windows RT
When the GPO stops applying: The value can stay behind (tattoo): this policy writes outside the Policies branches. Set it to the value you want left, let it apply, then remove the GPO. How cleanup works
| Registry key | HKLM\System\CurrentControlSet\Policies\Microsoft\PortableOperatingSystem |
|---|
| Value name | Hibernate |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor explanation)
Specifies whether the PC can use the hibernation sleep state (S4) when started from a Windows To Go workspace.
If you enable this setting, Windows, when started from a Windows To Go workspace, can hibernate the PC.
If you disable or don't configure this setting, Windows, when started from a Windows To Go workspace, can't hibernate the PC.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Portable Operating System > Allow hibernate (S4) when starting from a Windows To Go workspace
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\System\CurrentControlSet\Policies\Microsoft\PortableOperatingSystem' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies\Microsoft\PortableOperatingSystem' -Name 'Hibernate' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
ADMX: ExternalBoot.admx · policy name PortableOperatingSystem_Hibernate
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2012, Windows 8 or Windows RT
When the GPO stops applying: The value can stay behind (tattoo): this policy writes outside the Policies branches. Set it to the value you want left, let it apply, then remove the GPO. How cleanup works
| Registry key | HKLM\System\CurrentControlSet\Policies\Microsoft\PortableOperatingSystem |
|---|
| Value name | Sleep |
|---|
| Enabled writes | 0 (REG_DWORD) |
|---|
| Disabled writes | 1 (REG_DWORD) |
|---|
What it does (vendor explanation)
Specifies whether the PC can use standby sleep states (S1-S3) when starting from a Windows To Go workspace.
If you enable this setting, Windows, when started from a Windows To Go workspace, can't use standby states to make the PC sleep.
If you disable or don't configure this setting, Windows, when started from a Windows To Go workspace, can use standby states to make the PC sleep.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Portable Operating System > Disallow standby sleep states (S1-S3) when starting from a Windows to Go workspace
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\System\CurrentControlSet\Policies\Microsoft\PortableOperatingSystem' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Policies\Microsoft\PortableOperatingSystem' -Name 'Sleep' -Value 0 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
ADMX: ExternalBoot.admx · policy name PortableOperatingSystem_Sleep
Per machine Windows 11Windows Server 2025Windows Server 2022Windows Server 2019Windows Server 2016
Supported on: At least Windows Server 2012, Windows 8 or Windows RT
When the GPO stops applying: Windows removes the value (it is under a Policies branch). How cleanup works
| Registry key | HKLM\Software\Policies\Microsoft\PortableOperatingSystem |
|---|
| Value name | Launcher |
|---|
| Enabled writes | 1 (REG_DWORD) |
|---|
| Disabled writes | 0 (REG_DWORD) |
|---|
What it does (vendor 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.
Group Policy path: Computer Configuration > Administrative Templates > Windows Components > Portable Operating System > Windows To Go Default Startup Options
PowerShell equivalent (generated from the template)
New-Item -Path 'HKLM:\Software\Policies\Microsoft\PortableOperatingSystem' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\PortableOperatingSystem' -Name 'Launcher' -Value 1 -PropertyType DWord -Force
Group Policy or Intune is the supported way to set policies. Writing the same values directly works like a local policy and is removed by nothing: delete the values to return to "Not configured".
ADMX: ExternalBoot.admx · policy name PortableOperatingSystem_Launcher