Export (0) Print
Expand All

How to Recover Remote Computers Using the DaRT Recovery Image

Updated: November 1, 2012

Applies To: Diagnostics and Recovery Toolset 7.0

The Remote Connection feature in Microsoft Diagnostics and Recovery Toolset (DaRT) 7 lets an IT administrator run the DaRT tools remotely on an end-user computer. After certain information is provided by the end user (or by a helpdesk professional working on the end-user computer), the IT administrator or helpdesk agent can take control of the end user's computer and run the necessary DaRT tools remotely.

ImportantImportant
The two computers establishing a remote connection must be part of the same network.

To recover a remote computer by using DaRT

  1. 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 the DaRT 7.0 Recovery Image.

    • 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 7.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.

    noteNote
    Configuring the BIOS is unique, depending on the kind of hard disk drive, network adapters, and other hardware that is used in your organization.

  2. As the computer is booting into the DaRT recovery image, the NetStart dialog box appears. You are asked whether you want to initialize network services. If you click 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.

    To skip the network initialization process, click  No .

  3. Following the network initialization dialog box, you are asked 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.

  4. Following the remapping dialog box, a System Recovery Options dialog box appears and asks you to select a keyboard layout. Then it displays the 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. This prompts you to insert the installation media for the device and to select the driver. Select the installation that you want to repair or diagnose, and then click Next .

    noteNote
    If the Windows Recovery Environment (WinRE) detects or suspects that Windows 7 did not start correctly the last time that it was tried, Startup Repair might start to run automatically. For information about this situation including how to resolve it, see Troubleshooting DaRT 7.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.

  5. On the System Recovery Options window, select Microsoft Diagnostics and Recovery Toolset to open the Diagnostics and Recovery Toolset window.

  6. 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.

  7. On the helpdesk agent computer, open the DaRT Remote Connection Viewer .

    Click Start , click All Programs , click Microsoft DaRT 7 , and then click DaRT Remote Connection Viewer .

  8. In the DaRT Remote Connection window, enter the required ticket, IP address, and port information.

    noteNote
    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.

  9. Click Connect .

The IT administrator now assumes control of the end-user computer and can run the DaRT tools remotely.

noteNote
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

    RemoteRecovery.exe

    -nomessage

    Specifies that the confirmation prompt is not displayed. Remote Connection continues just as if the end user had responded "Yes" to the confirmation prompt.

    WaitForConnection.exe

    none

    Prevents a custom script from continuing until either Remote Connection is not running or a valid connection is established with the end-user computer.

    ImportantImportant
    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"
    

To run the Remote Connection Viewer at the command prompt

  • You can run the DaRT Remote Connection Viewer at the command prompt by specifying the DartRemoteViewer.exe command and by using the following parameters:

     

    Parameter Description

    -ticket=< ticketnumber >

    Where < ticketnumber > is the ticket number, including the dashes, that is generated by Remote Connection.

    -ipaddress=< ipaddress >

    Where < ipaddress > is the IP address that is generated by Remote Connection.

    -port=< port >

    Where < port > is the port that corresponds to the specified IP address.

    noteNote
    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.

See Also

-----
You can learn more about MDOP in the TechNet Library, search for troubleshooting on the TechNet Wiki, or follow us on Facebook or Twitter.
-----
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft