Good-day folks,
I'm having a rather interesting experience with the Microsoft Deployment Toolkit version 6.3.8450.1000. I'm new to using MDT in general but I believe based on all the online learning I've done to prepare myself, I've done a pretty good job of coming up with a setup that should work. In fact, I have been successful in capturing a Windows 10 Enterprise (v1803) image from a VMWare Virtual Machine without any issues (twice actually). Unfortunately, with the same MDT settings, the capture fails on a physical machine (HP Z8 - to be specific). This is happening with both Secure Boot (UEFI) enabled and Legacy Mode (i.e., Secure Boot disabled).
At first I thought perhaps this may have been a permissions issue on the DeploymentShare. So I granted "EVERYONE" modify permission from the root of the drive (since the DeploymentShare inherits from the root). I've also tried using my own account vs using the service account I created specifically for capturing - same results (i.e., capture succeeds for a VM but not for a physical machine).
What I find strange is that, if indeed this is a permissions issue, then why is it that the capture fails to create the image file but then succeeds in copying over the log files? At this point I'm at my wit's end and I could use some help from anyone willing to help. I've provided, below, my MDT settings and a snippet of the BDD.log file showing the error message at the end.
Any help, no matter how small, is welcomed and very much appreciated. Thank you.
This is my Bootstrap.ini:
[Settings] Priority=Default [Default] DeployRoot=\\SCCMSRV\DeploymentShare$
This is my CustomSettings.ini:
[Settings] Priority=Default Properties=MyCustomProperty [Default] _SMSTSOrgName=MY COMPANY NAME OSInstall=NO SkipCapture=NO SkipAdminPassword=NO SkipProductKey=NO SkipComputerBackup=YES SkipBitLocker=YES EventService=http://SCCMSRV:9800 SLShare=\\SCCMSRV\MDTLogs$ SLShareDynamicLogging=\\SCCMSRV\MDTLogs$
This is the error message I've been getting (from BDD.log):
Beginning backup of drive C:
Event 41035 sent: Beginning backup of drive C:
About to run command: "\\SCCMSRV\DeploymentShare$\Servicing\X64\dism.exe" /Capture-Image/CaptureDir:C /ImageFile:"\\SCCMSRV\DeploymentShare$\Captures\CAP0001-Test.wim" /Name:"CAP0001CDrive" /Compress:MAX /ConfigFile:"\\SCCMSRV\DeploymentShare$\Tools\X64\wimscript.ini" /ScratchDir:"C:MININT\Scratch"
Command has been started (process ID 1328)
ZTI Heartbeat: command has been running for 0 minutes (process ID 1328)
Event 41003 sent: ZTI Heartbeat: command has been running for 0 minutes (process ID 1328)
Console > Deployment Image Servicing and Management tool
Console > Version 10.0.14393.0
Console > Error: 5
Console > Access is denied.
Console > The DISM log file can be found at X:\windows\Logs\DISM\dism.log
Return code from command = 5
Error creating an image of drive C: rc = 5
Event 41036 sent: Error creating an image of drive C:, rc = 5
ZTIBackup COMPLETED. Return Value = 5
ZTI ERROR - Non-zero return code by ZTIBackup, rc = 5
Event 41002 sent: ZTI ERROR - Non-zero return code by ZTIBackup, rc = 5
Command completed, return code = -2147467259
Litetouch deployment failed, Return Code = -2147467259 0x80004005
Event 41004 sent: Litetouch deployment failed, Return Code = -2147467259 0x80004005
For more information, consult the task sequencer log ...\SMSTS.LOG.
Property RetVal is now = -2147467259
Validating connection to \\SCCMSRV\MDTLogs$
Mapping server share:\\SCCMSRV\MDTLogs$
Already connected to server SCCMSRV
OriginalPartitionIdentifier is set, find disk: SELECT * FROM Win32_LogicalDisk WHERE Size = '506333229056' and VolumeName = 'Windows' and VolumeSerialNumber = 'B07DB95D'
Search for Drive: OriginalPartitionIdentifier SELECT * FROM Win32_LogicalDisk WHERE Size = '506333229056' and VolumeName = 'Windows' and VolumeSerialNumber = 'B07DB95D'
Found Drive: C:
Property OSDTargetDriveCache is now = C:
Property OSDisk is now = C:
Copying C:\MININT\SMSOSD\OSDLOGS\LitTouch.log to \\SCCMSRV\MDTLogs$\MININT-HLDHE78\LiteTouch.log
Copying C:\MININT\SMSOSD\OSDLOGS\LTIApply.log to \\SCCMSRV\MDTLogs$\MININT-HLDHE78\LTIApply.log
Copying C:\MININT\SMSOSD\OSDLOGS\LTISysprep.log to \\SCCMSRV\MDTLogs$\MININT-HLDHE78\LTISysprep.log
Copying C:\MININT\SMSOSD\OSDLOGS\Wizard.log to \\SCCMSRV\MDTLogs$\MININT-HLDHE78\Wizard.log
Copying C:\MININT\SMSOSD\OSDLOGS\ZTIBackup.log to \\SCCMSRV\MDTLogs$\MININT-HLDHE78\ZTIBackup.log
Copying C:\MININT\SMSOSD\OSDLOGS\ZTIConfigure.log to \\SCCMSRV\MDTLogs$\MININT-HLDHE78\ZTIConfigure.log
Copying C:\MININT\SMSOSD\OSDLOGS\ZTIDrivers.log to \\SCCMSRV\MDTLogs$\MININT-HLDHE78\ZTIDrivers.log
Copying C:\MININT\SMSOSD\OSDLOGS\ZTIGather.log to \\SCCMSRV\MDTLogs$\MININT-HLDHE78\ZTIGather.log
Copying C:\MININT\SMSOSD\OSDLOGS\ztiRunCommandHidden.log to \\SCCMSRV\MDTLogs$\MININT-HLDHE78\ztiRunCommandHidden.log
Copying C:\MININT\SMSOSD\OSDLOGS\ZTISetVariable.log to \\SCCMSRV\MDTLogs$\MININT-HLDHE78\ZTISetVariable.log
Copying X:\windows\TEMP\SMSTSLog\SMSTS.LOG to \\SCCMSRV\MDTLogs$\MININT-HLDHE78\SMSTS.LOG
Copying X:\windows\Debug\Netsetup.log to \\SCCMSRV\MDTLogs$\MININT-HLDHE78\
Copying X:\windows\System32\wpeinit.log to \\SCCMSRV\MDTLogs$\MININT-HLDHE78\
Copying log C:\MININT\SMSOSD\OSDLOGS\BDD.log contents to \\SCCMSRV\MDTLogs$\MININT-HLDHE78\BDD.LOG
CleanStartItems Complete
Unregistering TSCore.dll
About to run command: wscript.exe "X:\Deploy\Scripts\LTICleanp.wsf"
Run Command: X:\windows\system32\bcdedit.exe /delete {d22e7e91-9ee7-46eb-89d7-c5859e4302f0} /cleanup
BCD> The operation complete successfully.
BCDEdit returned ErrorLevel = 0
Removing BCDEdit
Removing AutoAdminLogon registry entries
Re-enabling UAC for built-in Administrator account
VSSMaxSize not specified using 5% of volume.
Logs contained 17 errors and 5 warnings.
Removing MDT commands from unattend.xml template.
Removed AutoLogon settings.
Removed FirstLogonCommands settings.
Modified unattend.xml saved to C:\windows\panther\unattend.xml
Checking mapped network drive.
testing drive Z: mapped to \\SCCMSRV\MDTLogs$
testing drive Y: mapped to \\SCCMSRV\DeploymentShare$
Disconnecting drive Y: mapped to \\SCCMSRV\DeploymentShare$
Cleaning up C:\MININT directory.
Cleaning up TOOLS, SCRIPTS, and PACKAGES directories.
Removing C:\MININT folder (final log entry)