After Windows 7 is installed, the user's personal folders created are stored in the users folder on the system disk by default. How can I migrate my folders to other folders? After a number of articles on the experiment network, I have summarized the following methods, which should be successful. Some methods on the network are not successful, and some methods require third-party software.
Assume that you want to migrate user test to D: \ win7_users.
1. Log on as an administrator.
2. Create a personal folder under D: \ win7_users, such as test. Grant the full control permission of D: \ win7_users \ test to the user test in the Security Options dialog box of the folder.
3. Copy the contents of the original personal folder to the new personal folder. Note: If you use a general method to copy a folder, the recursive connection in the original folder link may fail, and a long folder path name may appear after the copy, making it difficult to delete it. Run the following command at the command prompt:
Robocopy c: \ Users \ test D: \ win7_users \ test *. */XJ/MIR
The/XJ option indicates that the folder link is skipped during replication.
4. Recreate the folder's cross join (juntion ). Cross-linking is primarily intended to be compatible with some old software (because these software directly obtains locations such as my documents through fixed folder names ). If you don't use the software, you can do it without doing this. Save the following code to D: \ win7_users \ test \ A. BAT and double-click it to run:
Mklink/J "Application Data" "appdata \ roaming"
Mklink/J "cookies" appdata \ roaming \ Microsoft \ Windows \ cookies"
Mklink/J "Local Settings" "appdata \ Local"
Mklink/J "My Documents ents" "Documents ents"
Mklink/J "nethood" "appdata \ roaming \ Microsoft \ Windows \ Network shortcuts"
Mklink/J "printhood" appdata \ roaming \ Microsoft \ Windows \ printer shortcuts"
Mklink/J "Recent" appdata \ roaming \ Microsoft \ Windows \ recent"
Mklink/J "sendto" "appdata \ roaming \ Microsoft \ Windows \ sendto"
Mklink/J "templates" "appdata \ roaming \ Microsoft \ Windows \ templates"
Mklink/J "Start Menu" "appdata \ roaming \ Microsoft \ Windows \ Start Menu"
Mklink/J "appdata \ Local \ Application Data" "appdata \ Local"
Mklink/J "appdata \ Local \ history" "appdata \ Local \ Microsoft \ Windows \ history"
Mklink/J "appdata \ Local \ Temporary Internet Files" "appdata \ Local \ Microsoft \ Windows \ Temporary Internet Files"
Mklink/J "appdata \ roaming \ Microsoft \ Windows \ Start Menu \ Program" "appdata \ roaming \ Microsoft \ Windows \ Start Menu \ Programs"
Mklink/J "Documents \ My music" "music"
Mklink/J "Documents \ my pictures" "pictures"
Mklink/J "events \ My videos" "videos"
5. Open the Registry Editor, find HKLM \ Software \ Microsoft \ Windows NT \ current version \ profilelist, find the branch of the user, and change the value of ProfileImagePath to the new personal folder location. For example, D: \ win7_users \ test
6. Use test to log on. Open the Registry Editor and find hkcu \ Software \ Microsoft \ Windows \ CurrentVersion \ Explorer \ shell folder. Change the names of all the following folders to new values. For example
Change all c: \ Users \ test to D: \ win7_users \ test
7. You can go back to the administrator account and rename the original personal folder. Try it for a while. If you feel there is no problem, you can delete it.