Registry entry to change from/to roaming profile

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
 
J

Jerold Schulman

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top