Set user home folder(사용자 홈 폴더 설정) 레지스트리 값 HomeDirLocation 외 2개컴퓨터HKLM\Software\Policies\Microsoft\Windows\System

정책 ID
USER_HOME
범위
컴퓨터 구성
지원 OS
Windows Server 2012, Windows 8 또는 Windows RT 이상
출처
Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (버전 1.0)
카테고리
시스템 › 사용자 프로필

레지스트리

HomeDirLocation

REG_DWORD컴퓨터
활성 값
선택 값에 따름
요소
위치:
선택 값
항목저장 값
네트워크1
로컬 컴퓨터0
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System]

; 선택 항목 (하나만 사용)
; 네트워크
"HomeDirLocation"=dword:00000001
; 로컬 컴퓨터
"HomeDirLocation"=dword:00000000
CMD
:: 선택 항목 (하나만 사용)

:: 네트워크
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirLocation" /t REG_DWORD /d 1 /f
:: 로컬 컴퓨터
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirLocation" /t REG_DWORD /d 0 /f
PowerShell
# 공통: 키 만들기
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null

# 선택 항목 (하나만 사용)
# 네트워크
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirLocation' -PropertyType DWord -Value 1 -Force | Out-Null
# 로컬 컴퓨터
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirLocation' -PropertyType DWord -Value 0 -Force | Out-Null

HomeDir

REG_SZ컴퓨터
활성 값
선택 값에 따름
요소
경로:
값 타입
REG_SZ
필수
true
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System]

; 값 이름과 타입은 ADMX 기준. 아래 <값 입력>은 직접 채워야 함
"HomeDir"="<값 입력>"
CMD
:: 값 이름과 타입은 ADMX 기준. 아래 <값 입력>은 직접 채워야 함

reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDir" /t REG_SZ /d "<값 입력>" /f
PowerShell
# 값 이름과 타입은 ADMX 기준. 아래 <값 입력>은 직접 채워야 함

New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDir' -PropertyType String -Value '<값 입력>' -Force | Out-Null

HomeDirDrive

REG_SZ컴퓨터
활성 값
선택 값에 따름
요소
드라이브 문자
선택 값
항목저장 값
G:G:
H:H:
I:I:
J:J:
K:K:
L:L:
M:M:
N:N:
O:O:
P:P:
Q:Q:
R:R:
S:S:
T:T:
U:U:
V:V:
W:W:
X:X:
Y:Y:
Z:Z:
.reg · CMD · PowerShell로 적용하기
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\System]

; 선택 항목 (하나만 사용)
; G:
"HomeDirDrive"="G:"
; H:
"HomeDirDrive"="H:"
; I:
"HomeDirDrive"="I:"
; J:
"HomeDirDrive"="J:"
; K:
"HomeDirDrive"="K:"
; L:
"HomeDirDrive"="L:"
; M:
"HomeDirDrive"="M:"
; N:
"HomeDirDrive"="N:"
; O:
"HomeDirDrive"="O:"
; P:
"HomeDirDrive"="P:"
; Q:
"HomeDirDrive"="Q:"
; R:
"HomeDirDrive"="R:"
; S:
"HomeDirDrive"="S:"
; T:
"HomeDirDrive"="T:"
; U:
"HomeDirDrive"="U:"
; V:
"HomeDirDrive"="V:"
; W:
"HomeDirDrive"="W:"
; X:
"HomeDirDrive"="X:"
; Y:
"HomeDirDrive"="Y:"
; Z:
"HomeDirDrive"="Z:"
CMD
:: 선택 항목 (하나만 사용)

:: G:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "G:" /f
:: H:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "H:" /f
:: I:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "I:" /f
:: J:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "J:" /f
:: K:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "K:" /f
:: L:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "L:" /f
:: M:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "M:" /f
:: N:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "N:" /f
:: O:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "O:" /f
:: P:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "P:" /f
:: Q:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "Q:" /f
:: R:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "R:" /f
:: S:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "S:" /f
:: T:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "T:" /f
:: U:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "U:" /f
:: V:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "V:" /f
:: W:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "W:" /f
:: X:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "X:" /f
:: Y:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "Y:" /f
:: Z:
reg add "HKLM\Software\Policies\Microsoft\Windows\System" /v "HomeDirDrive" /t REG_SZ /d "Z:" /f
PowerShell
# 공통: 키 만들기
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Force | Out-Null

# 선택 항목 (하나만 사용)
# G:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'G:' -Force | Out-Null
# H:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'H:' -Force | Out-Null
# I:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'I:' -Force | Out-Null
# J:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'J:' -Force | Out-Null
# K:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'K:' -Force | Out-Null
# L:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'L:' -Force | Out-Null
# M:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'M:' -Force | Out-Null
# N:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'N:' -Force | Out-Null
# O:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'O:' -Force | Out-Null
# P:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'P:' -Force | Out-Null
# Q:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'Q:' -Force | Out-Null
# R:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'R:' -Force | Out-Null
# S:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'S:' -Force | Out-Null
# T:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'T:' -Force | Out-Null
# U:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'U:' -Force | Out-Null
# V:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'V:' -Force | Out-Null
# W:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'W:' -Force | Out-Null
# X:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'X:' -Force | Out-Null
# Y:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'Y:' -Force | Out-Null
# Z:
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Windows\System' -Name 'HomeDirDrive' -PropertyType String -Value 'Z:' -Force | Out-Null