Sign in to follow this  
Followers 0
Wyleyrabbit

Create copy of windows user profle

4 posts in this topic

Hi Everyone,

I need to write a script that will change which profile a user account is associated with. Also, I'd like to be able to allow a windows xp box to join a domain without losing their existing profile from their machine.

How do I go about this?

Thanks.

Share this post


Link to post
Share on other sites



Are you on a domain? Is a user logging into the domain using one name and you want him to be able to choose which "profile" he gets? His login name will determine the profile. Are you using roaming profiles? Are you talking about the local profile or the profile on your profile server? I just don't get your intent. Please elaborate... :">


...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format

Share this post


Link to post
Share on other sites

Welcome to the forums!

I know you're new here, but I don't know your level of expertise with profiles and the registry...

Profile info is in "HKLM\Software\Microsoft\Windows NT\CurrentVersion\ProfileList"

Each subkey is based on the user's SID, which will be different between local accounts and domain accounts.

Besides re-pointing, you'll need to handle NTFS permissions, groups, etc...

*** WARNING ***

Check HKU\<SID> before making any changes, to make sure the hive is properly unloaded. (Logging out doesn't always do it right away, and I've seen someone lose their entire profile due to this)

Good luck!


[font="Tahoma"]"Tougher than the toughies and smarter than the smarties"[/font]

Share this post


Link to post
Share on other sites

(Logging out doesn't always do it right away, and I've seen someone lose their entire profile due to this)

Amen to that brother Skruge!

...by the way, it's pronounced: "JIF"... Bob Berry --- inventor of the GIF format

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0