본문 바로가기

나의 IT

윈도우7 기본 사용자 폴더 이동

SSD의 활성화로 기본사용자폴더 이동의 요구가 많아진듯 해서 한글화 합니다.

1. 사용자 계정(관리자)을 하나 추가합니다.

2. 원래 계정을 로그아웃하고, 새로 추가한 계정으로 로그인 합니다.

3. 사용자 폴더를 이동하고자 하는 폴더로 복사합니다.
exampel: c:\users\J 를 d:\Users\J로 복사
여기서 J는 기존 사용가 계정(옮기고자하는)이름

덧: 안전한 복사를 위해 터미널(cmd)에서 robocopy를 이용하시길 권장합니다.
robocopy /MIR /XJ C:\Users\J  D:\Users\J

3. 기존 사용자 계정 폴더 삭제
1. 윈도우키+R
2. cmd [엔터]
3. rmdir /S /Q c:\Users\J
4. 심볼링크 생성
즉, 컴퓨터한테 c:\Users\J위치에 d:\Users\J의 바로가기를 만들어서 컴퓨터나 사용자가 c:\Users\J를 선택하면 자동으로 d:\Users\J로 연결해주는 것

1. 윈도우키+R
2. cmd [엔터]
3. mklink /J C:\Users\J  D:\users\J
5. 로그아웃
기존 계정으로 로그인 하여 제대로 작동하는지 확인하고, 폴더 이동을 위해 생성한 임시 계정을 삭제


1.Enable administrator account and set a password for it.You can refer How to enable or disable administrator account in windows 7

2.Logoff and login with administrator account

3.Relocate your user data to other non-system partion,for example from C:\users\J  to D:\users\J

robocopy /MIR /XJ C:\Users\J  D:\Users\J

3.5 Delete old profile (or Original profile)

rmdir /S /Q C:\Users\J

Note:Do not forget to delete the old profile folder if it’s been relocated successfully

4.Use mklink to create a symbolic link from C:\users\J to D:\users\J

mklink /J C:\Users\J  D:\users\J

5.Re-login use your own ,you will find nothing changed,but in fact your physical user data is on drive D.

6.Done.The next time you re-install your OS ,just use the same user name, remove  C:\users\J then run the command of step 3 again then your user data is back.