MDT 2010 - Unable to Update Deployment Share

June 24, 2011
Yoni Kirsh

in Blog

I received a call recently, from a customer who was having trouble updating his MDT deployment shares.

I logged onto the server and tried myself, sure enough I received this error.

image4 (1)

Unable to mount the WIM, so the update process cannot continue.

OK, so it looks like MDT is having trouble mounting the Window PE image from the WAIK. MDT using ImageX to do this, so I figure this was a good place to start.

Curious, I opened an Administrator Command Prompt and attempted to mount an image using ImageX. I used the following command.

ImageX.exe /mount ..PEToolsx86winpe.wim 1 c:Mount

image5

As you can see, the results weren’t fantastic, ImageX was unable to mount and WIM file, reporting this error.

A required privilege is not held by the client.

Now that I have a bit more of an idea of what was happening, I went about checking for obvious issues.

  • I confirmed that the account I was using had sufficient user permissions - the account was an administrator
  • I checked the NTFS permissions on both the WIM file and the mount directory – my user had full control in both cases
  • I checked for any restrictive Group Policy that may be in place – nothing seemed out of the ordinary
  • I disabled the Anti Virus client
  • I re-installed Windows AIK

Next I looked at what error level was being reported by ImageX, it was “2”. The ImageX TechNet Reference suggests that error 2 relates to a WIMGAPI failure. I found that pretty funny, most of the functionality for ImageX resides in WIMGAPI.dll, so this wasn’t particularly helpful. Nevertheless I checked out the copies of WIMGAPI.dll from the WAIK folder, as well as ones I found on the path, in C:WindowsSystem32, and C:Program FilesWindows Imaging. Everything seemed ok, the version numbers all matched up (6.1.7600.16385) and permissions were fine. I even tried replacing this dll, all to no avail.

After spending a few hours staring at Procmon logs, I was really no closer to understanding what going on, and ImageX wasn’t passing through the error from WIMGAPI.dll, so things were looking pretty bleak.

One of the guys in the office even went so far as to write up a little program that would use WIMGAPI.dll to mount a folder from a WIM. It also failed, however we were able to retrieve the correct error code, which was 1314. The MSDN page for System Error Codes says error 1314 is “ERROR_PRIVILEGE_NOT_HELD” and that “A required privilege is not held by the client.” Which privilege!! At least now we knew there was definitely something out of place with some permissions.

I turned my attention back to Group Policy, starting to turn settings off one by one, trying to coax out the culprit. In the end I found it! The offending policy lives under Computer Configuration –> Policies –> Windows Settings –> Security Settings –> Local Policies –> User Rights Assignment. Permissions to “Manage audit and security log” had been set to a group which my user account was not a member.

image6

For some reason WIMGAPI.dll required this permission to function. After being granted this permission, ImageX and MDT both worked at intended. Quite an obscure one I know, however if someone else happens to have the same circumstance, I hope you stumble upon this article before spending as much time as I did, trying to figure out what was going one.

Daft tincidunt massa non

Augue consequat convallis. Fusce id consectetur felis, eget tincidunt elit. Nulla placerat mauris eget arcu feugiat, ac pretium risus ullamcorper. Suspendisse auctor, tortor dignissim feugiat mattis, dui dolor euismod lectus, et pulvinar est quam in augue. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nam pharetra volutpat euismod. Proin eu nisl quis urna rutrum tincidunt.

Morbi tincidunt massa non et sem

Duis nec ultricies lacus, vitae ornare mauris. Aliquam tempor lorem id neque suscipit ultricies. Pellentesque tristique est diam, at dictum ipsum egestas vitae. Phasellus quis semper nulla. Donec sit amet aliquet ipsum, vitae accumsan nisi. Integer vehicula arcu eu dictum varius. Donec in arcu quis nibh auctor pellentesque in in nibh. Ut consectetur mi quis dolor porttitor mollis. Integer fringilla nibh vel purus euismod suscipit.

blog-img1.jpg

Non et sem malesuada imperdiet Augue consequat convallis. Fusce id consectetur felis, eget tincidunt elit. Nulla placerat mauris eget arcu feugiat, ac pretium risus ullamcorper. Suspendisse auctor, tartar dignissim feugiat mattis, dui dolor euismod lectus, et pulvinar est quam in augue. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

blog-img1.jpg

Non et sem malesuada imperdiet Augue consequat convallis. Fusce id consectetur felis, eget tincidunt elit. Nulla placerat mauris eget arcu feugiat, ac pretium risus ullamcorper. Suspendisse auctor, tartar dignissim feugiat mattis, dui dolor euismod lectus, et pulvinar est quam in augue. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

