From f9c4e0667790b13f1da992d4ea7c8575aa86bb10 Mon Sep 17 00:00:00 2001
From: Frank Rojas <45807133+frankroj@users.noreply.github.com>
Date: Tue, 5 Dec 2023 16:21:25 -0500
Subject: [PATCH] Freshness 04-12-2023 5
---
.../usmt/offline-migration-reference.md | 38 +++++++++++++------
1 file changed, 26 insertions(+), 12 deletions(-)
diff --git a/windows/deployment/usmt/offline-migration-reference.md b/windows/deployment/usmt/offline-migration-reference.md
index fbc13962b7..2dfc7c7125 100644
--- a/windows/deployment/usmt/offline-migration-reference.md
+++ b/windows/deployment/usmt/offline-migration-reference.md
@@ -99,8 +99,8 @@ System environment variables are necessary in the scenarios outlined in the foll
|Variable|Value|Scenario|
|--- |--- |--- |
-|*USMT_WORKING_DIR*|Full path to a working directory|Required when USMT binaries are located on read-only media, which doesn't support the creation of log files or temporary storage. To set the system environment variable, at a command prompt type the following command:
`Set USMT_WORKING_DIR=`|
-*|MIG_OFFLINE_PLATFORM_ARCH*|32 or 64|While operating offline, this environment variable defines the architecture of the offline system, if the system doesn't match the WinPE and `ScanState.exe` architecture. This environment variable enables the 32-bit ScanState application to gather data from a computer with 64-bit architecture, or the 64-bit ScanState application to gather data from a computer with 32-bit architecture. Specifying the architecture is required when auto-detection of the offline architecture doesn't function properly. For example, to set this system environment variable for a 32-bit architecture, at a command prompt type the following command:
`Set MIG_OFFLINE_PLATFORM_ARCH=32`|
+|**USMT_WORKING_DIR**|Full path to a working directory|Required when USMT binaries are located on read-only media, which doesn't support the creation of log files or temporary storage. To set the system environment variable, at a command prompt type the following command:
`Set USMT_WORKING_DIR=`|
+|**MIG_OFFLINE_PLATFORM_ARCH**|32 or 64|While operating offline, this environment variable defines the architecture of the offline system, if the system doesn't match the WinPE and `ScanState.exe` architecture. This environment variable enables the 32-bit ScanState application to gather data from a computer with 64-bit architecture, or the 64-bit ScanState application to gather data from a computer with 32-bit architecture. Specifying the architecture is required when auto-detection of the offline architecture doesn't function properly. For example, to set this system environment variable for a 32-bit architecture, at a command prompt type the following command:
`Set MIG_OFFLINE_PLATFORM_ARCH=32`|
## Offline.xml elements
@@ -110,45 +110,59 @@ Use an `Offline.xml` file when running the ScanState tool on a computer that has
This element contains other elements that define how an offline migration is to be performed.
-Syntax: `` ``
+```XML
+
+```
### <winDir>
This element is a required child of **<offline>** and contains information about how the offline volume can be selected. The migration is performed from the first element of **<winDir>** that contains a valid Windows system volume.
-Syntax: `` ``
+```XML
+
+```
### <path>
This element is a required child of **<winDir>** and contains a file path pointing to a valid Windows directory. Relative paths are interpreted from the ScanState tool's working directory.
-Syntax: ` C:\Windows `
+```XML
+ C:\Windows
+```
--or-
+or when used with the **<mappings>** element:
-Syntax, when used with the **<mappings>** element: ` C:\, D:\ `
+```XML
+ C:\, D:\
+```
### <mappings>
This element is an optional child of **<offline>**. When specified, the **<mappings>** element overrides the automatically detected WinPE drive mappings. Each child **<path>** element provides a mapping from one system volume to another. Additionally, mappings between folders can be provided, since an entire volume can be mounted to a specific folder.
-Syntax: `` ``
+```XML
+
+```
### <failOnMultipleWinDir>
This element is an optional child of **<offline>**. The **<failOnMultipleWinDir>** element allows the user to specify that the migration should fail when USMT detects that there are multiple instances of Windows installed on the source machine. When the **<failOnMultipleWinDir>** element isn't present, the default behavior is that the migration doesn't fail.
-Syntax: `1`
+```XML
+1
+```
--or-
+or
-Syntax: `0`
+```XML
+0
+```
### Offline .xml Example
The following XML example illustrates some of the elements discussed earlier in this article.
-```xml
+```XML
C:\Windows