Failed to create MDT Bundle

Hello,

I’m trying to create an MDT Bundle with a Windows 10 image using the Wizard and the option Create both MDT Bundle and OS Resources while not touching the Manual tab or the parameters.ini file, but the task fails at the following step:

Failed continue if {exists file (parameter “LOGFILENAME” of action) whose (exists lines whose (it as string contains “[AGTRC:0]”) of it)}
regset “[HKEY_LOCAL_MACHINE\Software\BigFix\EnterpriseClient\OSDControl]” “SyncTimeMDT”=“1503582212180”

This is what the log file says:

[Thu Aug 24 07:30:33 2017] ERROR: One of the ISO resources you have provided is not a valid Windows XP, Vista, 7, 8, 8.1, 10, 2003, 2008, 2008R2, 2012, 2012R2 or 2016 ISO resource: C:\BigFixOSD\MDTBundle\Content\Deploy\Operating Systems\temp_1503584484
[Thu Aug 24 07:30:58 2017] ERROR: Permission denied
[Thu Aug 24 07:30:58 2017] ERROR: Error: rename attempt 0/3 of folder: C:\BigFixOSD\MDTBundle\Content\Deploy\Operating Systems\temp_1503584484 to folder C:\BigFixOSD\MDTBundle\Content\Deploy\Operating Systems failed with error: Died at /<C:\OSDSETUP\MDTBundleCreator\MDTBundleCreator64.exe>MDT/Media.pm line 181.

[Thu Aug 24 07:31:18 2017] ERROR: Permission denied
[Thu Aug 24 07:31:18 2017] ERROR: Error: rename attempt 1/3 of folder: C:\BigFixOSD\MDTBundle\Content\Deploy\Operating Systems\temp_1503584484 to folder C:\BigFixOSD\MDTBundle\Content\Deploy\Operating Systems failed with error: Died at /<C:\OSDSETUP\MDTBundleCreator\MDTBundleCreator64.exe>MDT/Media.pm line 181.

[Thu Aug 24 07:31:38 2017] ERROR: Permission denied
[Thu Aug 24 07:31:38 2017] ERROR: Error: rename attempt 2/3 of folder: C:\BigFixOSD\MDTBundle\Content\Deploy\Operating Systems\temp_1503584484 to folder C:\BigFixOSD\MDTBundle\Content\Deploy\Operating Systems failed with error: Died at /<C:\OSDSETUP\MDTBundleCreator\MDTBundleCreator64.exe>MDT/Media.pm line 181.

[Thu Aug 24 07:31:48 2017] ERROR: Error: could not delete folder. You will need to manually delete this folder after the Bundle Creation process has finished.
[Thu Aug 24 07:31:48 2017] ERROR: Error: renaming of folder: C:\BigFixOSD\MDTBundle\Content\Deploy\Operating Systems\temp_1503584484 to folder C:\BigFixOSD\MDTBundle\Content\Deploy\Operating Systems has failed
[Thu Aug 24 07:31:48 2017] ERROR: Skipping media1 - failed with failure: Died at /<C:\OSDSETUP\MDTBundleCreator\MDTBundleCreator64.exe>MDT/Media.pm line 195.

[Thu Aug 24 07:31:48 2017] ERROR: Bundle Creation encountered fatal error:
Died at CreateBundle.pl line 491.

Any ideas what I’m doing wrong?

Thank you in advance.

Argh Chrome on Android won’t let me copy/quote your log. Look for the error renaming the folder under Deploy/Operating Systems.

It’s likely you have the source directory or a file beneath it locked (working directory in a command prompt, folder open in Explorer, Notepad has a file open, or something like that). Less likely, your user account may not have permission to create/delete the folders (which I suppose is possible if another account previously generated the resources on this console machine, or the folder permissions have been modified).

The main issue is this:
“ERROR: One of the ISO resources you have provided is not a valid Windows XP, Vista, 7, 8, 8.1, 10, 2003, 2008, 2008R2, 2012, 2012R2 or 2016 ISO resource: C:\BigFixOSD\MDTBundle\Content\Deploy\Operating Systems\temp_1503584484”

The “Permission denied” message comes after this error. The folder that should be renamed doesn’t actually exist because the MDT Bundle Creator fails to see the ISO/folder that I have provided as an ISO Resource. I would like to know why, but there is no log file that points to the exact problem. The ISO is definitely a Win10 ISO since I have managed to install it on a device without any issues.