blog-img2.jpg

Etiam eget odio

Sed ullamcorper dignissim magna, vitae pretium augue vehicula ut. Curabitur in vestibulum risus. Pellentesque venenatis, mi vitae dictum volutpat, mi erat efficitur elit, quis eleifend augue arcu tristique urna. Vestibulum sit amet lectus nec dolor molestie iaculis. Vestibulum tempor, sapien dignissim hendrerit lobortis, turpis orci hendrerit mi, quis imperdiet eros nulla ut tortor. Nam laoreet. Duis sed ex arcu. Etiam placerat lectus lacus, scelerisque venenatis lectus malesuada nec. Sed sed tortor quis turpis mattis ultrices.

blog-img2.jpg

Etiam eget odio

  • Sed ullamcorper dignissim magna, vitae pretium augue vehicula ut. Curabitur in vestibulum risus. Pellentesque venenatis, mi vitae dictum volutpat, mi erat efficitur elit, quis eleifend augue arcu tristique urna. Vestibulum sit amet lectus nec dolor molestie iaculis. Vestibulum tempor, sapien dignissim hendrerit lobortis, turpis orci hendrerit mi, quis imperdiet eros nulla ut tortor. Nam laoreet. Duis sed ex arcu. Etiam placerat lectus lacus, scelerisque venenatis lectus malesuada nec. Sed sed tortor quis turpis mattis ultrices.

Etiam eget odio

Sed ullamcorper dignissim magna, vitae pretium augue vehicula ut. Curabitur in vestibulum risus. Pellentesque venenatis, mi vitae dictum volutpat, mi erat efficitur elit, quis eleifend augue arcu tristique urna. Etiam placerat lectus lacus, scelerisque venenatis lectus malesuada nec. Sed sed tortor quis turpis mattis ultrices.

  • Morbi volutpat arcu porttitor quam accumsan, eu cursus tellus laoreet.
  • Phasellus vel diam ultricies, suscipit est quis, commodo leo.
  • Nulla rutrum augue ut arcu ornare, pulvinar consequat purus pharetra.
  • Ut non sapien tincidunt, aliquam odio ut, mollis neque.

Halope caft cidunt denkum

blog-img2.jpg

Sed ullamcorper dignissim magna, vitae pretium augue vehicula ut. Curabitur in vestibulum risus. Pellentesque venenatis, mi vitae dictum volutpat, mi erat efficitur elit, quis eleifend augue arcu tristique urna. Vestibulum sit amet lectus nec dolor molestie iaculis. Vestibulum tempor, sapien dignissim hendrerit lobortis, turpis orci hendrerit mi, quis imperdiet eros nulla ut tortor. Nam et tristique neque.

Daft tincidunt massa non

Augue consequat convallis. Fusce id consectetur felis, eget tincidunt elit. Nulla placerat mauris eget arcu feugiat, ac pretium risus ullamcorper. Suspendisse auctor, tortor dignissim feugiat mattis, dui dolor euismod lectus, et pulvinar est quam in augue. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nam pharetra volutpat euismod. Proin eu nisl quis urna rutrum tincidunt.

Morbi tincidunt massa non et sem

Duis nec ultricies lacus, vitae ornare mauris. Aliquam tempor lorem id neque suscipit ultricies. Pellentesque tristique est diam, at dictum ipsum egestas vitae. Phasellus quis semper nulla. Donec sit amet aliquet ipsum, vitae accumsan nisi. Integer vehicula arcu eu dictum varius. Donec in arcu quis nibh auctor pellentesque in in nibh. Ut consectetur mi quis dolor porttitor mollis. Integer fringilla nibh vel purus euismod suscipit.

blog-img1.jpg

Non et sem malesuada imperdiet Augue consequat convallis. Fusce id consectetur felis, eget tincidunt elit. Nulla placerat mauris eget arcu feugiat, ac pretium risus ullamcorper. Suspendisse auctor, tartar dignissim feugiat mattis, dui dolor euismod lectus, et pulvinar est quam in augue. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

blog-img1.jpg

Non et sem malesuada imperdiet Augue consequat convallis. Fusce id consectetur felis, eget tincidunt elit. Nulla placerat mauris eget arcu feugiat, ac pretium risus ullamcorper. Suspendisse auctor, tartar dignissim feugiat mattis, dui dolor euismod lectus, et pulvinar est quam in augue. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

blog-img2.jpg

