Microsoft KB Archive/265114

= &quot;Access Denied&quot; Error Message When Encrypting a Folder =

Article ID: 265114

Article Last Modified on 3/1/2007

-

APPLIES TO


 * Microsoft Windows 2000 Server
 * Microsoft Windows 2000 Advanced Server
 * Microsoft Windows 2000 Professional Edition

-



This article was previously published under Q265114



SYMPTOMS
When you attempt to encrypt a folder you may receive the following error message:

An error occurred applying attributes to the file:





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.

Keywords: kbenv kberrmsg kbprb KB265114

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.