| 0x1 | 78.11011 | %1: Bad command line |
| 0x2 | 78.11011 | %1: Operation failed: %2!x! |
| 0x3 | 1011 | Configures the Windows Recovery Environment (Windows RE) and system reset.
%1
The following commands can be specified:
/info - Displays Windows RE and system reset configuration
information.
/setreimage - Sets the location of the custom Windows RE image.
/enable - Enables Windows RE.
/disable - Disables Windows RE.
/boottore - Configures the system to start Windows RE next time the
system starts up.
/setbootshelllink - Adds an entry to the Reset and Restore page in the boot
menu.
For more information about these commands and their arguments, type
%1 /?.
Examples:
%1 /setreimage /?
%1 /disable /? |
| 0x4 | 78.11011 | %1: Cannot open %2 |
| 0x5 | 78.11011 | %1: Operation successful |
| 0x6 | 8.11011 | Windows Recovery Environment (Windows RE) and system reset configuration
Information:
Windows RE status: %1!s!
Windows RE location: %2!s!
Boot Configuration Data (BCD) identifier: %3!s!
Recovery image location: %4!s!
Recovery image index: %5!u!
Custom image location: %6!s!
Custom image index: %7!u! |
| 0x7 | 78.11011 | Directory set to: %1!s! |
| 0x8 | 78.11011 | Directory set to: CUSTOM |
| 0xa | 78.11011 | This command can only be executed from an elevated command prompt. |
| 0xb | 1011 | Displays Windows Recovery Environment (Windows RE) configuration information.
%1 /info [/target ] [/logpath ]
/target - Specifies the Windows installation. If this argument
is not specified, the running operating system is
used.
/logpath - Specifies the path of log file. If this argument is
not specified, the default path is Windows\Logs\
Reagent\Reagent.log.
Example:
%1 /info
%1 /info /target C:\Windows /logpath C:\Temp\Reagent.log |
| 0xc | 1011 | Sets the location of the custom Windows Recovery Environment (Windows RE) image.
%1 /setreimage /path [/target ] [/logpath ]
/path - Specifies the directory that contains the custom
Windows RE image (winre.wim).
/target - Specifies the Windows installation. If this argument
is not specified, the running operating system is
used.
/logpath - Specifies the path of log file. If this argument is
not specified, the default path is Windows\Logs\
Reagent\Reagent.log.
Example:
%1 /setreimage /path r:\Recovery\WindowsRE /logpath C:\Temp\Reagent.log
%1 /setreimage /path r:\Recovery\WindowsRE /target C:\Windows |
| 0xd | 1011 | Enables the local copy of the Windows Recovery Environment (Windows RE).
This command can be used from the running operating system without additional
parameters, or from the Windows Preinstallation Environment (Windows PE) using
the optional /osguid parameter.
%1 /enable [/osguid ] [/logpath ]
/osguid - Specifies the Boot Configuration Data (BCD) identifier of the
target Windows installation. The identifier can be determined
by running "bcdedit -enum -v".
/logpath - Specifies the path of log file. If this argument is
not specified, the default path is Windows\Logs\
Reagent\Reagent.log.
Example:
%1 /enable /logpath C:\Temp\Reagent.log
%1 /enable /osguid {00000000-0000-0000-0000-000000000000} |
| 0xe | 1011 | Disables the local copy of the Windows Recovery Environment (Windows RE). This
command can only be used from the running operating system.
Warning: Windows RE can help resolve startup problems; disabling it is not
recommended.
%1 /disable [/logpath ]
/logpath - Specifies the path of log file. If this argument is
not specified, the default path is Windows\Logs\
Reagent\Reagent.log.
Example:
%1 /disable /logpath C:\Temp\Reagent.log |
| 0xf | 1011 | Configure the system to start the Windows Recovery Environment (Windows RE)
next time the system starts up. This command can only be used from the running
operating system.
%1 /boottore [/logpath ]
/logpath - Specifies the path of log file. If this argument is
not specified, the default path is Windows\Logs\
Reagent\Reagent.log.
Example:
%1 /boottore /logpath C:\Temp\Reagent.log |
| 0x10 | 8.11011 | Sets the location of the recovery image used by system reset.
Note: Permissions on the recovery image file must be set so that only users
in the Administrators group can write to and modify it.
%1 /setosimage /path /index [/target ]
/path - Specifies the directory that contains the
recovery image.
/index - Index of the recovery image Windows imaging (WIM)
file to be used by system reset.
/target - Specifies the Windows installation. If this argument
is not specified, the running operating system is
used.
Example:
%1 /setosimage /path r:\Recovery\WindowsRE /index 1
%1 /setosimage /path r:\Recovery\WindowsRE /index 1 /target C:\Windows |
| 0x11 | 1011 | Add an entry to the Reset and Restore page in the boot menu.
%1 /setbootshelllink /configfile [/target ] [/logpath ]
/configfile - Specifies the path to the XML configuration file
for the boot menu entry.
/target - Specifies the Windows installation. If this
argument is not specified, the running operating
system is used.
/logpath - Specifies the path of log file. If this argument is
not specified, the default path is Windows\Logs\
Reagent\Reagent.log.
Example:
%1 /setbootshelllink /configfile d:\linkdesc.xml /logpath C:\Temp\Reagent.log
%1 /setbootshelllink /configfile d:\linkdesc.xml /target C:\Windows |
| 0x12 | 8.11011 | %1: %2!s! |
| 0x13 | 8.11011 | %1: Operation Successful. |
| 0x14 | 8.11011 | %1: Unable to read configuration file. |
| 0x15 | 8.11011 | %1: Unable to read configuration file: File not found. |
| 0x16 | 8.11011 | %1: Unable to read configuration file: Access denied. |
| 0x17 | 8.11011 | %1: Unable to read configuration file: File is corrupt. |
| 0x18 | 8.11011 | %1: Unable to update configuration file. |
| 0x19 | 8.11011 | %1: Unable to update configuration file: Access denied. |
| 0x1a | 8.11011 | %1: Unable to update Boot Configuration Data. |
| 0x1b | 8.11011 | %1: The target Windows installation was not found. |
| 0x1c | 8.11011 | %1: A target Windows installation must be specified. |
| 0x1d | 8.11011 | %1: This command is not supported while in the Windows Preinstallation Environment (Windows PE). |
| 0x1e | 8.11011 | %1: Missing parameters. |
| 0x1f | 8.11011 | %1: The specified path was not found. |
| 0x20 | 8.11011 | %1: The Windows RE image cannot be stored in the specified volume. Use the RETAIN command in DISKPART to prepare the volume and try again. |
| 0x21 | 8.11011 | %1: The Windows RE image was not found. |
| 0x22 | 8.11011 | %1: Windows RE is already enabled. |
| 0x23 | 8.11011 | %1: Windows RE must be installed on a simple volume formatted using NTFS. |
| 0x24 | 8.11011 | %1: Windows RE cannot be enabled on a volume with BitLocker Drive Encryption enabled. |
| 0x25 | 8.11011 | %1: Windows RE is already disabled. |
| 0x26 | 8.11011 | %1: Windows RE is disabled. |
| 0x27 | 8.11011 | %1: Unable to read Boot Configuration Data. Try disabling and re-enabling Windows RE. |
| 0x28 | 8.11011 | %1: The index of the recovery image (WIM) file must be specified. |
| 0x29 | 8.11011 | %1: Invalid index. |
| 0x2a | 8.11011 | %1: No description file was specified. |
| 0x2b | 8.11011 | %1: The description file cannot be found. |
| 0x2c | 8.11011 | %1: The description file contains missing or invalid entries. |
| 0x2d | 8.11011 | %1: Another instance of this program is already running. |
| 0x2e | 8.11011 | %1: No valid image found in the specified path. |
| 0x2f | 8.11011 | %1: The recovery image file cannot be placed in the root directory of a volume. |
| 0x30 | 8.11011 | %1: Windows RE cannot be placed in the root directory of a volume. |
| 0x31 | 8.11011 | %1: An error has occurred. |
| 0x32 | 1011 | Configures the Windows Recovery Environment (Windows RE) and system reset.
%1
The following commands can be specified:
/info - Displays Windows RE and system reset configuration
information.
/setreimage - Sets the location of the custom Windows RE image.
/setbootshelllink - Adds an entry to the Reset and Restore page in the boot
menu.
For more information about these commands and their arguments, type
%1 /?.
Examples:
%1 /setreimage /? |
| 0x33 | 8.11011 | Displays Windows Recovery Environment (Windows RE) configuration information.
%1 /info /target
/target - Specifies the Windows installation.
Example:
%1 /info /target C:\Windows |
| 0x34 | 8.11011 | Sets the location of the custom Windows Recovery Environment (Windows RE) image.
%1 /setreimage /path /target
/path - Specifies the directory that contains the custom
Windows RE image (winre.wim).
/target - Specifies the Windows installation.
Example:
%1 /setreimage /path r:\Recovery\WindowsRE /target C:\Windows |
| 0x35 | 8.11011 | Sets the location of the recovery image.
Note: Permissions on the recovery image file must be set so that only users
in the Administrators group can write to and modify it.
%1 /setosimage /path /index /target
/path - Specifies the directory that contains the
recovery image.
/index - Index of the recovery image Windows imaging (WIM)
file to be used by system reset.
/target - Specifies the Windows installation
Example:
%1 /setosimage /path r:\Recovery\WindowsRE /index 1 /target C:\Windows |
| 0x36 | 8.11011 | Add an entry to the Reset and Restore page in the boot menu.
%1 /setbootshelllink /configfile /target
/configfile - Specifies the path to the XML configuration file
for the boot menu entry.
/target - Specifies the Windows installation.
Example:
%1 /setbootshelllink /configfile d:\linkdesc.xml /target C:\Windows |
| 0x37 | 8.11011 | %1: Automatic repair is now enabled. |
| 0x38 | 8.11011 | %1: Automatic repair is now disabled. |
| 0x39 | 8.11011 | %1: This operation is not supported in audit mode. |
| 0x3a | 8.11011 | The Boot Configuration Data store has not been configured. Run bcdboot.exe first and try again. |
| 0x3b | 8.11011 | %1: Configuring or modifying the recovery image location is not supported on this PC. |
| 0x3c | 1011 | There are more than one loader entry in Boot Configuration Data store. Repair is not supported. Please reduce to one and retry. |
| 0x3d | 11 | Recovery test mode is currently active. |
| 0x3e | 11 | Recovery test mode is currently not active. |
| 0x3f | 11 | A recovery test mode run was last completed on: %1!s! %2!s! |
| 0x40 | 11 | Last test mode run was successful. |
| 0x41 | 11 | Last test mode run was not successful. |
| 0x42 | 11 | Configure quick machine recovery settings.
%1 /setrecoverysettings /path
/path - Specifies the path to the XML configuration file
containing the quick machine recovery configuration
Example:
%1 /setrecoverysettings /path d:\setting.xml |
| 0x43 | 11 | Display the configured settings for quick machine recovery.
%1 /getrecoverysettings [/path ]
/path - Specifies a file path to which settings should be exported.
If not specified, the settings will be displayed.
Example:
%1 /getrecoverysettings /path d:\setting.xml
%1 /getrecoverysettings |
| 0x44 | 11 | Remove the configured settings for quick machine recovery. Default values for those settings will be used.
%1 /clearrecoverysettings
Example:
%1 /clearrecoverysettings |
| 0x45 | 11 | Enable test mode for quick machine recovery.
Running this command followed by a manual boot into WinRE will simulate the auto remediation process
without triggering an actual system failure.
Test mode will be automatically cleared after the system completes this test.
%1 /setrecoverytestmode
Example:
%1 /setrecoverytestmode |
| 0x46 | 11 | Clear test mode for quick machine recovery.
%1 /clearrecoverytestmode
Example:
%1 /clearrecoverytestmode |
| 0x47 | 11 | Get the status of quick machine recovery test mode and the results of the last test mode execution.
%1 /getrecoverytestmode
Example:
%1 /getrecoverytestmode |
| 0x48 | 11 | Configures the Windows Recovery Environment (Windows RE) and system reset.
%1
The following commands can be specified:
/info - Displays Windows RE and system reset configuration
information.
/setreimage - Sets the location of the custom Windows RE image.
/enable - Enables Windows RE.
/disable - Disables Windows RE.
/boottore - Configures the system to start Windows RE next time the
system starts up.
/setbootshelllink - Adds an entry to the Reset and Restore page in the boot
menu.
/setrecoverysettings - Configure quick machine recovery settings.
/getrecoverysettings - Display the configured settings for quick machine recovery.
/clearrecoverysettings - Remove the configured settings for quick machine recovery.
/setrecoverytestmode - Enable test mode for quick machine recovery.
/clearrecoverytestmode - Clear test mode for quick machine recovery.
/getrecoverytestmode - Get the status of quick machine recovery test mode and the results
of the last test mode execution
For more information about these commands and their arguments, type
%1 /?.
Examples:
%1 /setreimage /?
%1 /disable /? |
| 0x49 | 11 | Windows Recovery Environment (Windows RE) and system reset configuration
Information:
Windows RE status: %1!s!
Windows RE location: %2!s!
Boot Configuration Data (BCD) identifier: %3!s!
Recovery image location: %4!s!
Recovery image index: %5!u!
Custom image location: %6!s!
Custom image index: %7!u!
Windows RE Version: %8!u!.%9!u!.%10!u!.%11!u! |
| 0x3 | 7 | Configures the Windows Recovery Environment (RE).
%1 [options]
where the following operations can be specified:
/setreimage /path [/target ] [/bootkey ]
Sets the location of the user-provided Windows RE image.
The optional /target switch specifies the path to the location
that contains the Windows installation.
The optional /bootkey switch specifies the scan code for an
OEM-specific launch button.
/setosimage [/path [/target ]] [/customtool]
/path sets the location of the user-provided OS Setup files.
Alternatively /customtool specifies that a an imaging tool
was specified inside Windows RE.
/info [/target ]
Displays Windows RE configuration information.
The optional /target switch specifies the path to the location
that contains the Windows installation.
/enable
Enable Windows RE for auto-failover and recovery.
/disable
Disable Windows RE auto-failover and recovery.
/boottore
Configure the BCD to launch Windows Recovery next time the system
starts up. |
| 0x6 | 7 | Extended configuration for the Recovery Environment
Windows RE enabled: %1!u!
Windows RE staged: %2!u!
Setup enabled: %3!u!
Custom Recovery Tool: %4!u!
WinRE.WIM directory: %5!s!
Recovery Environment: %6!s!
BCD Id: %7!s!
Setup Files: %8!s!
Recovery Operation: %9!u!
Operation Parameter: %10!s!
Boot Key Scan Code 0x%11!x! |
| 0x9 | 7 | Configures the Windows Recovery Environment (RE).
%1 [options]
where the following operations can be specified:
/setreimage /path /target [/bootkey ]
Sets the location of the user-provided Windows RE image.
The required /target switch specifies the path to the location
that contains the Windows installation.
The optional /bootkey switch specifies the scan code for an
OEM-specific launch button.
/setosimage [/path /target ] [/customtool]
/path sets the location of the user-provided OS Setup files.
Alternatively /customtool specifies that an imaging tool
was specified inside Windows Recovery.
/info [/target ]
Displays Windows RE configuration information.
The optional /target switch specifies the path to the location
that contains the Windows installation. |
| 0x3 | 8.1 | Configures the Windows Recovery Environment (Windows RE) and system reset.
%1
The following commands can be specified:
/info - Displays Windows RE and system reset configuration
information.
/setreimage - Sets the location of the custom Windows RE image.
/enable - Enables Windows RE.
/disable - Disables Windows RE.
/boottore - Configures the system to start Windows RE next time the
system starts up.
/setosimage - Sets the location of the recovery image used by system
reset.
/setbootshelllink - Adds an entry to the Reset and Restore page in the boot
menu.
For more information about these commands and their arguments, type
%1 /?.
Examples:
%1 /setreimage /?
%1 /disable /? |
| 0x9 | 8.1 | Configures the Windows Recovery Environment (Windows RE).
%1 [options]
where the following operations can be specified:
/setreimage /path /target [/bootkey ]
Sets the location of the user-provided Windows RE image.
The required /target switch specifies the path to the location
that contains the Windows installation.
The optional /bootkey switch specifies the scan code for an
OEM-specific launch button.
/setosimage [/path /target ] [/customtool]
/path sets the location of the user-provided OS Setup files.
Alternatively /customtool specifies that an imaging tool
was specified inside Windows Recovery.
/info [/target ]
Displays Windows RE configuration information.
The optional /target switch specifies the path to the location
that contains the Windows installation. |
| 0xb | 8.1 | Displays Windows Recovery Environment (Windows RE) configuration information.
%1 /info [/target ]
/target - Specifies the Windows installation. If this argument
is not specified, the running operating system is
used.
Example:
%1 /info
%1 /info /target C:\Windows |
| 0xc | 8.1 | Sets the location of the custom Windows Recovery Environment (Windows RE) image.
%1 /setreimage /path [/target ]
/path - Specifies the directory that contains the custom
Windows RE image (winre.wim).
/target - Specifies the Windows installation. If this argument
is not specified, the running operating system is
used.
Example:
%1 /setreimage /path r:\Recovery\WindowsRE
%1 /setreimage /path r:\Recovery\WindowsRE /target C:\Windows |
| 0xd | 8.1 | Enables the local copy of the Windows Recovery Environment (Windows RE).
This command can be used from the running operating system without additional
parameters, or from the Windows Preinstallation Environment (Windows PE) using
the optional /osguid parameter.
%1 /enable [/osguid ]
Specifies the Boot Configuration Data (BCD) identifier of the
target Windows installation. The identifier can be determined
by running "bcdedit -enum -v".
Example:
%1 /enable
%1 /enable /osguid {00000000-0000-0000-0000-000000000000} |
| 0xe | 8.1 | Disables the local copy of the Windows Recovery Environment (Windows RE). This
command can only be used from the running operating system.
Warning: Windows RE can help resolve startup problems; disabling it is not
recommended.
%1 /disable
Example:
%1 /disable |
| 0xf | 8.1 | Configure the system to start the Windows Recovery Environment (Windows RE)
next time the system starts up. This command can only be used from the running
operating system.
%1 /boottore
Example:
%1 /boottore |
| 0x11 | 8.1 | Add an entry to the Reset and Restore page in the boot menu.
%1 /setbootshelllink /configfile [/target ]
/configfile - Specifies the path to the XML configuration file
for the boot menu entry.
/target - Specifies the Windows installation. If this
argument is not specified, the running operating
system is used.
Example:
%1 /setbootshelllink /configfile d:\linkdesc.xml
%1 /setbootshelllink /configfile d:\linkdesc.xml /target C:\Windows |
| 0x32 | 8.1 | Configures the Windows Recovery Environment (Windows RE) and system reset.
%1
The following commands can be specified:
/info - Displays Windows RE and system reset configuration
information.
/setreimage - Sets the location of the custom Windows RE image.
/setosimage - Sets the location of the recovery image used by system
reset.
/setbootshelllink - Adds an entry to the Reset and Restore page in the boot
menu.
For more information about these commands and their arguments, type
%1 /?.
Examples:
%1 /setreimage /?
%1 /setosimage /? |