I believe in Hyper-V!

DaRTCategory Archives

DaRT 7 – Remote Connection scenario

As I promised in my last post about DaRT 7, today I’ll describe how to use DaRT 7 (Diagnostics and Recovery Toolset) in Remote Connection scenario.

We have created DaRT 7 recovery partition for Windows 7 x64. How to create DaRT 7 recovery partition you can read in my previous post.


A user is working on his PC when he experiences a problem with it. The PC is now in a state, like BSOD, where normal boot is not possible.


The user contacts the helpdesk over the phone, and is directed to boot into DaRT from the previously created recovery partition.


Upon accessing DaRT, the user provides helpdesk staff with connection info from DaRT.


User need to click on Remote Connection and click on Yes.


After the user has confirmed that it wants to establish communication with the helpdesk staff parameters appears.


Helpdesk guy opening DaRT Remote Connection Viewer and enters ticket numbers to establish the connection.


A helpdesk worker remotely connects to the user’s machine, and uses DaRT tools to uncover a problem.


As you can see, Helpdesk guy is connected and also at this moment keyboard and mouse are locked for user.
The helpdesk takes control over the user computer.


It solves the problem, for example, originated caused by some updates, uninstall this updates and bring computer back to life.


The helpdesk employee reboots the user’s PC and confirms it is working again. The employee returns to productivity.





I hope this could be helpful for someone.

Deploying DaRT to the PC (Adding DaRT to the Boot Menu)

Deploying the DaRT image in a recovery partition to each PC means you always have the right DaRT image when you need it for each PC. That means if you have Windows 7 x64 you need DaRT image created only for Windows 7 x64. DaRT can be placed in its own partition or over the top of the WinRE recovery partition for F8.

In this post I would like to describe how to manually deploy DaRT image to the Boot Menu on your PC’s or laptops. As always I will describe entire procedure through lots of pictures.
This is a very simple procedure, and I hope it will help someone.

First of all create your DaRT ISO image with the desired settings and files.


Create a partition on the target PC equal to or greater than the size of your DaRT ISO. The size of the DaRT ISO has approximately 210 MB for Windows 7.
In my scenario, I created \F: partition with 1GB size.


Extract the files from the DaRT ISO and copy them to your target partition, also on the target partition create folder named Windows\System32  and from C:\Windows\System32 copy winlogon.exe to that folder. Just like on the pictures below.


OK, now follows the most important part!
Create script with relevant command line. In my scenario follow the script described below.

bcdedit /create {ramdiskoptions} /d “IT Pro UG DaRT Demo”
bcdedit /set {ramdiskoptions} ramdisksdidevice partition=F:
bcdedit /set {ramdiskoptions} ramdisksdipath \boot\boot.sdi
bcdedit /create /d “IT Pro UG DaRT Demo” /application OSLOADER –>Record the GUID returned from this command
bcdedit /set {GUID} device ramdisk=[F:]\sources\boot.wim,{ramdiskoptions}
bcdedit /set {GUID} path \windows\system32\winload.exe
bcdedit /set {GUID} osdevice ramdisk=[F:]\sources\boot.wim,{ramdiskoptions}
bcdedit /set {GUID} systemroot \windows
bcdedit /set {GUID} winpe yes
bcdedit /set {GUID} detecthal yes
bcdedit /displayorder {GUID} /addlast
bcdedit /timeout 20

Type the script in notepad and save it as “DaRT.bat”. This is an automated script.

If you want to run script manually open command prompt and type command lines described below.

bcdedit /copy {current} /d “IT Pro UG Dart Demo”
bcdedit /set {GUID} device vhd=[G:]\sources\boot.wim
bcdedit /set {GUID} osdevice vhd=[G:]\sources\boot.wim
bcdedit /set {GUID} detecthal on
bcdedit /timeout 20

If you want to know more about how to configure Boot Configuration Data follow this link.

At the end you have new boot entry on your PC or laptop.


If you need repair your or users PC’s or laptops, restart the machine end boot from your newly created recovery partition.


In rare support scenarios where the hard drive is severely damaged (eg. MBR failure), booting from the hard drive image of DaRT is not an option and a CD/DVD or USB will need to be used.

In one of the following posts I will describe how to use a Remote Connection with the DaRT7 and which all features we have for that scenario.

That’s it for today!