Solved

MDT 2013 (Microsoft Deployment Toolkit) Using Litetouch.vbs does not capture an image.

Posted on 2016-09-19
8
125 Views
Last Modified: 2016-09-21
Our MDT 2013 fails to capture an image, when we run cscript litetouch.vbs, it skips the prompt for the location of the image, and completes.

see below

Windows-8-Test-Build-1.jpg
1. The current Windows 8.1 image Task Sequence can be deployed successfully.
2. The current Windows 10 image Task Sequence can be deployed successfully. (Vanilla Image from WIM Imported ISO)
3. Captures for Windows 8.1 fail.
4. Captures for Windows 10 fail.
5. A new Capture Task Sequence has been created, and also fails.
6. This was working in July 2015, last time an image was captured.
7. Between July 2015 - January 2016, something has broken.
8. Only Windows Updates have been applied to MDT 2013.

We really need a MDT expert, that uses this on a daily basis, to discuss this issue, unless you have seen this issue.

(We've also tried updating to MDT 2013 Update 2, ADK 10, and the issue also remains, so this is something that has changed which causes this!)
0
Comment
  • 5
  • 2
8 Comments
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 41805916
in your customsettings.ini add these logging options once you have set up your logs share (everyone read/write)
SLShare=\\MDT01\Logs\
SLShareDynamicLogging=\\MDT01\Logs\%OSDComputerName%

Open in new window


rerun your capture sequence and upload your bdd.log
0
 
LVL 119
ID: 41805995
We have logging options already enabled.

I'll grab the bdd.log later this am.
0
 
LVL 119
ID: 41806410
okay, here is the bdd.log
BDDee.LOG
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 0 total points
ID: 41808586
Some success, and I've no idea, why I've had to add these to my CustomSettings.ini

DoCapture=YES

ComputerBackupLocation=NETWORK
BackupShare=\\WDS2012\DeploymentShare$
BackupDir=Captures
BackupFile=%OSDComputerName%.wim

The process now continues, Syspreps, reboots, mounts WinPE, and starts the Create Wim Process to the Capture share.

Never had to add them in the past, there was a Dialogue page, where we could enter these details.

It did not work with just adding DoCapture=YES, it needed all the other details, so we will wait and see what happens.

Its a workaround, and that helps us...
0
 
LVL 17

Expert Comment

by:Mike T
ID: 41808654
Hi Andrew,

I was going to look at a normal BDD.log but you beat me to it.
The customsettings.ini (yes, an INI file) pretty much controls the whole of MDT. the settings you have now are normal, as in, what I would expect for a build and capture ruleset.

ComputerName=WIN81REF
UILanguage=en-US
UserLocale=en-US
KeyboardLocale=0409:00000409
TimeZoneName=W. Europe Standard Time
TaskSequenceID=WIN81REF
WSUSServer=http://mdt01.contoso.com:8530
DoCapture=YES
ComputerBackupLocation=NETWORK
BackupShare=\\mdt01.contoso.com\OSD
BackupDir=ReferenceImages
BackupFile=Win81EntRefImage.wim
FinishAction=SHUTDOWN

Ref from Nickolaj's site here: http://www.scconfigmgr.com/2013/09/19/create-a-windows-8-1-enterprise-reference-image-with-mdt-2013/

If you were being prompted by a wizard previously it means certain values were not set and the wizard will appear. Quite what changed and where seems odd, but if you're happy NOT to be prompted, then you're all done. FinishAction is handy for building VMs.

Mike
0
 
LVL 119
ID: 41808773
All seems to be working fine, no idea what's caused this change, but good enough at present for a workaround.

Images are now being captured.
0
 
LVL 119

Author Closing Comment

by:Andrew Hancock (VMware vExpert / EE MVE^2)
ID: 41808774
No idea, why we now have to included these in the INI file, but it's good as a solution now.
0
 
LVL 79

Expert Comment

by:David Johnson, CD, MVP
ID: 41809999
no points: for viewing the log files use cmtrace from sscm makes things much easier
0

Featured Post

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
can only shut down win 10 manually 10 32
WMI Setup on Server 2012 and 2008 GPO 1 15
Reinstall Windows 10 3 17
should i turn off hibernation win10 11 23
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
A procedure for exporting installed hotfix details of remote computers using powershell
The goal of this Micro Tutorial is to help navigate beginning users with the app store on Windows 8. It will explain exciting features how to maximize your PC through these apps. This will be demonstrated using Windows 8 operating system.
This Micro Tutorial will teach you how to reformat your flash drive. Sometimes your flash drive may have issues carrying files so this will completely restore it to manufacturing settings. Make sure to backup all files before reformatting. This w…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question