Set user home folder

This policy setting allows you to specify the location and root (file share or local path) of a user's home folder for a logon session.

If you enable this policy setting, the user's home folder is configured to the specified local or network location, creating a new folder for each user name.

To use this policy setting, in the Location list, choose the location for the home folder. If you choose "On the network," enter the path to a file share in the Path box (for example, \\ComputerName\ShareName), and then choose the drive letter to assign to the file share. If you choose "On the local computer," enter a local path (for example, C:\HomeFolder) in the Path box.

Do not specify environment variables or ellipses in the path. Also, do not specify a placeholder for the user name because the user name will be appended at logon.

Note: The Drive letter box is ignored if you choose "On the local computer" from the Location list. If you choose "On the local computer" and enter a file share, the user's home folder will be placed in the network location without mapping the file share to a drive letter.

If you disable or do not configure this policy setting, the user's home folder is configured as specified in the user's Active Directory Domain Services account.

If the "Set Remote Desktop Services User Home Directory" policy setting is enabled, the "Set user home folder" policy setting has no effect.

Supported on: At least Windows Server 2012, Windows 8 or Windows RT
Location:


  1. On the network
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirLocation
    Value TypeREG_DWORD
    Value1
  2. On the local computer
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirLocation
    Value TypeREG_DWORD
    Value0

Path:

Registry HiveHKEY_LOCAL_MACHINE
Registry PathSoftware\Policies\Microsoft\Windows\System
Value NameHomeDir
Value TypeREG_SZ
Default Value

If you chose "On the Network," specify the drive letter for the mapped drive.

Drive letter


  1. G:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueG:
  2. H:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueH:
  3. I:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueI:
  4. J:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueJ:
  5. K:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueK:
  6. L:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueL:
  7. M:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueM:
  8. N:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueN:
  9. O:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueO:
  10. P:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueP:
  11. Q:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueQ:
  12. R:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueR:
  13. S:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueS:
  14. T:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueT:
  15. U:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueU:
  16. V:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueV:
  17. W:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueW:
  18. X:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueX:
  19. Y:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueY:
  20. Z:
    Registry HiveHKEY_LOCAL_MACHINE
    Registry PathSoftware\Policies\Microsoft\Windows\System
    Value NameHomeDirDrive
    Value TypeREG_SZ
    ValueZ:


userprofiles.admx

Administrative Templates (Computers)

Administrative Templates (Users)