Solved

decrypting file: error applying attributes an error occurred applying attributes to the file: path:\filename access is denied Error Applying Attributes. I am the administrator of this computer

Posted on 2009-05-14
4
5,816 Views
Last Modified: 2012-06-27
Windows XP Pro. Encrypted file name is colored green. I get an error decrypting a file:  An Error occured applying attributes to the file: path:\filename access is denied. I am the administrator of this computer from installation of Windows  XP.  Under Details: Users that can transparently access this file is my user name.  Running MMC and Looking under Console Root/ Certificates (local computer)/Trusted Root Certification Authorities/Certificates is my admin.  Properties shows Enable all purposes for this certificate, "Encrypting File System" is checked.
0
Comment
Question by:krunsh1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 5

Assisted Solution

by:burningmace
burningmace earned 125 total points
ID: 24395281
Have you tried taking ownership of the file? Under security, go to Advanced -> Owner and click Take Ownership.

Even if you're the administrator, if you didn't create the file and haven't explicitly been granted access to it, then you can't read it. Taking ownership should explicitly grant your access to it.

For more info, take a look at http://support.microsoft.com/kb/308993
0
 

Author Comment

by:krunsh1
ID: 24400055
Yes, I have ownership of the file. I tried to encrypt and decrypt another file and it works ok.  I tried to decrypt in safe mode...no sucess.  Perhaps from Microsoft the NOTE: You must be the original encrypter of the file or a designated recovery agent for the file to decrypt. I have been the only user of this computer. If I changed my username at some point would that have an effect? I can't recall if i had, since I have other computers. (I encrypted the files I want to decrypt about 2 years ago). Thanks for your response.
0
 
LVL 5

Accepted Solution

by:
burningmace earned 125 total points
ID: 24402401
It may be one of several things:

1) If Microsoft updated EFS since then and it caused the old encryption method to be nullified, you might have a scrambled file and in that case your data is lost.
2) If you changed your username, this _MIGHT_ attribute to the issue. Usually the name of the user isn't the issue though, as the old user profile is copied across to the new user name when you rename an account, and the FEK (File Encryption Key encrypted with the EFS private key) is in there.
3) If you changed your username by adding a new administrator account and then deleting the old one, you've lost the FEK key and your data is lost.

From Microsoft:
"Note that a computer that is running Windows XP and that is a member of a workgroup does not have a default recovery agent. You have to manually create a local recovery agent."

This means that because you didn't create an FEK backup disk or a recovery account, there's a good chance that the FEK is lost due to your original admin account being deleted or your account being corrupted at some point in the last 2 years (since you encrypted it).
0
 

Author Closing Comment

by:krunsh1
ID: 31581578
Thanks Burningmace, I didn't know about a recovery account. You explained it well.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Ok I have been working on this for some time having learned and gained certification in XenDesktop 4 along came version 5 which was released last month. Since then I have been working to deploy XenDesktop 5 in a small environment with only 2 virt…
cPanel is a Unix based web hosting control panel that provides a graphical interface and automation tools designed to simplify the process of hosting a web site. cPanel utilizes a 3 tier structure that provides functionality for administrators, rese…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question