Etiam eget odio

Sed ullamcorper dignissim magna, vitae pretium augue vehicula ut. Curabitur in vestibulum risus. Pellentesque venenatis, mi vitae dictum volutpat, mi erat efficitur elit, quis eleifend augue arcu tristique urna. Vestibulum sit amet lectus nec dolor molestie iaculis. Vestibulum tempor, sapien dignissim hendrerit lobortis, turpis orci hendrerit mi, quis imperdiet eros nulla ut tortor. Nam laoreet. Duis sed ex arcu. Etiam placerat lectus lacus, scelerisque venenatis lectus malesuada nec. Sed sed tortor quis turpis mattis ultrices.

blog-img2.jpg

Etiam eget odio

  • Sed ullamcorper dignissim magna, vitae pretium augue vehicula ut. Curabitur in vestibulum risus. Pellentesque venenatis, mi vitae dictum volutpat, mi erat efficitur elit, quis eleifend augue arcu tristique urna. Vestibulum sit amet lectus nec dolor molestie iaculis. Vestibulum tempor, sapien dignissim hendrerit lobortis, turpis orci hendrerit mi, quis imperdiet eros nulla ut tortor. Nam laoreet. Duis sed ex arcu. Etiam placerat lectus lacus, scelerisque venenatis lectus malesuada nec. Sed sed tortor quis turpis mattis ultrices.

Something Powerful

Tell The Reader More

The headline and subheader tells us what you're offering, and the form header closes the deal. Over here you can explain why your offer is so great it's worth filling out a form for.

Remember:

  • Bullets are great
  • For spelling out benefits and
  • Turning visitors into leads.

Halope caft cidunt denkum

blog-img2.jpg

Something Powerful

Tell The Reader More

The headline and subheader tells us what you're offering, and the form header closes the deal. Over here you can explain why your offer is so great it's worth filling out a form for.

Remember:

  • Bullets are great
  • For spelling out benefits and
  • Turning visitors into leads.

Daft tincidunt massa non

Augue consequat convallis. Fusce id consectetur felis, eget tincidunt elit. Nulla placerat mauris eget arcu feugiat, ac pretium risus ullamcorper. Suspendisse auctor, tortor dignissim feugiat mattis, dui dolor euismod lectus, et pulvinar est quam in augue. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nam pharetra volutpat euismod. Proin eu nisl quis urna rutrum tincidunt.

Morbi tincidunt massa non et sem

Duis nec ultricies lacus, vitae ornare mauris. Aliquam tempor lorem id neque suscipit ultricies. Pellentesque tristique est diam, at dictum ipsum egestas vitae. Phasellus quis semper nulla. Donec sit amet aliquet ipsum, vitae accumsan nisi. Integer vehicula arcu eu dictum varius. Donec in arcu quis nibh auctor pellentesque in in nibh. Ut consectetur mi quis dolor porttitor mollis. Integer fringilla nibh vel purus euismod suscipit.

blog-img1.jpg

Non et sem malesuada imperdiet Augue consequat convallis. Fusce id consectetur felis, eget tincidunt elit. Nulla placerat mauris eget arcu feugiat, ac pretium risus ullamcorper. Suspendisse auctor, tartar dignissim feugiat mattis, dui dolor euismod lectus, et pulvinar est quam in augue. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

blog-img1.jpg

Non et sem malesuada imperdiet Augue consequat convallis. Fusce id consectetur felis, eget tincidunt elit. Nulla placerat mauris eget arcu feugiat, ac pretium risus ullamcorper. Suspendisse auctor, tartar dignissim feugiat mattis, dui dolor euismod lectus, et pulvinar est quam in augue. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

blog-img2.jpg

Etiam eget odio

Sed ullamcorper dignissim magna, vitae pretium augue vehicula ut. Curabitur in vestibulum risus. Pellentesque venenatis, mi vitae dictum volutpat, mi erat efficitur elit, quis eleifend augue arcu tristique urna. Vestibulum sit amet lectus nec dolor molestie iaculis. Vestibulum tempor, sapien dignissim hendrerit lobortis, turpis orci hendrerit mi, quis imperdiet eros nulla ut tortor. Nam laoreet. Duis sed ex arcu. Etiam placerat lectus lacus, scelerisque venenatis lectus malesuada nec. Sed sed tortor quis turpis mattis ultrices.

blog-img2.jpg

