question

WoutEngels-9975 avatar image
0 Votes"
WoutEngels-9975 asked SimonRenMSFT-3639 commented

Failing to build a reference image using VirtualBox

Im a student and for a project at my school I need to use MDT to roll out windows 10 client PC's with certain applications already installed.
I've followed the guide at https://docs.microsoft.com/en-us/windows/deployment/deploy-windows-mdt/prepare-for-windows-deployment-with-mdt

Once I get to the part where I have to make a reference image, the whole process takes about an hour (on a VirtualBox vm) and than fails.

I've turned on the final summary and the attached image is the error message I get. Could anyone guide me through how to fix these errors?

88871-capture.png

Thanks a lot

mem-mdt
capture.png (68.5 KiB)
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

SimonRenMSFT-3639 avatar image
0 Votes"
SimonRenMSFT-3639 answered WoutEngels-9975 commented

Hi,

Thanks for posting in Microsoft MECM Q&A forum.

==>Computer is a member of domain, should be in a workgroup when sysprepping.
The reason is because the Sysprep tool runs only if the PC is a member of a workgroup, not a domain. You need to remove your computer from the domain and add it to a workgroup and then it will work.
For more information, please refer to: Sysprep (System Preparation) Overview

Best regards,
Simon


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.



· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi,

Hope everything goes well. May we know the current status of the question? If there is any other assistance we can provide, please feel free to let us know, we will do our best to help you.

Thanks and regards,
Simon

0 Votes 0 ·

I tried it again but don't I need to join the domain in order for MDT to capture the reference image and put it in the /Capture folder of the MDT server? It always asks me to join the domain (manually). Before that it has only a workgroup but maybe I need different 'rules' (customsettings/bootstrap.ini) in order for this to work

0 Votes 0 ·
WoutEngels-9975 avatar image
0 Votes"
WoutEngels-9975 answered WoutEngels-9975 commented

I tried it again but don't I need to join the domain in order for MDT to capture the reference image and put it in the /Capture folder of the MDT server? It always asks me to join the domain (manually). Before that it has only a workgroup but maybe I need different 'rules' (customsettings/bootstrap.ini) in order for this to work?

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

No the image doesn't need to be joined to a domain in order for MDT to perform the capture. In fact it shouldn't be. MDT will use a service account to connect to the MDT share to upload the capture. Modify the MDT rules to keep the machine in a workgroup.

0 Votes 0 ·

Could you give me some rules that should work? I feel i've tried so many differents combinations and nothing seems to work.

0 Votes 0 ·
SimonRenMSFT-3639 avatar image
0 Votes"
SimonRenMSFT-3639 answered SimonRenMSFT-3639 commented

Hi,

Thanks for your reply.

1, Please make sure your VirtualBox vm is a workgroup rahter than domain-joined client. And then please follow the official article to create a Windows 10 reference image with your base applications as well as the latest updates:
Create a Windows 10 reference image

2, Could we select to join a workgroup when it asked us to join the domain manually? Also refer to:
Capture Windows 10 Image using MDT 2013

93146-workgroup.png


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
https://docs.microsoft.com/en-us/answers/articles/67444/email-notifications.html



workgroup.png (36.9 KiB)
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Yeah I made sure I joined a workgroup, also got the same screen as you posted and just selected join a workgroup. After about 30-40 min of loading I get a virtualbox guru meditation error after the sysprep and then the reboot when it says 'loading files'. I've had this error before and just dont know whats causing it because I have very little information to work with. I've changed the rules around about 35 times and never seems to work to make a reference image.

0 Votes 0 ·

Hi,

Thanks for your information.

Could we find any useful information in the BDD.log, SMSTS.log and Wizard.log?

Could we change the OS image to have a try? If possible, please try to import the OS directly from a default .ISO image from Microsoft to build the reference image.

Thanks for your time.

Best regards,
Simon

0 Votes 0 ·