Registry entry to change from/to roaming profile

  • Thread starter Thread starter David Wood
  • Start date Start date
D

David Wood

Does anyone the reg entry in CURRENT_USER to make a profile local (or back)?
I need to run a script to do so
 
Does anyone the reg entry in CURRENT_USER to make a profile local (or back)?
I need to run a script to do so
See tip 5346 » How do I retrieve a user's ProfileImagePath in batch?
in the 'Tips & Tricks' at http://www.jsifaq.com

Also get the SID (see line 5) and use it to set the ProfileImagePath
reg add "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList\%sid%" /v ProfileImagePath /T REG_EXPAND_SZ /F /D "<The path>"


Jerold Schulman
Windows Server MVP
JSI, Inc.
http://www.jsiinc.com
http://www.jsifaq.com
 
Back
Top