本帖最后由 foxfirefox 于 2019-4-29 17:24 编辑
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList 下最长sid 下的 "ProfileImagePath" "X:\Users\Administrator"
还有 环境变量修改成 下面,最后可以删除 X:\Users\temp和X:\Users\TEMP.MINWINPC目录
[HKEY_CURRENT_USER\Environment]
"*Favorites"="X:\\Users\\Administrator\\Favorites"
"*Desktop"="X:\\Users\\Administrator\\Desktop"
"*StartMenu"="X:\\Users\\Administrator\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu"
"*Startup"="X:\\Users\\Administrator\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs\\Startup"
"*Programs"="X:\\Users\\Administrator\\AppData\\Roaming\\Microsoft\\Windows\\Start Menu\\Programs"
"*SendTo"="X:\\Users\\Administrator\\AppData\\Roaming\\Microsoft\\Windows\\SendTo"
"*Personal"="X:\\Users\\Administrator\\Documents"
"*QuickLaunch"="X:\\Users\\Administrator\\AppData\\Roaming\\Microsoft\\Internet Explorer\\Quick Launch"
"Path"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\
00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,4c,00,\
6f,00,63,00,61,00,6c,00,5c,00,4d,00,69,00,63,00,72,00,6f,00,73,00,6f,00,66,\
00,74,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,77,00,73,00,41,00,70,00,70,00,\
73,00,3b,00,00,00
"TEMP"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,\
00,45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,4c,00,\
6f,00,63,00,61,00,6c,00,5c,00,54,00,65,00,6d,00,70,00,00,00
"TMP"=hex(2):25,00,55,00,53,00,45,00,52,00,50,00,52,00,4f,00,46,00,49,00,4c,00,\
45,00,25,00,5c,00,41,00,70,00,70,00,44,00,61,00,74,00,61,00,5c,00,4c,00,6f,\
00,63,00,61,00,6c,00,5c,00,54,00,65,00,6d,00,70,00,00,00
[HKEY_CURRENT_USER\Volatile Environment]
"USERPROFILE"="X:\\Users\\Administrator"
"HOMEPATH"="\\Users\\Administrator"
"APPDATA"="X:\\Users\\Administrator\\AppData\\Roaming"
"LOCALAPPDATA"="X:\\Users\\Administrator\\AppData\\Local" |