mercoledì 20 febbraio 2019

Windows 7 Deployment capture from Virtualbox and Microsoft Deployment Toolkit

From some days I'm working on a windows 7 distribution project. I'm using VirtualBox to run some test of capture and deploy of the master pc created.

The target operating system is a W7 64bit pro so I started to create a new VM with that operating system, virtual machine created normally with no particular settings.

Then in MDT I created a test task to Sysprep and Capture.

So happy to start I runt on the master machine a console prompt with high privileges. The VM is not in domain (else the first start crash).

then on the console:

net use  z: \\server\MDTshare /user:domain\user *

z:
cd scripts
cscript LiteTouch.vbs

This start the capture wizard which should run the task sequences created in mdt, first sysprep then load the system state then restart and capture the image.


In this step and also during the connection to the server hosting the mdt share I experienced so many troubles, everytime seems the connection falled down or there was some trouble with the nic drivers.

Today after some search I found some incompatibility from Virtualbox and windows 7 64 bit guests, this problems appears on the lan both with windows and linux host operating systems on 64 bit.

This malfunctions should be corrected by using the virtio-net driver for the guest nic. You can find the correct drivers here: Virt I/O drivers if you use this drivers you have also to inject it on the mdt tasks drivers else when the tasks restarts the machine to capture fails to connect to lan.

You can also try to mount the iso on the vm and use drvload \\pathtoinf to load the needed driver. Do not forget to connect to network share.

Nessun commento:

Posta un commento