mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-12 13:27:23 +00:00
edits
This commit is contained in:
parent
e8fd1ed94b
commit
eb43e22550
@ -664,7 +664,7 @@ If you [enabled monitoring](#enable-monitoring), you can check the progress of t
|
|||||||
|
|
||||||

|

|
||||||
|
|
||||||
If there are problems with your task sequence, you can troubleshoot in Windows PE by pressing F8 to open a command prompt. There are several [MDT log files](https://docs.microsoft.com/configmgr/mdt/troubleshooting-reference#mdt-logs) created that can be helpful determining the origin of an error, such as BDD.log. You can copy these logs from the client to your MDT server for viewing with CMTrace (ex: copy *.log \\\\mdt01\\logs$).
|
If there are problems with your task sequence, you can troubleshoot in Windows PE by pressing F8 to open a command prompt. There are several [MDT log files](https://docs.microsoft.com/configmgr/mdt/troubleshooting-reference#mdt-logs) created that can be helpful determining the origin of an error, such as BDD.log. From the command line in Windows PE you can copy these logs from the client to your MDT server for viewing with CMTrace. For example: copy BDD.log \\\\mdt01\\logs$.
|
||||||
|
|
||||||
After some time, you will have a Windows 10 Enterprise x64 image that is fully patched and has run through Sysprep, located in the D:\\MDTBuildLab\\Captures folder on your deployment server. The file name is REFW10X64-001.wim.
|
After some time, you will have a Windows 10 Enterprise x64 image that is fully patched and has run through Sysprep, located in the D:\\MDTBuildLab\\Captures folder on your deployment server. The file name is REFW10X64-001.wim.
|
||||||
|
|
||||||
|
@ -21,14 +21,14 @@ ms.topic: article
|
|||||||
**Applies to**
|
**Applies to**
|
||||||
- Windows 10
|
- Windows 10
|
||||||
|
|
||||||
This topic will show you how to use MDT Lite Touch Installation (LTI) to upgrade a Windows 7 computer to a Windows 10 computer using the online computer refresh process. The computer refresh scenario is a reinstallation of the operating system on the same computer. You can refresh the device to the same operating system as it is currently running, or to a later version. In this article, the computer refresh will be done while the computer is online. MDT also supports an offline computer refresh. For more info on that scenario, see the USMTOfflineMigration property on the [MDT resource page](https://go.microsoft.com/fwlink/p/?LinkId=618117).
|
This topic will show you how to use MDT Lite Touch Installation (LTI) to upgrade a Windows 7 computer to a Windows 10 computer using the online computer refresh process. The computer refresh scenario is a reinstallation of an updated operating system on the same computer. You can also use this procedure to reinstall the same OS version. In this article, the computer refresh will be done while the computer is online. MDT also supports an offline computer refresh. For more info on that scenario, see the USMTOfflineMigration property on the [MDT resource page](https://go.microsoft.com/fwlink/p/?LinkId=618117).
|
||||||
|
|
||||||
For the purposes of this topic, we will use three computers: DC01, MDT01, and PC0001.
|
For the purposes of this topic, we will use three computers: DC01, MDT01, and PC0001.
|
||||||
- DC01 is a domain controller for the contoso.com domain.
|
- DC01 is a domain controller for the contoso.com domain.
|
||||||
- MDT01 is domain member server that hosts your deployment share.
|
- MDT01 is domain member server that hosts your deployment share.
|
||||||
- PC0001 is a domain member computer running a previous version of Windows that is going to be refreshed to a new version of Windows 10, with data and settings restored. The example used here is a computer running Windows 7 SP1.
|
- PC0001 is a domain member computer running a previous version of Windows that is going to be refreshed to a new version of Windows 10, with data and settings restored. The example used here is a computer running Windows 7 SP1.
|
||||||
|
|
||||||
Both DC01 and MDT01 are running Windows Server 2019; however a supported, earlier version of Windows Server can also be used. For more details on the setup for this topic, please see [Prepare for deployment with MDT](prepare-for-windows-deployment-with-mdt.md).
|
Both DC01 and MDT01 are running Windows Server 2019; however any supported version of Windows Server can be used. For more details on the setup for this topic, please see [Prepare for deployment with MDT](prepare-for-windows-deployment-with-mdt.md).
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -49,11 +49,11 @@ For a computer refresh with MDT, you use the User State Migration Tool (USMT), w
|
|||||||
During the computer refresh, USMT uses a feature called Hard-Link Migration Store. When you use this feature, the files are simply linked in the file system, which allows for fast migration, even when there is a lot of data.
|
During the computer refresh, USMT uses a feature called Hard-Link Migration Store. When you use this feature, the files are simply linked in the file system, which allows for fast migration, even when there is a lot of data.
|
||||||
|
|
||||||
>[!NOTE]
|
>[!NOTE]
|
||||||
>In addition to the USMT backup, you can enable an optional full Windows Imaging (WIM) backup of the machine by configuring the MDT rules. If you do this, a .wim file is created in addition to the USMT backup. The .wim file will contain the entire volume from the computer, and helpdesk personnel can extract content from it if needed. Please note that this is a data WIM backup only. Using this backup to restore the entire computer is not a supported scenario.
|
>In addition to the USMT backup, you can enable an optional full Windows Imaging (WIM) backup of the machine by configuring the MDT rules. If you do this, a .wim file is created in addition to the USMT backup. The .wim file contains the entire volume from the computer and helpdesk personnel can extract content from it if needed. Please note that this is a data WIM backup only. Using this backup to restore the entire computer is not a supported scenario.
|
||||||
|
|
||||||
### Multi-user migration
|
### Multi-user migration
|
||||||
|
|
||||||
By default, ScanState in USMT backs up all profiles on the machine, including local computer profiles. If you have a machine that has been in your environment for a while, it likely has several domain-based profiles on it, including those of former users. You can limit which profiles are backed up by configuring command-line switches to ScanState (added as rules in MDT).
|
By default, ScanState in USMT backs up all profiles on the machine, including local computer profiles. If you have a computer that has been in your environment for a while, it likely has several domain-based profiles on it, including those of former users. You can limit which profiles are backed up by configuring command-line switches to ScanState (added as rules in MDT).
|
||||||
|
|
||||||
For example, the following line configures USMT to migrate only domain user profiles and not profiles from the local SAM account database: ScanStateArgs=/ue:\*\\\* /ui:CONTOSO\\\*
|
For example, the following line configures USMT to migrate only domain user profiles and not profiles from the local SAM account database: ScanStateArgs=/ue:\*\\\* /ui:CONTOSO\\\*
|
||||||
|
|
||||||
@ -66,7 +66,7 @@ In addition to the command-line switches that control which profiles to migrate,
|
|||||||
|
|
||||||
### Multicast
|
### Multicast
|
||||||
|
|
||||||
Multicast is a technology designed to optimize simultaneous deployment to multiple devices. If you have a limited number of simultaneous deployments, you can disable multicast which was [configured in a previous procedure](deploy-a-windows-10-image-using-mdt.md#set-up-mdt-for-multicast) in this guide. You will also need to update the deployment share after changing this setting.
|
Multicast is a technology designed to optimize simultaneous deployment to multiple devices. If you have a limited number of simultaneous deployments, you should disable multicast which was [configured in a previous procedure](deploy-a-windows-10-image-using-mdt.md#set-up-mdt-for-multicast) in this guide. Disabling multicast will speed up deployment for a small number of computers. You will need to update the deployment share after changing this setting.
|
||||||
|
|
||||||
## Refresh a Windows 7 SP1 client
|
## Refresh a Windows 7 SP1 client
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ It is also assumed that you have a domain member client computer named PC0001 in
|
|||||||
### Upgrade (refresh) a Windows 7 SP1 client
|
### Upgrade (refresh) a Windows 7 SP1 client
|
||||||
|
|
||||||
>[!IMPORTANT]
|
>[!IMPORTANT]
|
||||||
>Domain join details [specified in the deployment share rules](deploy-a-windows-10-image-using-mdt.md#configure-the-rules) will be used to rejoin the computer to the domain during the refresh process. If the Windows 7 client is domain-jonied in a different OU than the one specified by MachineObjectOU, the domain join process will initially fail and then retry without specifying an OU. If the domain account that is specified (ex: MDT_JD) has [permissions limited to a specific OU](deploy-a-windows-10-image-using-mdt.md#step-1-configure-active-directory-permissions) then the domain join will ultimately fail, the refresh process will proceed, and the client computer object will be orphaned. In the current guide, computer objects should be located in Contoso > Computers > Workstations. Use the Active Directory Users and Computers console to move computer objects if needed. To diagnose MDT domain join errors, see **ZTIDomainJoin.log** in the C:\Windows\Temp\DeploymentLogs directory on the client computer.
|
>Domain join details [specified in the deployment share rules](deploy-a-windows-10-image-using-mdt.md#configure-the-rules) will be used to rejoin the computer to the domain during the refresh process. If the Windows 7 client is domain-jonied in a different OU than the one specified by MachineObjectOU, the domain join process will initially fail and then retry without specifying an OU. If the domain account that is specified (ex: **MDT_JD**) has [permissions limited to a specific OU](deploy-a-windows-10-image-using-mdt.md#step-1-configure-active-directory-permissions) then the domain join will ultimately fail, the refresh process will proceed, and the client computer object will be orphaned in Active Directory. In the current guide, computer objects should be located in Contoso > Computers > Workstations. Use the Active Directory Users and Computers console to review the location of computer objects and move them if needed. To diagnose MDT domain join errors, see **ZTIDomainJoin.log** in the C:\Windows\Temp\DeploymentLogs directory on the client computer.
|
||||||
|
|
||||||
1. On PC0001, sign in as **contoso\\Administrator** and start the Lite Touch Deploy Wizard by opening **\\\\MDT01\\MDTProduction$\\Scripts\\Litetouch.vbs**.
|
1. On PC0001, sign in as **contoso\\Administrator** and start the Lite Touch Deploy Wizard by opening **\\\\MDT01\\MDTProduction$\\Scripts\\Litetouch.vbs**.
|
||||||
2. Complete the deployment guide using the following settings:
|
2. Complete the deployment guide using the following settings:
|
||||||
@ -90,7 +90,7 @@ It is also assumed that you have a domain member client computer named PC0001 in
|
|||||||
* Computer name: <default>
|
* Computer name: <default>
|
||||||
* Specify where to save a complete computer backup: Do not back up the existing computer
|
* Specify where to save a complete computer backup: Do not back up the existing computer
|
||||||
>[!NOTE]
|
>[!NOTE]
|
||||||
>Skip this optional full WIM backup. The USMT backup will still run.
|
>Skip this optional full WIM backup that we are choosing not to perform. The USMT backup will still run.
|
||||||
* Select one or more applications to install: Install - Adobe Reader
|
* Select one or more applications to install: Install - Adobe Reader
|
||||||
|
|
||||||

|

|
||||||
|
@ -21,62 +21,73 @@ ms.topic: article
|
|||||||
**Applies to**
|
**Applies to**
|
||||||
- Windows 10
|
- Windows 10
|
||||||
|
|
||||||
A computer replace scenario for Windows 10 is quite similar to a computer refresh for Windows 10; however, because you are replacing a machine, you cannot store the backup on the old computer. Instead you need to store the backup to a location where the new computer can read it.
|
A computer replace scenario for Windows 10 is quite similar to a computer refresh for Windows 10. However, because you are replacing a device, you cannot store the backup on the old computer. Instead you need to store the backup to a location where the new computer can read it. The User State Migration Tool (USMT) will be used to back up and restore data and settings.
|
||||||
For the purposes of this topic, we will use four machines: DC01, MDT01, PC0002, and PC0007. DC01 is a domain controller and MDT01 is a Windows Server 2012 R2 standard server. PC0002 is an old machine running Windows 7 SP1. It is going to be replaced by a new Windows 10 machine, PC0007. User State Migration Tool (USMT) will be used to backup and restore data and settings. MDT01, PC0002, and PC0007 are members of the domain contoso.com for the fictitious Contoso Corporation. For more details on the setup for this topic, please see [Deploy Windows 10 with the Microsoft Deployment Toolkit](deploy-windows-10-with-the-microsoft-deployment-toolkit.md).
|
|
||||||
|
|
||||||

|
For the purposes of this topic, we will use four computers: DC01, MDT01, PC0002, and PC0007.
|
||||||
|
- DC01 is a domain controller for the contoso.com domain.
|
||||||
|
- MDT01 is domain member server that hosts your deployment share.
|
||||||
|
- PC0002 is an old computer running Windows 7 SP1 that will be replaced by PC0007.
|
||||||
|
- PC0007 is a new computer will have the Windows 10 OS installed prior to data from PC0002 being migrated. Both PC0002 and PC0007 are members of the contoso.com domain.
|
||||||
|
|
||||||
|
For more details on the setup for this topic, please see [Prepare for deployment with MDT](prepare-for-windows-deployment-with-mdt.md).
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
The computers used in this topic.
|
The computers used in this topic.
|
||||||
|
|
||||||
## Prepare for the computer replace
|
## Prepare for the computer replace
|
||||||
|
|
||||||
When preparing for the computer replace, you need to create a folder in which to store the backup, and a backup only task sequence that you run on the old computer.
|
To prepare for the computer replace, you need to create a folder in which to store the backup and a backup only task sequence to run on the old computer.
|
||||||
|
|
||||||
### Configure the rules on the Microsoft Deployment Toolkit (MDT) Production share
|
### Configure the rules on the Microsoft Deployment Toolkit (MDT) Production share
|
||||||
|
|
||||||
1. On MDT01, using the Deployment Workbench, update the MDT Production deployment share rules.
|
On **MDT01**:
|
||||||
2. Change the **SkipUserData=YES** option to **NO**, and click **OK**.
|
|
||||||
|
1. Open the Deployment Workbench, under **Deployment Shares** right-click **MDT Production**, click **Properties**, and then click the **Rules** tab.
|
||||||
|
2. Change the **SkipUserData=YES** option to **NO**, and click **OK**.
|
||||||
|
3. Right-click **MDT Production** and click **Update Deployment Share**. Click **Next**, **Next**, and **Finish** to complete the Update Deployment Share Wizard with the default setttings.
|
||||||
|
|
||||||
### Create and share the MigData folder
|
### Create and share the MigData folder
|
||||||
|
|
||||||
1. On MDT01, log on as **CONTOSO\\Administrator**.
|
On **MDT01**:
|
||||||
2. Create and share the **E:\\MigData** folder by running the following three commands in an elevated Windows PowerShell prompt:
|
|
||||||
|
1. Create and share the **D:\\MigData** folder by running the following three commands in an elevated Windows PowerShell prompt:
|
||||||
``` powershell
|
``` powershell
|
||||||
New-Item -Path E:\MigData -ItemType directory
|
New-Item -Path D:\MigData -ItemType directory
|
||||||
New-SmbShare -Name MigData$ -Path E:\MigData
|
New-SmbShare -Name MigData$ -Path D:\MigData -ChangeAccess EVERYONE
|
||||||
-ChangeAccess EVERYONE
|
icacls D:\MigData /grant '"MDT_BA":(OI)(CI)(M)'
|
||||||
icacls E:\MigData /grant '"MDT_BA":(OI)(CI)(M)'
|
|
||||||
```
|
```
|
||||||
### Create a backup only (replace) task sequence
|
### Create a backup only (replace) task sequence
|
||||||
|
|
||||||
3. On MDT01, using the Deployment Workbench, in the MDT Production deployment share, select the **Task Sequences** node and create a new folder named **Other**.
|
2. In Deployment Workbench, under the **MDT Production** deployment share, select the **Task Sequences** node and create a new folder named **Other**.
|
||||||
|
|
||||||
4. Right-click the **Other** folder and select **New Task Sequence**. Use the following settings for the New Task Sequence Wizard:
|
3. Right-click the **Other** folder and select **New Task Sequence**. Use the following settings for the New Task Sequence Wizard:
|
||||||
|
|
||||||
* Task sequence ID: REPLACE-001
|
* Task sequence ID: REPLACE-001
|
||||||
* Task sequence name: Backup Only Task Sequence
|
* Task sequence name: Backup Only Task Sequence
|
||||||
* Task sequence comments: Run USMT to backup user data and settings
|
* Task sequence comments: Run USMT to backup user data and settings
|
||||||
* Template: Standard Client Replace Task Sequence
|
* Template: Standard Client Replace Task Sequence
|
||||||
|
|
||||||
5. In the **Other** folder, double-click **Backup Only Task Sequence**, and then in the **Task Sequence** tab, review the sequence. Notice that it only contains a subset of the normal client task sequence actions.
|
4. In the **Other** folder, double-click **Backup Only Task Sequence**, and then in the **Task Sequence** tab, review the sequence. Notice that it only contains a subset of the normal client task sequence actions.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The Backup Only Task Sequence action list.
|
The Backup Only Task Sequence action list.
|
||||||
|
|
||||||
## <a href="" id="sec02"></a>Perform the computer replace
|
## Perform the computer replace
|
||||||
|
|
||||||
During a computer replace, these are the high-level steps that occur:
|
During a computer replace, these are the high-level steps that occur:
|
||||||
|
|
||||||
1. On the computer you are replacing, a special replace task sequence runs the USMT backup and, if you configured it, runs the optional full Window Imaging (WIM) backup.
|
1. On the computer you are replacing, a special replace task sequence runs the USMT backup and, if you configured it, runs the optional full Window Imaging (WIM) backup.
|
||||||
2. On the new machine, you perform a standard bare-metal deployment. At the end of the bare-metal deployment, the USMT backup from the old computer is restored.
|
2. On the new computer, you perform a standard bare-metal deployment. At the end of the bare-metal deployment, the USMT backup from the old computer is restored.
|
||||||
|
|
||||||
### Execute the replace task sequence
|
### Run the replace task sequence
|
||||||
|
|
||||||
1. On PC0002, log on as **CONTOSO\\Administrator**.
|
On **PC0002**:
|
||||||
2. Verify that you have write access to the **\\\\MDT01\\MigData$** share.
|
|
||||||
3. Execute **\\\\MDT01\\MDTProduction$\\Scripts\\LiteTouch.vbs**.
|
1. Sign in as **CONTOSO\\Administrator** and verify that you have write access to the **\\\\MDT01\\MigData$** share.
|
||||||
4. Complete the Windows Deployment Wizard using the following settings:
|
2. Run **\\\\MDT01\\MDTProduction$\\Scripts\\LiteTouch.vbs**.
|
||||||
|
3. Complete the Windows Deployment Wizard using the following settings:
|
||||||
|
|
||||||
1. Select a task sequence to execute on this computer: Backup Only Task Sequence
|
1. Select a task sequence to execute on this computer: Backup Only Task Sequence
|
||||||
* Specify where to save your data and settings: Specify a location
|
* Specify where to save your data and settings: Specify a location
|
||||||
@ -86,15 +97,14 @@ During a computer replace, these are the high-level steps that occur:
|
|||||||
>If you are replacing the computer at a remote site you should create the MigData folder on MDT02 and use that share instead.
|
>If you are replacing the computer at a remote site you should create the MigData folder on MDT02 and use that share instead.
|
||||||
|
|
||||||
2. Specify where to save a complete computer backup: Do not back up the existing computer
|
2. Specify where to save a complete computer backup: Do not back up the existing computer
|
||||||
3. Password: P@ssw0rd
|
|
||||||
|
|
||||||
The task sequence will now run USMT (Scanstate.exe) to capture user data and settings of the machine.
|
The task sequence will now run USMT (Scanstate.exe) to capture user data and settings of the computer.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
The new task sequence running the Capture User State action on PC0002.
|
The new task sequence running the Capture User State action on PC0002.
|
||||||
|
|
||||||
5. On MDT01, verify that you have an USMT.MIG compressed backup file in the **E:\\MigData\\PC0002\\USMT** folder.
|
4. On MDT01, verify that you have an USMT.MIG compressed backup file in the **E:\\MigData\\PC0002\\USMT** folder.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
@ -110,7 +120,7 @@ During a computer replace, these are the high-level steps that occur:
|
|||||||
* Memory: 2048 MB
|
* Memory: 2048 MB
|
||||||
* Hard disk: 60 GB (dynamic disk)
|
* Hard disk: 60 GB (dynamic disk)
|
||||||
|
|
||||||
2. Start the PC0007 virtual machine, and press **Enter** to start the Pre-Boot Execution Environment (PXE) boot. The machine will now load the Windows PE boot image from the WDS server.
|
2. Start the PC0007 virtual machine, and press **Enter** to start the Pre-Boot Execution Environment (PXE) boot. The VM will now load the Windows PE boot image from the WDS server.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
Binary file not shown.
Before Width: | Height: | Size: 87 KiB After Width: | Height: | Size: 31 KiB |
Loading…
x
Reference in New Issue
Block a user