How to Recover Remote Computers by Using the DaRT Recovery Image
Updated: November 1, 2012
Applies To: Diagnostics and Recovery Toolset 8.0
Use the Remote Connection feature in Microsoft Diagnostics and Recovery Toolset (DaRT) 8.0 to run the DaRT tools remotely on an end-user computer. After the end user provides the administrator or help desk worker with certain information, the IT administrator or help desk worker can take control of the end user's computer and run the necessary DaRT tools remotely.
If you disabled the DaRT tools when you created the recovery image, you still have access to all of the tools. All of the tools, except Remote Connection, are unavailable to end users.
To recover a remote computer by using the DaRT recovery image
Boot an end-user computer by using the DaRT recovery image.
You will typically use one of the following methods to boot into DaRT to recover a remote computer, depending on how you deploy the DaRT recovery image. For more information about deploying the DaRT recovery image, see Deploying DaRT 8.0.
Boot into DaRT from a recovery partition on the problem computer.
Boot into DaRT from a remote partition on the network.
For information about the advantages and disadvantages of each method, see Planning How to Save and Deploy the DaRT 8.0 Recovery Image.
Whichever method that you use to boot into DaRT, you must enable the boot device in the BIOS for the boot option or options that you want to make available to the end user.
Note Configuring the BIOS is unique, depending on the kind of hard disk drive, network adapters, and other hardware that is used in your organization.
As the computer is booting into the DaRT recovery image, the NetStart dialog box appears.
- Boot into DaRT from a recovery partition on the problem computer.
When you are asked whether you want to initialize network services, select one of the following:
Yes - it is assumed that a DHCP server is present on the network, and an attempt is made to obtain an IP address from the server. If the network uses static IP addresses instead of DHCP, you can later use the TCP/IP Configuration tool in DaRT to specify a static IP address.
No - skip the network initialization process.
- Yes - it is assumed that a DHCP server is present on the network, and an attempt is made to obtain an IP address from the server. If the network uses static IP addresses instead of DHCP, you can later use the TCP/IP Configuration tool in DaRT to specify a static IP address.
Indicate whether you want to remap the drive letters. When you run Windows online, the system volume is typically mapped to drive C. However, when you run Windows offline under WinRE, the original system volume might be mapped to another drive, and this can cause confusion. If you decide to remap, DaRT tries to map the offline drive letters to match the online drive letters. Remapping is performed only if an offline operating system is selected later in the startup process.
On the System Recovery Options dialog box, select a keyboard layout.
Check the displayed system root directory, the kind of operating system installed, and the partition size. If you do not see your operating system listed, and suspect that the lack of drivers is a possible cause of the failure, click Load Drivers to load the suspect drivers, and then insert the installation media for the device and select the driver.
Select the installation that you want to repair or diagnose, and then click Next.
Note If the Windows Recovery Environment (WinRE) detects or suspects that Windows 8 did not start correctly the last time that it was tried, Startup Repair might start to run automatically. For information about how to resolve this issue, see Troubleshooting DaRT 8.0.
If any of the registry hives are corrupted or missing, Registry Editor and several other DaRT utilities will have limited functionality. If no operating system is selected, some tools will not be available.
The System Recovery Options window appears and lists various recovery tools.
On the System Recovery Options window, click Microsoft Diagnostics and Recovery Toolset to open the Diagnostics and Recovery Toolset.
On the Diagnostics and Recovery Toolset window, click Remote Connection to open the DaRT Remote Connection window. If you are prompted to give the help desk remote access, click OK.
The DaRT Remote Connection window opens and displays a ticket number, IP address, and port information.
On the help desk computer, open the DaRT Remote Connection Viewer.
Click Start, click All Programs, click Microsoft DaRT 8.0, and then click DaRT Remote Connection Viewer.
In the DaRT Remote Connection window, enter the required ticket, IP address, and port information.
Note This information is created on the end-user computer and must be provided by the end user. There might be multiple IP addresses to choose from, depending on how many are available on the end-user computer.
The IT administrator now assumes control of the end-user computer and can run the DaRT tools remotely.
|A file is provided that is named inv32.xml and contains remote connection information, such as the port number and IP address. By default, the file is typically located at %windir%\system32.|
To customize the Remote Connection process
You can customize the Remote Connection process by editing the winpeshl.ini file. For more information about how to edit the winpeshl.ini file, see Winpeshl.ini Files.
Specify the following commands and parameters to customize how a remote connection is established with an end-user computer:
Command Parameter Description
Specifies that the confirmation prompt is not displayed. Remote Connection continues just as if the end user had responded "Yes" to the confirmation prompt.
Prevents a custom script from continuing until either Remote Connection is not running or a valid connection is established with the end-user computer.
Important This command serves no function if it is specified independently. It must be specified in a script to function correctly.
The following is an example of a winpeshl.ini file that is customized to open the Remote Connection tool as soon as an attempt is made to boot into DaRT:
[LaunchApps] "%windir%\system32\netstart.exe -network -remount" "cmd /C start %windir%\system32\RemoteRecovery.exe -nomessage" "%windir%\system32\WaitForConnection.exe" "%SYSTEMDRIVE%\sources\recovery\recenv.exe"
When DaRT starts, it creates the file inv32.xml in \Windows\System32\ on the RAM disk. This file contains connection information: IP address, port, and ticket number. You can copy this file to a network share to trigger a Help desk workflow. For example, a custom program can check the network share for connection files, and then create a support ticket or send email notifications.
To run the Remote Connection Viewer at the command prompt
To run the DaRT Remote Connection Viewer at the command prompt, specify the DartRemoteViewer.exe command and use the following parameters:
Where <ticketnumber> is the ticket number, including the dashes, that is generated by Remote Connection.
Where <ipaddress> is the IP address that is generated by Remote Connection.
Where <port> is the port that corresponds to the specified IP address.
Note The variables for these parameters are created on the end-user computer and must be provided by the end user.
If all three parameters are specified and the data is valid, a connection is immediately tried when the program starts. If any parameter is not valid, the program starts as if there were no parameters specified.
You can learn more about MDOP in the TechNet Library, search for troubleshooting on the TechNet Wiki, or follow us on Facebook or Twitter.