Modify the registry to set the user directory of the WIN7 system to the D drive (other partitions)

  


Here is the directory of the Administrator user
1. First use PE to copy the C:\\Users\\Administrator folder to D:\\Users\\Administrator
2. Copy in the previous step After the completion, restart the computer, enter the registry: run Regedit
3. Enter this address: HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion\\ProfileList Find the item containing the Administrator settings information, I am here "S-1- 5-21-3304176512-2651245909-2883396162-500” Modify the value of "ProfileImagePath" to "D:\\Users\\Administrator". 4. Enter these two addresses: HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\ User Shell Folders and HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders change all default values ​​to “%USERPROFILE%\\Administrator” or “C:\\Users\\Administrator” to point to “D :\\Users\\Administrator”.
5. Make sure that there is already a corresponding folder in the D drive, and restart the computer and find that the application of the Administrator user directory uses the D drive.
6. You can go directly to the C drive to delete the folder that is not hidden or put it in another folder. You can test whether the system user has completely disconnected from these files and deleted it.
7. So far, the directory transfer of the system user Administrator has been successful.

Copyright © Windows knowledge All Rights Reserved