TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Microsoft Edge
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Skype for Business
See all products »
Resources
Channel 9 Video
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Windows Update
Trials
Windows Server 2016
System Center 2016
Windows 10 Enterprise
SQL Server 2016
See all trials »
Related Sites
Microsoft Download Center
Microsoft Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Expert-led, virtual classes
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
Microsoft Official Courses On-Demand
Certifications
Certification overview
Special offers
MCSE Cloud Platform and Infrastructure
MCSE: Mobility
MCSE: Data Management and Analytics
MCSE Productivity
Other resources
Microsoft Events
Exam Replay
Born To Learn blog
Find technical communities in your area
Azure training
Official Practice Tests
Support options
For business
For developers
For IT professionals
For technical support
Support offerings
More support
Microsoft Premier Online
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Sign in
Home
Library
Wiki
Learn
Gallery
Downloads
Support
Forums
Blogs
Resources For IT Professionals
United States (English)
Россия (Pусский)
中国(简体中文)
Brasil (Português)
Skip to locale bar
Post an article
Translate this page
Powered by
Microsoft® Translator
Wikis - Page Details
First published by
Patris_70
(eMicrosoft Partne)
When:
20 Jul 2013 4:38 PM
Last revision by
Peter Geelen
(MVP, Microsoft Community Contributor)
When:
28 Apr 2019 6:06 PM
Revisions:
7
Comments:
6
Options
Subscribe to Article (RSS)
Share this
Engage!
Wiki Ninjas Blog
(
Announcements
)
Wiki Ninjas on Twitter
TechNet Wiki Discussion Forum
Can You Improve This Article?
Positively!
Click Sign In to add the tip, solution, correction or comment that will help other users.
Report inappropriate content using
these instructions
.
Wiki
>
TechNet Articles
>
Windows Server 2003: Migrate Local Users & Groups to 2008 R2 with Windows Server Migration Tools
Windows Server 2003: Migrate Local Users & Groups to 2008 R2 with Windows Server Migration Tools
Article
History
Windows Server 2003: Migrate Local Users & Groups to 2008 R2 with Windows Server Migration Tools
We have two Windows Server and both are in Workgroup.
DC2003 is Windows Server 2003 x86 and WIN2KR2 is Windows Server 2008 R2.
We need migrate local users and groups from Windows Server 2003 (
source server
) to Windows Server 2008 R2 (
destination server
) and we will using Windows Server Migration Tools feature.
Here is my local users and groups on WIN2K8R2 server, before doing anything.
Here is my local users and groups on DC2003 server, before doing anything.
On Windows Server 2008 R2 (
destination server
), click
Server Manager
, right click on
Features
, select
Add Features
, on Select Features page, select
Windows Server Migration Tools
, then click
Install
.
After installation is finished, click
Start
, select
Administrative Tools
and you can see
Windows Server Migration Tool
folder.
Now, need create deployment folders for source server by running the
Smigdeploy.exe
tool. Right click on
Command Promp
and click
Run as administrator
. change to the directory in which the smigdeploy.exe tool is stored. Run following command first:
cd %Windir%\System32\ServerMigrationTools\
Because my source server OS is Windows Server
2003 x86
, command format is:
SmigDeploy.exe /package /architecture X86 /os WS03 /path <deployment folder path>
My share folder path is
\\DC2003\Migration$
, I run following command:
SmigDeploy.exe /package /architecture X86 /os WS03 /path \\DC2003\Migration$
Now, we need
register
Windows Server Migration Tools on
source server
.
On Windows Server 2003 (
source server
), Click
Start
, click
Run
, type
cmd
, and then click
OK
. Change to the directory to which you copied the Windows Server Migration Tools deployment folder. In my case, I run following command first:
cd Migration\SMT_ws03_x86
then run following command to register Windows Server Migration Tools cmdlets:
.\Smigdeploy.exe
When registration is finished, a message is displayed that indicates that the registration finished successfully, and a Windows PowerShell session opens. You can click
Start
, select
Administrative Tools
and you can see
Windows Server Migration Tool
folder. Click
Windows Server Migration Tools
and run it.
We use
Export-SmigServerSetting
command on source server to migrate local users and groups. When we need migrate all, command format is:
Export-SmigServerSetting -User All -Group -Path <MigrationStorePath> -Verbose
My share folder path is
\\DC2003\Migration$\2003
, I run following command:
Export-SmigServerSetting -User All -Group -Path \\DC2003\Migration$\2003 -Verbose
Now, you are prompted to provide a password to encrypt the migration store. Write passwordt and press
Enter
.
As you see, created file name is
svrmig.mig
.
On Windows Server 2008 R2 (
destination server
), click
Start
, select
Administrative Tools
, select
Windows Server Migration Tools
folder, right click on
Windows Server Migration Tools
and click
Run as administrator
.
We use
Import-SmigServerSetting
command on destination server to import local users and groups. When we need import just Enabled users, command format is:
Import-SmigServerSetting -User Enabled -Group -Path <MigrationStorePath> -Verbose
My share folder path is
\\DC2003\Migration$\2003
, I run following command:
Import-SmigServerSetting -User Enabled -Group -Path \\DC2003\Migration$\2003 -Verbose
Now, you are prompted to enter a password (that is password in export step). Write passwordt and press
Enter
.
You can see, if user or group account already exists in server, the account does not migrate.
Now, we check migrated accounts.
Keep in mind, the
migrated local user accounts
will be disabled (
Account is disabled
) and have their properties set to (
User must change password at next logon
).
Source:
Install, Use, and Remove Windows Server Migration Tools
Please, if you find article useful, write your own article in TechNet Wiki to help TechNet Wiki community.