mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-06-15 02:13:43 +00:00
several fixes
This commit is contained in:
@ -68,7 +68,7 @@ MDT performs deployments by using the Lite Touch Installation (LTI), Zero Touch
|
||||
```
|
||||
2. Download and install the 64-bit version of [Microsoft Deployment Toolkit (MDT)](https://www.microsoft.com/en-us/download/details.aspx?id=54259) on SRV1 using the default options. As of the writing of this guide, the latest version of MDT was 8443.
|
||||
|
||||
3. Download and install the latest [Windows Assessment and Deployment Kit (ADK)](https://developer.microsoft.com/en-us/windows/hardware/windows-assessment-deployment-kit) on SRV1 using the default installation settings. The current version is the ADK for Windows 10, version 1607. Installation might require several minutes to acquire all components.
|
||||
3. Download and install the latest [Windows Assessment and Deployment Kit (ADK)](https://developer.microsoft.com/en-us/windows/hardware/windows-assessment-deployment-kit) on SRV1 using the default installation settings. The current version is the ADK for Windows 10, version 1703. Installation might require several minutes to acquire all components.
|
||||
|
||||
3. If desired, re-enable IE Enhanced Security Configuration:
|
||||
|
||||
|
@ -799,7 +799,7 @@ In the replace procedure, PC1 will not be migrated to a new operating system. It
|
||||
8. On the Summary page, review the details and then click **Next**.
|
||||
9. On the Confirmation page, click **Finish**.
|
||||
|
||||
>If you receive an error at this stage it can be caused by a corrupt MDT integration. To repair it, close the Configuration Manager console, remove MDT integration, and then restore MDT integration.
|
||||
>If an error is displayed at this stage it can be caused by a corrupt MDT integration. To repair it, close the Configuration Manager console, remove MDT integration, and then restore MDT integration.
|
||||
|
||||
### Deploy PC4
|
||||
|
||||
@ -807,7 +807,7 @@ Create a VM named PC4 to receive the applications and settings from PC1. This VM
|
||||
|
||||
```
|
||||
New-VM –Name "PC4" –NewVHDPath "c:\vhd\pc4.vhdx" -NewVHDSizeBytes 60GB -SwitchName poc-internal -BootDevice NetworkAdapter -Generation 2
|
||||
Set-VMMemory -VMName "PC4" -DynamicMemoryEnabled $true -MinimumBytes 512MB -MaximumBytes 2048MB -Buffer 20
|
||||
Set-VMMemory -VMName "PC4" -DynamicMemoryEnabled $true -MinimumBytes 1024MB -MaximumBytes 2048MB -Buffer 20
|
||||
Set-VMNetworkAdapter -VMName PC4 -StaticMacAddress 00-15-5D-83-26-FF
|
||||
```
|
||||
|
||||
@ -822,6 +822,7 @@ Set-VMNetworkAdapter -VMName PC4 -StaticMacAddress 00-15-5D-83-26-FF
|
||||
```
|
||||
Checkpoint-VM -Name PC1 -SnapshotName BeginState
|
||||
```
|
||||
|
||||
3. On SRV1, in the Configuration Manager console, in the Administration workspace, expand **Hierarcy Configuration** and click on **Discovery Methods**.
|
||||
4. Double-click **Active Directory System Discovery** and on the **General** tab select the **Enable Active Directory System Discovery** checkbox.
|
||||
5. Click the yellow starburst, click **Browse**, select **contoso\Computers**, and then click **OK** three times.
|
||||
@ -871,7 +872,7 @@ Set-VMNetworkAdapter -VMName PC4 -StaticMacAddress 00-15-5D-83-26-FF
|
||||
Get-Content -Path c:\windows\ccmsetup\logs\ccmsetup.log -Wait
|
||||
```
|
||||
|
||||
Installation might require several minutes, and display of the log file will appear to hang while some applications are installed. This is normal. When setup is complete, verify that **CcmSetup is existing with return code 0** is displayed on the last line of the ccmsetup.log file and then press **CTRL-C** to break out of the Get-Content operation. A return code of 0 indicates that installation was successful and you should now see a directory created at **C:\Windows\CCM** that contains files used in registration of the client with its site.
|
||||
Installation might require several minutes, and display of the log file will appear to hang while some applications are installed. This is normal. When setup is complete, verify that **CcmSetup is existing with return code 0** is displayed on the last line of the ccmsetup.log file and then press **CTRL-C** to break out of the Get-Content operation (if you are viewing the log in Windows PowerShell the last line will be wrapped). A return code of 0 indicates that installation was successful and you should now see a directory created at **C:\Windows\CCM** that contains files used in registration of the client with its site.
|
||||
|
||||
13. On PC1, open the Configuration Manager control panel applet by typing the following command:
|
||||
|
||||
@ -879,17 +880,50 @@ Set-VMNetworkAdapter -VMName PC4 -StaticMacAddress 00-15-5D-83-26-FF
|
||||
control smscfgrc
|
||||
```
|
||||
|
||||
14. Click the **Site** tab and click **Find Site**. The client will report that it has found the PS1 site. See the following example:
|
||||
14. Click the **Site** tab, click **Configure Settings**, and click **Find Site**. The client will report that it has found the PS1 site. See the following example:
|
||||
|
||||

|
||||
|
||||
If the client is not able to find the PS1 site, review any error messages that are displayed in **C:\Windows\CCM\Logs\ClientIDManagerStartup.log** and **LocationServices.log**.
|
||||
If the client is not able to find the PS1 site, review any error messages that are displayed in **C:\Windows\CCM\Logs\ClientIDManagerStartup.log** and **LocationServices.log**. A common reason the site code is not located is because a previous configuration exists. For example, if a previous site code is configured at **HKLM\SOFTWARE\Microsoft\SMS\Mobile Client\GPRequestedSiteAssignmentCode** this must be deleted or updated.
|
||||
|
||||
15. On SRV1, in the Assets and Compliance workspace, click **All Desktop and Server Clients** and verify that the computer account for PC1 is displayed here with **Yes** and **Active** in the **Client** and **Client Activity** columns, respectively. You might have to refresh the view and wait few minutes for the client to appear here. See the following example:
|
||||
15. On SRV1, in the Assets and Compliance workspace, click **Device Collections** and then double-click **All Desktop and Server Clients**. This node will be added under **Devices**.
|
||||
|
||||
16. Click **All Desktop and Server Clients** and verify that the computer account for PC1 is displayed here with **Yes** and **Active** in the **Client** and **Client Activity** columns, respectively. You might have to refresh the view and wait few minutes for the client to appear here. See the following example:
|
||||
|
||||

|
||||
|
||||
>It might take several minutes for the client to fully register with the site and complete a client check. When it is complete you will see a green check mark over the client icon as shown above.
|
||||
>It might take several minutes for the client to fully register with the site and complete a client check. When it is complete you will see a green check mark over the client icon as shown above. To refresh the client, click it and then press **F5** or right-click the client and click **Refresh**.
|
||||
|
||||
### Create a device collection and deployment
|
||||
|
||||
1. On SRV1, in the Configuration Manager console, in the Asset and Compliance workspace, right-click **Device Collections** and then click **Create Device Collection**.
|
||||
|
||||
2. Use the following settings in the **Create Device Collection Wizard**:
|
||||
- General > Name: **Install Windows 10 Enterprise x64**<BR>
|
||||
- General > Limiting collection: **All Systems**<BR>
|
||||
- Membership Rules > Add Rule: **Direct Rule**<BR>
|
||||
- The **Create Direct Membership Rule Wizard** opens, click **Next**<BR>
|
||||
- Search for Resources > Resource class: **System Resource**<BR>
|
||||
- Search for Resources > Attribute name: **Name**<BR>
|
||||
- Search for Resources > Value: **%**<BR>
|
||||
- Select Resources > Value: Select the computername associated with the PC1 VM<BR>
|
||||
- Click **Next** twice and then click **Close** in both windows (Next, Next, Close, then Next, Next, Close)
|
||||
|
||||
3. Double-click the Install Windows 10 Enterprise x64 device collection and verify that the PC1 computer account is displayed.
|
||||
|
||||
4. In the Software Library workspace, expand **Operating Systems**, click **Task Sequences**, right-click **Windows 10 Enterprise x64** and then click **Deploy**.
|
||||
|
||||
5. Use the following settings in the Deploy Sofware wizard:
|
||||
- General > Collection: Click Browse and select **Install Windows 10 Enterprise x64**<BR>
|
||||
- Deployment Settings > Purpose: **Available**<BR>
|
||||
- Deployment Settings > Make available to the following: **Configuration Manager clients, media and PXE**<BR>
|
||||
- Scheduling > Click **Next**<BR>
|
||||
- User Experience > Click **Next**<BR>
|
||||
- Alerts > Click **Next**<BR>
|
||||
- Distribution Points > Click **Next**<BR>
|
||||
- Summary > Click **Next**<BR>
|
||||
- Verify that the wizard completed successfully and then click **Close**
|
||||
|
||||
|
||||
### Associate PC4 with PC1
|
||||
|
||||
@ -900,15 +934,15 @@ Set-VMNetworkAdapter -VMName PC4 -StaticMacAddress 00-15-5D-83-26-FF
|
||||
3. On the Single Computer page, use the following settings:
|
||||
- Computer Name: **PC4**
|
||||
- MAC Address: **00:15:5D:83:26:FF**
|
||||
- Source Computer: \<type the hostname of PC1, or click Search twice, click the hostname, and click OK\>
|
||||
- Source Computer: \<type the hostname of PC1, or click **Search** twice, click the hostname, and click **OK**\>
|
||||
|
||||
4. Click **Next**, and then on the User Accounts page choose **Capture and restore all user accounts**. Click **Next** twice to continue.
|
||||
|
||||
5. On the Choose Target Collection page, choose **Add computers to the following collection**, click **Browse**, choose **Install Windows 10 Enterprise x64**, click **OK**, click **Next** twice, and then click **Close**.
|
||||
|
||||
6. Select the User State Migration node and review the computer association in the display pane.
|
||||
6. In the Assets and Compliance workspace, click **User State Migration** and review the computer association in the display pane. The source computer will be the computername of PC1 (GREGLIN-PC1 in this example), the destination computer will be **PC4**, and the migration type will be **side-by-side**.
|
||||
|
||||
7. Right-click the association in the display pane and then click **View Recovery Information**. A recovery key has been assigned, but a user state store location has not. Click **Close**.
|
||||
7. Right-click the association in the display pane and then click **View Recovery Information**. Note that a recovery key has been assigned, but a user state store location has not. Click **Close**.
|
||||
|
||||
8. Click **Device Collections** and then double-click **Install Windows 10 Enterprise x64**. Verify that **PC4** is displayed in the collection. You might have to update and refresh the collection, or wait a few minutes, but do not proceed until PC4 is available. See the following example:
|
||||
|
||||
@ -926,14 +960,14 @@ Set-VMNetworkAdapter -VMName PC4 -StaticMacAddress 00-15-5D-83-26-FF
|
||||
- Search for Resources > Resource class: **System Resource**<BR>
|
||||
- Search for Resources > Attribute name: **Name**<BR>
|
||||
- Search for Resources > Value: **%**<BR>
|
||||
- Select Resources > Value: Select the computername associated with the PC1 VM.<BR>
|
||||
- Select Resources > Value: Select the computername associated with the PC1 VM (GREGLIN-PC1 in this example).<BR>
|
||||
- Click **Next** twice and then click **Close** in both windows.
|
||||
|
||||
3. Click **Device Collections** and then double-click **USMT Backup (Replace)**. Verify that the computer name/hostname associated with PC1 is displayed in the collection. Do not proceed until this name is displayed.
|
||||
|
||||
### Create a new deployment
|
||||
|
||||
In the Configuration Manager console, in the Software Library workspace, click **Task Sequences**, right-click **Replace Task Sequence**, click **Deploy**, and use the following settings:
|
||||
In the Configuration Manager console, in the Software Library workspace under Operating Systems, click **Task Sequences**, right-click **Replace Task Sequence**, click **Deploy**, and use the following settings:
|
||||
- General > Collection: **USMT Backup (Replace)**<BR>
|
||||
- Deployment Settings > Purpose: **Available**<BR>
|
||||
- Deployment Settings > Make available to the following: **Only Configuration Manager Clients**<BR>
|
||||
@ -950,14 +984,22 @@ In the Configuration Manager console, in the Software Library workspace, click *
|
||||
```
|
||||
control smscfgrc
|
||||
```
|
||||
2. On the **Actions** tab, click **Machine Policy Retrieval & Evaluation Cycle**, click **Run Now**, click **OK**, and then click **OK** again. This is another method that can be used in addition to the Client Notification method used previously.
|
||||
2. On the **Actions** tab, click **Machine Policy Retrieval & Evaluation Cycle**, click **Run Now**, click **OK**, and then click **OK** again. This is one method that can be used to run a task sequence in addition to the Client Notification method that will be demonstrated in the computer refresh procedure.
|
||||
|
||||
3. Using the Software Center as was done in the previous procedure, click **Operating Systems** and then click **Replace Task Sequence**. See the following example:
|
||||
3. Type the following at an elevated command prompt to open the Software Center:
|
||||
|
||||
```
|
||||
C:\Windows\CCM\SCClient.exe
|
||||
```
|
||||
|
||||
4. In the Software Center , click **Available Software** and then select the **Replace Task Sequence** checkbox. See the following example:
|
||||
|
||||

|
||||
|
||||
4. Click **Install** and then click **INSTALL OPERATING SYSTEM**.
|
||||
5. Allow the **Replace Task Sequence** to complete, then verify that the C:\MigData folder on SRV1 contains the USMT backup.
|
||||
>If you do not see any available software, try running step #2 again to start the Machine Policy Retrieval & Evaluation Cycle. You should see an alert that new software is available.
|
||||
|
||||
5. Click **INSTALL SELECTED** and then click **INSTALL OPERATING SYSTEM**.
|
||||
6. Allow the **Replace Task Sequence** to complete, then verify that the C:\MigData folder on SRV1 contains the USMT backup.
|
||||
|
||||
### Deploy the new computer
|
||||
|
||||
@ -969,47 +1011,12 @@ In the Configuration Manager console, in the Software Library workspace, click *
|
||||
```
|
||||
2. In the **Welcome to the Task Sequence Wizard**, enter **pass@word1** and click **Next**.
|
||||
3. Choose the **Windows 10 Enterprise X64** image.
|
||||
4. Setup will install the operating system, install the configuration manager client, join PC4 to the domain, and restore users and settings from PC1.
|
||||
4. Setup will install the operating system using the Windows 10 Enterprise x64 reference image, install the configuration manager client, join PC4 to the domain, and restore users and settings from PC1.
|
||||
|
||||
|
||||
|
||||
## Refresh a client with Windows 10 using Configuration Manager
|
||||
|
||||
### Create a device collection and deployment
|
||||
|
||||
1. On SRV1, in the Configuration Manager console, in the Asset and Compliance workspace, right-click **Device Collections** and then click **Create Device Collection**.
|
||||
|
||||
2. Use the following settings in the **Create Device Collection Wizard**:
|
||||
- General > Name: **Install Windows 10 Enterprise x64**<BR>
|
||||
- General > Limiting collection: **All Systems**<BR>
|
||||
- Membership Rules > Add Rule: **Direct Rule**<BR>
|
||||
- The **Create Direct Membership Rule Wizard** opens, click **Next**<BR>
|
||||
- Search for Resources > Resource class: **System Resource**<BR>
|
||||
- Search for Resources > Attribute name: **Name**<BR>
|
||||
- Search for Resources > Value: **%**<BR>
|
||||
- Select Resources > Value: Select the computername associated with the PC1 VM<BR>
|
||||
- Click **Next** twice and then click **Close** in both windows.
|
||||
|
||||
3. Double-click the Install Windows 10 Enterprise x64 device collection and verify that the PC1 computer account is displayed.
|
||||
|
||||
4. In the Software Library workspace, expand **Operating Systems**, click **Task Sequences**, right-click **Windows 10 Enterprise x64** and then click **Deploy**.
|
||||
|
||||
5. Use the following settings in the Deploy Sofware wizard:
|
||||
- General > Collection: Click Browse and select **Install Windows 10 Enterprise x64**<BR>
|
||||
- Deployment Settings > Purpose: **Available**<BR>
|
||||
- Deployment Settings > Make available to the following: **Configuration Manager clients, media and PXE**<BR>
|
||||
- Scheduling > Click **Next**<BR>
|
||||
- User Experience > Click **Next**<BR>
|
||||
- Alerts > Click **Next**<BR>
|
||||
- Distribution Points > Click **Next**<BR>
|
||||
- Summary > Click **Next**<BR>
|
||||
- Verify that the wizard completed successfully and then click **Close**
|
||||
|
||||
6. **Important** Before initiating a computer refresh, save a checkpoint for all three computers: PC1, SRV1, and DC1. This ensures that we can restore all computers, including Active Directory and the Configuration Manager client status to the pre-Windows 10 installation state prior to running the replace procedure. To save checkpoints, type the following commands at an elevated Windows PowerShell prompt on the Hyper-V host:
|
||||
|
||||
```
|
||||
Checkpoint-VM -Name PC1 -SnapshotName cm-start
|
||||
Checkpoint-VM -Name SRV1 -SnapshotName cm-start
|
||||
Checkpoint-VM -Name DC1 -SnapshotName cm-start
|
||||
```
|
||||
|
||||
### Initiate the computer refresh
|
||||
|
||||
@ -1038,9 +1045,6 @@ In the Configuration Manager console, in the Software Library workspace, click *
|
||||
Checkpoint-VM -Name PC1 -SnapshotName cm-refresh
|
||||
```
|
||||
|
||||
|
||||
|
||||
|
||||
## Related Topics
|
||||
|
||||
[System Center 2012 Configuration Manager Survival Guide](https://social.technet.microsoft.com/wiki/contents/articles/7075.system-center-2012-configuration-manager-survival-guide.aspx#Step-by-Step_Guides)
|
||||
|
@ -512,7 +512,7 @@ Notes:<BR>
|
||||
|
||||
**Important**: Before proceeding, verify that you can take advantage of [enhanced session mode](https://technet.microsoft.com/windows-server-docs/compute/hyper-v/learn-more/Use-local-resources-on-Hyper-V-virtual-machine-with-VMConnect) when completing instructions in this guide. Enhanced session mode enables you to copy and paste the commands from the Hyper-V host to VMs, between VMs, and between RDP sessions. After copying some text, you can paste into a Windows PowerShell window by simply right-clicking. Before right-clicking, do not left click other locations as this can empty the clipboard. You can also copy and paste <U>files</U> directly from one computer to another by right-clicking and selecting copy on one computer, then right-clicking and selecting paste on another computer.
|
||||
|
||||
To verify that enhanced session mode is enabled on the Hyper-V host, type the following command at an elevated Windows PowerShell prompt:
|
||||
To ensure that enhanced session mode is enabled on the Hyper-V host, type the following command at an elevated Windows PowerShell prompt on the Hyper-V host:
|
||||
|
||||
<pre style="overflow-y: visible">Set-VMhost -EnableEnhancedSessionMode $TRUE</pre>
|
||||
|
||||
@ -884,6 +884,9 @@ The second Windows Server 2012 R2 VHD needs to be expanded in size from 40GB to
|
||||
Restart-Computer
|
||||
</pre>
|
||||
|
||||
>[!IMPORTANT]
|
||||
>Verify that you are configuring the correct interface in this step. The commands in this step assume that the poc-internal interface on SRV1 is named "Ethernet." If you are unsure how to check the interface, see step #30 below for instructions and tips on how to verify and modify the interface name.
|
||||
|
||||
28. Wait for the computer to restart, sign in again, then type the following commands at an elevated Windows PowerShell prompt:
|
||||
|
||||
<pre style="overflow-y: visible">
|
||||
@ -917,6 +920,10 @@ The second Windows Server 2012 R2 VHD needs to be expanded in size from 40GB to
|
||||
|
||||
In this example, the poc-internal network interface at 192.168.0.2 is associated with the "Ethernet" interface and the Internet-facing poc-external interface is associated with the "Ethernet 2" interface. If your interfaces are different, you must adjust the commands provided in the next step appropriately to configure routing services.
|
||||
|
||||
>[!TIP]
|
||||
>Sometimes a computer will have hidden, disconnected interfaces that prevent you from naming a network adapter. When you attempt to rename an adapter, you will receive an error that the adapter name already exists. These disconnected devices can be viewed in device manager by clicking **View** and then clicking **Show hidden devices**. The disconnected device can then be uninstalled, enabling you to reuse the adapter name.
|
||||
|
||||
|
||||
31. To configure SRV1 with routing capability for the PoC network, type or paste the following commands at an elevated Windows PowerShell prompt on SRV1:
|
||||
|
||||
<pre style="overflow-y: visible">
|
||||
|
Reference in New Issue
Block a user