"Access Denied" Error Message When Encrypting a Folder

Article translations Article translations
Article ID: 265114 - View products that this article applies to.
This article was previously published under Q265114
Expand all | Collapse all

On This Page

SYMPTOMS

When you attempt to encrypt a folder you may receive the following error message:
An error occurred applying attributes to the file:
X:\Filename. Access is denied.

CAUSE

This error can occur because a folder or a file within the folder has the System attribute applied to it.

RESOLUTION

To resolve this behavior, remove the System attribute from any files in the folder and from the folder itself.

IMPORTANT: Do not attempt to change attributes or to encrypt files in the Winnt or %Systemroot% folders or subfolders as you may not be able to restart your computer.

MORE INFORMATION

To display, set or remove attributes assigned to a file or folder use the attrib command. This command displays, sets, or removes the Read-Only, Archive, System, and Hidden attributes assigned to files or to folders.

The syntax for the attrib command is: attrib [+r|-r] [+a|-a] [+s|-s] [+h|-h] [[drive:][path] filename] [/s[/d]]

Parameter definitions:

+r
Sets the Read-only file attribute.

-r
Clears the Read-only file attribute.

+a
Sets the Archive file attribute.

-a
Clears the Archive file attribute.

+s
Sets the System file attribute.

-s
Clears the System file attribute.

+h
Sets the Hidden file attribute.

-h
Clears the Hidden file attribute.

[[drive:][path] filename]
Specifies the location and name of the directory, file, or set of files you want to process. You can use wildcard characters (? and *) in the filename parameter to display or to change the attributes for a group of files.

/s
Processes matching files in the current directory and all of its subdirectories.

/d
Processes directories.

Properties

Article ID: 265114 - Last Review: March 1, 2007 - Revision: 3.3
APPLIES TO
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server
  • Microsoft Windows 2000 Professional Edition
Keywords: 
kbenv kberrmsg kbprb KB265114

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com