Etiam eget odio

  • Sed ullamcorper dignissim magna, vitae pretium augue vehicula ut. Curabitur in vestibulum risus. Pellentesque venenatis, mi vitae dictum volutpat, mi erat efficitur elit, quis eleifend augue arcu tristique urna. Vestibulum sit amet lectus nec dolor molestie iaculis. Vestibulum tempor, sapien dignissim hendrerit lobortis, turpis orci hendrerit mi, quis imperdiet eros nulla ut tortor. Nam laoreet. Duis sed ex arcu. Etiam placerat lectus lacus, scelerisque venenatis lectus malesuada nec. Sed sed tortor quis turpis mattis ultrices.

Something Powerful

Tell The Reader More

The headline and subheader tells us what you're offering, and the form header closes the deal. Over here you can explain why your offer is so great it's worth filling out a form for.

Remember:

  • Bullets are great
  • For spelling out benefits and
  • Turning visitors into leads.

Halope caft cidunt denkum

blog-img2.jpg

Something Powerful

Tell The Reader More

The headline and subheader tells us what you're offering, and the form header closes the deal. Over here you can explain why your offer is so great it's worth filling out a form for.

Remember:

  • Bullets are great
  • For spelling out benefits and
  • Turning visitors into leads.

Daft tincidunt massa non

Augue consequat convallis. Fusce id consectetur felis, eget tincidunt elit. Nulla placerat mauris eget arcu feugiat, ac pretium risus ullamcorper. Suspendisse auctor, tortor dignissim feugiat mattis, dui dolor euismod lectus, et pulvinar est quam in augue. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Nam pharetra volutpat euismod. Proin eu nisl quis urna rutrum tincidunt.

Morbi tincidunt massa non et sem

Duis nec ultricies lacus, vitae ornare mauris. Aliquam tempor lorem id neque suscipit ultricies. Pellentesque tristique est diam, at dictum ipsum egestas vitae. Phasellus quis semper nulla. Donec sit amet aliquet ipsum, vitae accumsan nisi. Integer vehicula arcu eu dictum varius. Donec in arcu quis nibh auctor pellentesque in in nibh. Ut consectetur mi quis dolor porttitor mollis. Integer fringilla nibh vel purus euismod suscipit.

blog-img1.jpg

Non et sem malesuada imperdiet Augue consequat convallis. Fusce id consectetur felis, eget tincidunt elit. Nulla placerat mauris eget arcu feugiat, ac pretium risus ullamcorper. Suspendisse auctor, tartar dignissim feugiat mattis, dui dolor euismod lectus, et pulvinar est quam in augue. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

blog-img1.jpg

Non et sem malesuada imperdiet Augue consequat convallis. Fusce id consectetur felis, eget tincidunt elit. Nulla placerat mauris eget arcu feugiat, ac pretium risus ullamcorper. Suspendisse auctor, tartar dignissim feugiat mattis, dui dolor euismod lectus, et pulvinar est quam in augue. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.

blog-img2.jpg

Etiam eget odio

Sed ullamcorper dignissim magna, vitae pretium augue vehicula ut. Curabitur in vestibulum risus. Pellentesque venenatis, mi vitae dictum volutpat, mi erat efficitur elit, quis eleifend augue arcu tristique urna. Vestibulum sit amet lectus nec dolor molestie iaculis. Vestibulum tempor, sapien dignissim hendrerit lobortis, turpis orci hendrerit mi, quis imperdiet eros nulla ut tortor. Nam laoreet. Duis sed ex arcu. Etiam placerat lectus lacus, scelerisque venenatis lectus malesuada nec. Sed sed tortor quis turpis mattis ultrices.

blog-img2.jpg

Etiam eget odio

  • Sed ullamcorper dignissim magna, vitae pretium augue vehicula ut. Curabitur in vestibulum risus. Pellentesque venenatis, mi vitae dictum volutpat, mi erat efficitur elit, quis eleifend augue arcu tristique urna. Vestibulum sit amet lectus nec dolor molestie iaculis. Vestibulum tempor, sapien dignissim hendrerit lobortis, turpis orci hendrerit mi, quis imperdiet eros nulla ut tortor. Nam laoreet. Duis sed ex arcu. Etiam placerat lectus lacus, scelerisque venenatis lectus malesuada nec. Sed sed tortor quis turpis mattis ultrices.

Something Powerful

Tell The Reader More

The headline and subheader tells us what you're offering, and the form header closes the deal. Over here you can explain why your offer is so great it's worth filling out a form for.

Remember:

  • Bullets are great
  • For spelling out benefits and
  • Turning visitors into leads.

Halope caft cidunt denkum

blog-img2.jpg

Subscribe to Email Updates