Difference between revisions of "Windows/Move Documents and Settings"

From braindump
Jump to navigation Jump to search
Line 1: Line 1:
== Dump ==
== Dump ==
set sysdrv=SystemDrive
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList"
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList"
/v ProfilesDirectory
/v ProfilesDirectory
/t REG_EXPAND_SZ
/t REG_EXPAND_SZ
/d "%SystemDrive%\Documents and Settings"
/d "%%sysdrv%%\Documents and Settings"
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList"
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList"

Revision as of 20:02, 16 June 2012

Dump

set sysdrv=SystemDrive
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" 
  /v ProfilesDirectory 
  /t REG_EXPAND_SZ 
  /d "%%sysdrv%%\Documents and Settings"

reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList" 
  /v ProfilesDirectory 
  /t REG_EXPAND_SZ 
  /d "D:\Documents and Settings"