]> Sorry, there was a problem mounting the file. 🌐:aligrant.com

Sorry, there was a problem mounting the file.

Alastair Grant | Friday 1 April 2016

I have recently encountered yet another useful Microsoft error. This time when trying to mount an ISO file on a Windows Server 2012 R2 server I was receiving:

"Sorry, there was a problem mounting the file."

Super helpful again, thanks Microsoft. The generic error goes hand-in-hand with a vast number of causes - that Google will allude you to. None of these though helped me. A bit more useful is the error when trying to use the "Mount-DiskImage" PowerShell command:

"A required privilege is not held by the client."

After much rummaging around I finally stumbled upon the issue. An over-eager DBA who had the Group Policy settings updated to give a SQL service-account elevated privileges. Group Policy unhelpfully will only replace security settings on a computer, it will not allow you to add things in. So by specifying a service-account in GP it took out the default entries.

This particular instance it was "Perform volume maintenance tasks" found in your Local Security Policy under Local Policies / User Rights Assignment.

By default this entry just has the Administrators user group. Restoring this, forcing a gpupdate and rebooting the server resolves the issue.

Breaking from the voyeuristic norms of the Internet, any comments can be made in private by contacting me.