Jump to content

Copying registry settings from one user to a new user in Win XP


Recommended Posts

Posted

Hi all,

 

I have a logon for a local Windows XP user. This has had a number of registry changes made to restrict or prevent certain actions (prevent access to command prompt, prohibit access to control panel etc).

 

I want to create a second local user, and copy the registry settings from the existing one to the other. Or, to put it another way, I would like to create a second user, by coping the first.

 

I've tried to do it by copying the old user profile to a new user, in Control Panel>System>Advanced>User Profiles but this doesn't seem to copy all the registry settings.

 

Is there another way to do this?

 

By the way, this is a standalone Windows XP (SP3) machine, with no network / internet connections.

 

Thanks in advance for any help,

Posted (edited)

Or login as local administrator, run regedit

Goto: file

Load component (or something like that, i am not running an english version atm)

Import the ntuser.dat from the user you want parts of registry

Give the key a name (i am using as name: test)

Under HKEY_USERS you will fing the key: test

 

From there you can export the needed keys.

When done, goto File -> Remove component

Edited by gjdb
Posted
Would it be easier to copy the newly created user profile over the default profile > which will then be picked up by any new users? (you need to reboot in between steps to unlock any profiles of course ;))
Posted
Or login as local administrator, run regedit

Goto: file

Load component (or something like that, i am not running an english version atm)

Import the ntuser.dat from the user you want parts of registry

Give the key a name (i am using as name: test)

Under HKEY_USERS you will fing the key: test

 

From there you can export the needed keys.

When done, goto File -> Remove component

 

Go to HKLU in regedit, go File --> Load Hive, load the ntuser.dat from the already restriced profile. Give it a name (any name really), then right click the hive that appears under HKLU and go to Properties. Change the NTFS properties under the Security tab to allow the new user full access, and set this to apply to subfolders and files. Then click on the hive again, go to File -> Unload Hive. Now the registry settings will be copied across for the other user.

  • Thanks 1
Posted

Reg Shot ??

 

regshot | Download regshot software for free at SourceForge.net

 

If it will allow you - logon as the restricted user to run the above util which will create one reg file and then compare to the second user account - or do this in reverse, run it first on the second user account and compare the differences to the restricted user account and it should create a reg file with all the differences which you can then apply to the second account ??

  • Thanks 1
Posted
Hi.... can you clarify.... when you say HKLU, do you mean HKLM (because I don't have an HKLU in regedit)? and I presume you do this operation logged on as a local administrator?
Posted
Would it be easier to copy the newly created user profile over the default profile > which will then be picked up by any new users? (you need to reboot in between steps to unlock any profiles of course ;))

 

Have you tried this? Typically this is what we do is create local default user profiles for all of our images so it seems like this should work.

  • Thanks 1
Posted
Have you tried this? Typically this is what we do is create local default user profiles for all of our images so it seems like this should work.

Yeah I do it all the time

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



×
×
  • Create New...