Jump to content

Create copy of windows user profle


Recommended Posts

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.

Link to comment
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
Link to comment
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]

Link to comment
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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...