How to Fix: 'Access Denied' Folder on Mounted VMWare Virtual Disk
Infopackets Reader Ted G. writes:
" Dear Dennis,
Thank you for your pearls of wisdom! I have a question regarding VMWare Workstation. I recently virtualized a friend's PC which was facing numerous blue screens - I suspect his PC has a hardware error. After virtualizing the machine I mapped his drive in Windows Explorer; when I try to access c:\users\jim (his user folder), Windows keeps giving me an 'Access denied' error. There does not seem to be any way to access his files using this method. For the record I have tried copying the files by networking his virtual machine to mine but it is insanely slow. How can I fix the 'Access denied' error after mounting the disk (when attempting to access the user folder)? "
My response:
First, let me say that the reason you are encountering an "access denied" on the user folder is because there are security bits set for that specific user account which are trying to keep "outsiders" out of the folder. Hence, you receive the access denied. Typically Windows can get around this if your user account has administrative privileges, but for some reason this simply doesn't work when dealing with a VMWare mapped disk.
That said, I have run into this problem numerous times and I believe the "access denied" error has to do with the way that the virtual disk is mounted (mapped). For what it's worth, I do not have this issue when I mount image disks made by Macrium Reflect (a disk image backup program). The "access denied" error message may appear but I am still about to get through.
How to Fix: 'Access Denied' Accessing Folder on Mounted VMWare Virtual Disk
I did some digging into this problem and here is what I found.
- Normally when I receive an "access denied" error in Windows Explorer, I can get around the issue by opening up an administrative command prompt, then "cd" (change directory) directly to that folder. This method is much faster, as Windows Explorer will typically try and traverse the directory structure before giving you temporary administrator access to the folder (if you have admin access). Once I have cd'd to the folder, typing in "explorer ." on the command line will open a Windows Explorer window in the current directory. As such, accessing a folder in this manner is usually very quick. Unfortunately, the VMWare virtual disk drive letter which is mounted and accessible in Windows Explorer does not exist in the command prompt - so this method did not work.
- After a bit more digging I thought it may be possible to mount my VMWare virtual disk using a third party tool, in hopes of bypassing the "access denied" error when attempting to open a user folder. I played with a few utilities, and "OSFMount" worked best. Unfortunately, accessing the user folder using Windows Explorer resulted in the same access denied - however I was able to bypass this (read on!).
- At this point I decided to give one of my favorite utilities "TreeSize Free" a try to see if I could bypass the "access denied" error. This program has an option to run in "Administrator Mode" which helps to access files that are normally not accessible in Windows Explorer. I typed in the path to the user folder (after mapping the drive letter using OSFMount), and TreeSize Free immediately crashed - however, it gave me the option to "continue using the program." I did just that, and was finally able to access the folder. I then used "copy and paste" to copy files from the mapped virtual disk to my local drive.
So there you have it - the next time you mount a VMWare virtual disk and need to access a user folder in order to copy files over - use OSFMount and TreeSize Free to access the folders that normally aren't accessible. This method is WAY faster than copying files over the network (from virtual machine to physical machine).
Note that there are two important things you need to do when using this method:
- When OSFMount asks "which partition to use" and gives the option for "entire partition" or only a specific partition, choose the specific partition you want, otherwise it won't work. In other words, the "entire partition"
option doesn't work and won't mount the drive letter properly.
- After the drive is mounted using OSFMount, you need to launch TreeSize Free in Administrator mode, otherwise it won't work.
I hope that helps!
Additional 1-on-1 Support: From Dennis
If all of this is over your head, or if you need help with your virtual machine / accessing files, etc - I can help using my remote desktop support service. Simply contact me, briefly describing the issue and I will get back to you as soon as possible.
Got a Computer Question or Problem? Ask Dennis!
I need more computer questions. If you have a computer question -- or even a computer problem that needs fixing -- please email me with your question so that I can write more articles like this one. I can't promise I'll respond to all the messages I receive (depending on the volume), but I'll do my best.
About the author: Dennis Faas is the owner and operator of Infopackets.com. With over 30 years of computing experience, Dennis' areas of expertise are a broad range and include PC hardware, Microsoft Windows, Linux, network administration, and virtualization. Dennis holds a Bachelors degree in Computer Science (1999) and has authored 6 books on the topics of MS Windows and PC Security. If you like the advice you received on this page, please up-vote / Like this page and share it with friends. For technical support inquiries, Dennis can be reached via Live chat online this site using the Zopim Chat service (currently located at the bottom left of the screen); optionally, you can contact Dennis through the website contact form.
Most popular articles
- Which Processor is Better: Intel or AMD? - Explained
- How to Prevent Ransomware in 2018 - 10 Steps
- 5 Best Anti Ransomware Software Free
- How to Fix: Computer / Network Infected with Ransomware (10 Steps)
- How to Fix: Your Computer is Infected, Call This Number (Scam)
- Scammed by Informatico Experts? Here's What to Do
- Scammed by Smart PC Experts? Here's What to Do
- Scammed by Right PC Experts? Here's What to Do
- Scammed by PC / Web Network Experts? Here's What to Do
- How to Fix: Windows Update Won't Update
- Explained: Do I need a VPN? Are VPNs Safe for Online Banking?
- Explained: VPN vs Proxy; What's the Difference?
- Explained: Difference Between VPN Server and VPN (Service)
- Forgot Password? How to: Reset Any Password: Windows Vista, 7, 8, 10
- How to: Use a Firewall to Block Full Screen Ads on Android
- Explained: Absolute Best way to Limit Data on Android
- Explained: Difference Between Dark Web, Deep Net, Darknet and More
- Explained: If I Reset Windows 10 will it Remove Malware?
![](/graphics/dennisfaas.jpg)
My name is Dennis Faas and I am a senior systems administrator and IT technical analyst specializing in cyber crimes (sextortion / blackmail / tech support scams) with over 20 years experience; I also run this website! If you need technical assistance , I can help. Click here to email me now; optionally, you can review my resume here. You can also read how I can fix your computer over the Internet (also includes user reviews).
We are BBB Accredited
![](https://www.infopackets.com/graphics/bbb.png)
We are BBB accredited (A+ rating), celebrating 21 years of excellence! Click to view our rating on the BBB.
Comments
Access denied
Dennis, In Windows, when trying to access files from a different machine I get around the Access Denied message by taking ownership. Would that work in this situation?
Don
Read-only file system
That might work in some cases - and only if you are willing to completely destroy the permissions - however, you certainly would not want to do this in most cases, such as mounting a read-only vmware mapped disk. Any changes to the file system, especially on a virtual disk used on a virtual machine will result in data corruption on any snapshots made.
Hi Dennis,
Hi Dennis,
thank you very much for your solution!
It helped me solve it the following way:
1. Run a file manager with admin rights (e.g. FreeCommander XE)
2. Map the virtual disk through FreeCommander XE
3. Copy all needed files/folders to your desired target folder/disk
4. Disconnect virtual disk
Bye