| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
General Scripting - Migrate local machines local and global groups
I setup new computers for people all day long, and it's really tedious to move a users domain account to the local administrators group and any other sort of global and local groups and memberships that might of been setup on a previous machine.
Is there something out there I could use to say give it an old machinename and then it would query the old machines local and global user groups and copy them over to the new machine? Matt *this is my first post, please be gentle * |
|
#2
|
||||
|
||||
|
Hey, Matt. This really isn't a scripting question. I'm moving your thread to the OS section.
![]()
__________________
Click the image if at any point you don't like my decision.Scripting problems? Windows questions? Ask the Windows Guru! |
|
#3
|
|||
|
|||
|
My appologies
I'm sorry, I thought that maybe there was a way to use like PowerShell or something that would Query the WMI on a machine and batch create (mirror) the users/groups on another machine onto the one that you wanted.
|
|
#4
|
|||
|
|||
|
So i guess no one knows how to do this easily?
|
|
#5
|
||||
|
||||
|
Well, you can use PowerShell or WMI to query this information and save it to some type of file. Then you could use a similar method on the new machine to import the data.
However, have you tried using the Files and Settings Transfer Wizard? It should do everything that you are trying to do here. |
|
#6
|
||||
|
||||
|
Also, what exactly are you trying to move? Wouldn't domain user accounts be stored on the Domain Server??
If you're using Domain log in, you can simply log in with any valid user's credentials. It's independent of the current hardware. |
|
#7
|
|||
|
|||
|
Quote:
It doesn't copy local accounts and groups i don't even think the vista easy transfer does it either. |
|
#8
|
||||
|
||||
|
You're using local accounts/groups in conjunction with Domain users/groups? Is that what you're saying?
|
|
#9
|
|||
|
|||
|
Quote:
Well a local machine's Administrators group might contain a domain user account, etc. |
|
#10
|
||||
|
||||
|
In either case, what you are trying to do is called User State Migration and Microsoft provides utilities for this. We've already mentioned two of them: the Files and Settings Transfer Wizard in Windows XP and Windows Easy Transfer in Windows Vista. There is also a third utility used by both operating systems called the User State Migration Tool. This tool provides the functionality of both that have already been listed but also provides additional functionality for administrators in a domain environment. It ships in the various Resource Kits, but you can download the latest version of the USMT here.
In addition, here are two guides you may want to take a look at. The first is for migrating to Windows XP and the second is for migrating to Windows Vista. I hope these help. User State Migration in Windows XP Windows Vista Migration Step-By-Step Guide |
|
#11
|
|||
|
|||
|
Quote:
i'm aware of the USMT, but that contains a lot of configuration, and I don't want to migrate any files or settings, i just want to copy the local user accounts and groups |
|
#12
|
||||
|