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,400 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
  • 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
XP Install woes 17 96
partition magic 8 extend into d drive 7 64
difference between registeries 3 87
Computer software inventory 5 79
Most of the time we are in fix when all of sudden our systems behave weirdly.  Such problems cost time and effort... so it's best to take some preventive actions so that we can avoid such issues or overcome such problems more easily. Preventive M…
If you have done a reformat of your hard drive and proceeded to do a successful Windows XP installation, you may notice that a choice between two operating systems when you start up the machine. Here is how to get rid of this: Click Start Clic…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …

896 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now