On Wed, 8 Feb 2006 19:23:05 -0000, "David Wood" <(E-Mail Removed)> wrote:
>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