Open in the explorer

Set Temp Folders to Local Path

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

Explanation

NOTE: Once this policy is Enabled, only Disable will remove the registry value. Enabled to Not Configured will have NO EFFECT.

Redirects the TEMP, TMP, and INetCache paths to the local drive

Registry Entry: HKLM\SOFTWARE\FSLogix\Profiles\SetTempToLocalPath
Type: DWORD
Values: 0 = No Action, 1 = Redirect TEMP and TMP to Local Disk, 2 = Redirect INetCache to Local Disk, 3 = Redirect TEMP, TMP, INetCache to Local Disk

Registry

HKEY_LOCAL_MACHINE\Software\FSLogix\Profiles
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/ProfilesSetTempFolderstoLocalPath
$k = 'HKLM:\Software\FSLogix\Profiles'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
#
# Possible options:
#   Take no action = 0
#   Redirect TEMP and TMP to local drive = 1
#   Redirect INetCache to local drive = 2
#   Redirect TEMP, TMP and INetCache to local drive = 3
Set-ItemProperty -Path $k -Name 'SetTempToLocalPath' -Value 0 -Type DWord

Disable

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

Revert to "Not configured"

# Revert to "Not configured": fslogix/ProfilesSetTempFolderstoLocalPath
$k = 'HKLM:\Software\FSLogix\Profiles'
Remove-ItemProperty -Path $k -Name 'SetTempToLocalPath' -ErrorAction SilentlyContinue

Options (1)

LabelControlRegistry valueREG typeConstraints / details
ProfilesSetTempFolderstoLocalPathDrop-down listenumSetTempToLocalPathREG_DWORD
LabelValue
Take no actionREG_DWORD = 0
Redirect TEMP and TMP to local driveREG_DWORD = 1
Redirect INetCache to local driveREG_DWORD = 2
Redirect TEMP, TMP and INetCache to local driveREG_DWORD = 3

Application

FSLogix (Microsoft) — October 2026 templates

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