en-US fslogix computer

VHD Access Mode

Verified with Microsoft FSLogix — updated on July 10, 2026

Supported on: v2105 or later

Path in the GPO console

Computer Configuration\Administrative Templates\FS Logix\ODFC Containers

Description

Controls whether the VHD/X file should be accessed directly or whether a difference disk should be used. The default is Direct Access (0) which is the same as "Not Configured". Registry Entry: HKLM\SOFTWARE\Policies\FSLogix\ODFC\VHDAccessMode Type: DWORD Values: 0 = Direct Access, 1 = DiffDisk on Network, 2 = Local DiffDisk, 3 = Unique Disk per Session

Registry

HKLM Software\Policies\FSLogix\ODFC

More options available

Options

VHDAccessMode enum
  • Direct Access -> 0
  • DiffDisk On Network -> 1
  • Local DiffDisk -> 2
  • Unique Disk per Session -> 3

Export Builder

BETA

Configure the state, scope and options, then generate .reg, PowerShell, Intune and SCCM outputs — or add the setting to a multi-setting collection.

These exports write the registry — this is not a managed GPO.

.reg file

Windows Registry Editor Version 5.00

; Exported from gporais.com
; Policy: VHD Access Mode
; State: Enabled
; Supported on: v2105 or later

[HKEY_LOCAL_MACHINE\Software\Policies\FSLogix\ODFC]
"VHDAccessMode"=dword:00000000
More formats (PowerShell, Intune, SCCM)

PowerShell

# Exported from gporais.com
# Policy: VHD Access Mode
# State: Enabled
# Supported on: v2105 or later

$path = 'HKLM:\Software\Policies\FSLogix\ODFC'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'VHDAccessMode' -Value 0 -Type DWord

Building a multi-setting collection? Add this setting and generate combined .reg / PowerShell / GPO scripts.

Open the Builder

Embed this policy on your site

What to embed
Theme

Adds one script line: the theme follows your site’s appearance and the height fits the content. If your site blocks scripts, the embed follows the visitor’s system theme.

Preview