Jump to content


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.

Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

- - - - -

How To Fix An Access Denied Errors

  • Please log in to reply
1 reply to this topic

#1 usasma


    Still visually handicapped (avatar is memory developed by my Dad

  • BSOD Kernel Dump Expert
  • 25,084 posts
  • Gender:Male
  • Location:Southeastern CT, USA
  • Local time:04:31 AM

Posted 30 January 2006 - 04:49 PM

How to Fix an Access Denied Error

Guide Overview

The purpose of this guide is to teach you how to get access to files that you’ve been denied access to.

XP is full of security features that prevent this from happening. If you're using the NTFS file system, this complicates matters even further.

But, have no fear! :huh: I've been through this myself and am fairly conversant with what is required to do this. But, the first question that I've got to ask is...did you make your files and folders private and/or use the EFS option (Encrypted File System) on the account. And, if so, do you have the copy of the key that it asked you to save to a disk when you did it? If not, then your problem is beyond the scope of this guide. The answers to these questions will affect the approach that we take. Also, what file system do you use on your hard drive - FAT32 or NTFS? NTFS is the default that the computer is setup with.

There are 3 ways to do this. Here they are:
  • Boot from a DOS floppy, and then use a free NTFS to DOS reader to copy the files to a FAT32 formatted disk. This will strip the permissions from the files and you'll be able to access them.

    The biggest drawback to this method is having a disk (formatted in FAT32) that can hold all of the information. This can be accomplished by partitioning your hard drive with a FAT32 partition, or using an external hard drive that's formatted to FAT32.

  • Use a "live" Linux distribution to copy the files into the Linux OS. This will strip the permissions from them also. I'm not familiar with this method, although it has been recommended by a lot of my colleagues.

  • For simple access problems, the easiest route to take is to take ownership of the files in question. You must be using an account with administrator privileges to do this! To do it, right click on the file/folder that you want to access - and select the "Sharing and Security" menu option. If there is no option for security in this, or the next tab - stop what you're doing and boot your system into Safe Mode (by pressing F8 the moment that Windows starts to load) - then follow these directions there (this has to do with how file sharing is setup on your system).

    Once you're in the Security tab for the file/folder that you'd like to take ownership of, scroll down the list until you find the name of the account that you're currently using. Click on it once to highlight it, and then click on the "Advanced" button that's below the list of permissions.

    Then, click on the "Owner" tab, click on the name of the account that you're currently in. Then ensure that the box labeled "Replace owner on sub-containers and objects" is checked. Then click on Apply, and then OK. You've now taken ownership of this file/folder and anything below it in the directory structure.
BUT...Because of the complex relationship between XP's security features and the NTFS files system's security features - this process can be a bit "flakey". Some of the ownership permissions may not go all the way down through the directory structure. In the event of thishappening - you have to go back and take ownership of these files/folders one-by-one until you've obtained access to everything that you need.

FWIW - here's some of the links that I used while troubleshooting this problem for myself:

http://www.practicallynetworked.com/sharin...aring/index.htm http://support.microsoft.com/default.aspx?...B;EN-US;q304040

Good luck with this, it can be very frustrating!
My browser caused a flood of traffic, sio my IP address was banned. Hope to fix it soon. Will get back to posting as soon as Im able.

- John  (my website: http://www.carrona.org/ )**If you need a more detailed explanation, please ask for it. I have the Knack. **  If I haven't replied in 48 hours, please send me a message. My eye problems have recently increased and I'm having difficult reading posts. (23 Nov 2017)FYI - I am completely blind in the right eye and ~30% blind in the left eye.<p>If the eye problems get worse suddenly, I may not be able to respond.If that's the case and help is needed, please PM a staff member for assistance.

BC AdBot (Login to Remove)



#2 astrolnk


  • Members
  • 7 posts
  • Local time:02:31 AM

Posted 06 January 2007 - 05:17 PM

Ok, I am having the same problem on my current computer. I am using FAT32 file system and from what I have read so far from microsoft, I am unable to bring up the security tab for folders because of this. So I how do I fix this problem. I have spent many many hours trying to figure it out.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users