سلام دوستان توی computer management یک export list هست که میشه نام کاربران رو export کرد،حالا همین export رو بخایم imprt کنیم باید چی کنیم چون همچین گزینه ای نداره
Printable View
سلام دوستان توی computer management یک export list هست که میشه نام کاربران رو export کرد،حالا همین export رو بخایم imprt کنیم باید چی کنیم چون همچین گزینه ای نداره
ببین این مشکلتو حل میکنه: [URL="http://technet.microsoft.com/en-us/library/dd379531(WS.10).aspx"]Local User and Group Migration Guide[/URL]
[LEFT][LTR][B]To export local users and groups from the source
server[/B]
[LIST][*]
On the source server, do one of the following.
[LIST][*]On computers that are running Windows Server 2008 R2, open a
Windows Server Migration Tools custom Windows PowerShell session with elevated
user rights. To do this, click [B]Start[/B], click
[B]Administrative Tools[/B], click [B]Windows Server Migration
Tools[/B], right-click the [B]Windows Server Migration Tools[/B]
shortcut, and then click [B]Run as
administrator[/B].[/LIST][*]
If you opened the current Windows PowerShell session by using the Windows
Server Migration Tools shortcut on the [B]Start[/B] menu, skip this
step and go on to the next. Only load the Windows Server Migration Tools snap-in
in a Windows PowerShell session that was opened by using some other method, and
into which the snap-in has not already been loaded.
Load Windows Server Migration Tools into your Windows PowerShell session. To
load Windows Server Migration Tools, type the following, and then press
[B]Enter[/B].
[URL="http://javascript<strong></strong>:CopyCode('ctl00_MTCS_main_ctl07_code');"][COLOR=#0000ff]
[/COLOR]
Copy Code [/URL]
Add-PSSnapin Microsoft.Windows.ServerManager.Migration[*]
Export local users and groups to a migration store. Type the following
command, and then press [B]Enter[/B], in which
[I]MigrationStorePath[/I] represents the path of the location where you want
to store migrated data.
[URL="http://javascript<strong></strong>:CopyCode('ctl00_MTCS_main_ctl08_code');"][COLOR=#0000ff]
[/COLOR]
Copy Code [/URL]
Export-SmigServerSetting -User <Enabled | Disabled | All> -Group -Path <MigrationStorePath> -Verbose
Use one of the following values with the -User parameter, as shown in the
previous cmdlet.
[LIST][*][B]Disabled[/B] Export only disabled local
users[*][B]All[/B] Export both enabled and disabled
local users[/LIST][/LIST]
[TABLE]
[TR]
[/TR]
[TR]
[TD]You are prompted to provide a password to encrypt the migration store.
Remember this password, because you must provide the same password to import
data from the migration store on the destination server.
If the path is not a shared location to which the destination
server has access, you must copy the migration store to the destination server
manually, or to a location that this destination server can access as it runs
the [B]Import-SmigServerSetting[/B] cmdlet.
[/TD]
[/TR]
[/TABLE]
[B]To import local users and groups to the destination
server[/B]
[LIST][*]
Do one of the following.
[LIST][*]On the destination server, open a Windows PowerShell session
with elevated user rights. To do this, click [B]Start[/B], click
[B]All Programs[/B], click [B]Accessories[/B], open the
[B]Windows PowerShell[/B] folder, right-click [B]Windows
PowerShell[/B], and then click [B]Run as
administrator[/B].[/LIST][*]
If you opened the current Windows PowerShell session by using the Windows
Server Migration Tools shortcut on the [B]Start[/B] menu, skip this
step and go on to the next. Only load the Windows Server Migration Tools snap-in
in a Windows PowerShell session that was opened by using some other method, and
into which the snap-in has not already been loaded.
Load Windows Server Migration Tools into your Windows PowerShell session. To
load Windows Server Migration Tools, type the following, and then press
[B]Enter[/B].
[URL="http://javascript<strong></strong>:CopyCode('ctl00_MTCS_main_ctl10_code');"][COLOR=#0000ff]
[/COLOR]
Copy Code [/URL]
Add-PSSnapin Microsoft.Windows.ServerManager.Migration[*]
Import local users and groups from the migration store that you created in [URL="http://forum.persiannetworks.com/#BKMK_export"][COLOR=#0033cc]To export local users and groups from the source server[/COLOR][/URL].
Type the following command, and then press [B]Enter[/B], in which
[I]MigrationStorePath[/I] represents the path of the location from which you
want to import migrated data.
[URL="http://javascript<strong></strong>:CopyCode('ctl00_MTCS_main_ctl11_code');"][COLOR=#0000ff]
[/COLOR]
Copy Code [/URL]
Import-SmigServerSetting -User <Enabled | Disabled | All> -Group -Path <MigrationStorePath> -Verbose
Use one of the following values with the [B]-User[/B] parameter, as
shown in the previous cmdlet.
[LIST][*][B]Disabled[/B] Import only disabled local
users[*][B]All[/B] Import both enabled and disabled
local users[/LIST][/LIST][/LTR][/LEFT]