Open in the explorer

Mirror Local OST To VHD

Type
Computer
GPO path
Computer Configuration › Policies › Administrative Templates › FSLogix › ODFC Containers
Supported on
v2105 or later
ADMX file
fslogix.admx
Internal name
fslogix/OdfcMirrorLocalOSTToVHD

Explanation

Sync existing local OST file (if any) to the VHD(x) when a new VHD(x) is created.

Registry Entry: HKLM\SOFTWARE\Policies\FSLogix\ODFC\MirrorLocalOSTToVHD
Type: DWORD
Values: 0 = Do not mirror, 1 = Copy to VHD, 2 = Move to VHD

Registry

HKEY_LOCAL_MACHINE\Software\Policies\FSLogix\ODFC
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: fslogix/OdfcMirrorLocalOSTToVHD
$k = 'HKLM:\Software\Policies\FSLogix\ODFC'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
#
# Possible options:
#   Do not mirror OST to VHD = 0
#   Copy OST to VHD = 1
#   Move OST to VHD = 2
Set-ItemProperty -Path $k -Name 'MirrorLocalOSTToVHD' -Value 0 -Type DWord

Disable

# Disable: fslogix/OdfcMirrorLocalOSTToVHD
# No value is written in the "Disabled" state (nothing defined in the ADMX)

Revert to "Not configured"

# Revert to "Not configured": fslogix/OdfcMirrorLocalOSTToVHD
$k = 'HKLM:\Software\Policies\FSLogix\ODFC'
Remove-ItemProperty -Path $k -Name 'MirrorLocalOSTToVHD' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
OdfcMirrorLocalOSTToVHDDrop-down listenumMirrorLocalOSTToVHDREG_DWORD
LabelValue
Do not mirror OST to VHDREG_DWORD = 0
Copy OST to VHDREG_DWORD = 1
Move OST to VHDREG_DWORD = 2

Application

FSLogix (Microsoft) — October 2026 templates

October 2026 templates from pl4nty/web-admx-tool.