Fix-It Utilities Make your PC run like new! Includes Anti-Virus, Anti-Spyware, hardware diagnostics, registry fixer, and more!
RadarSync Ensures you have the latest drivers and software updates to make your PC run better and safer.
Partition Commander Now it's easy for anyone to safely partition their hard drive! You can reclaim waste disk space, organize files, even add new OSes.
Access to the file was...
Norton AntiVirus found a virus and hopefully removed it.
Should the action be "Access to the file was denied" it may required additional work. Some viruses are clever and use the Windows complex file system privileges to make it difficult to remove the offending files.
Dialog may appear differently depending on Windows style options and where it occurs.
A command line utility cacls.exe is used to view and set the owner of a file. You will need to be an administrator to make Access Control List (ACL) changes. The following steps can be used to view and set the file's ACL:
Open a command line box by selecting Start, Accessories, Command Prompt.
At the command prompt type cacls, followed by the path and filename of a file you can access (not the one you are having problems with). This shows you the current owners and the user access rights. For example, on a default XP system, entering cacls c:\Windows\Notepad.exe, the results would appear similar to:
In this system there are three owner categories, called Users, Power Users and Administrators. The letter following the owner category is one of four types, R for Read-only, W for Write, C for Change (also write), and F for Full control.
Run cacls on the file with the problem. If the owner rights are too limited or there are no owners associated with the file, you can fix it using the /G (Grant) option. For Notepad, if we wanted the Users owner category to be able to read/write and overwrite the file, and leave the others as-is, at a command prompt, we'd enter:
In this example, we included all three owners, since if you fail to include an existing owner, it is removed! If your owner name has a space in it, you'll need to enclose the owner name in quotes as we did for Power Users. The owner names, the user access right letter and the option /G are all case-insensitive.
FaultWire Staff Posted: 16-Mar-2010
Check out what others say about this issue and review or add your own comments and solutions!
While we believe this information up to date and accurate, FAQware is not responsible for any inaccuracies. If you find something that is out of date or inaccurate, please let us know at
so we can correct it.