Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I just upgraded to 7 this evening (yes, it's still evening for me, not yet slept).

I am installing some new programs and needed to make a modification to a file within the newly created directory. When I try and save this file, I get Access Denied.

I am currently set up as an administrator. I found another post that offered to use "net user administrator /active:yes" from a command line but that didn't work either. I also got access denied.

Can anyone tell me what the procedure is for saving a simple text file as an admin?

Can anyone offer a suggestion. I'm still stuck here.

share|improve this question
up vote 1 down vote accepted

You probably don't have the permissions required to access this directory.

This article explains how to grant such permissions:
How To Change File/Folder Permissions In Windows 7

If this is a directory that you'll like to be the owner, see:
Take and Grant Full Control Permissions and Ownership in Windows 7

However, exercise some caution if the directory in question belongs to the system.

share|improve this answer
Thanks for the links and great info. The directory that I am trying to save the file in was created by aother program. I need to edit this file and then save it before the program will function properly. I'd like to leave the directory set to its rightful owner and not take ownership of it. Which of your options would work best for me? – jim Jan 22 '10 at 14:21
Because of user account control (UAC) even though you are an administrator you are running with lower privileges. Rather than changing the ownership, run an elevated explorer. Right click on an the Windows Explorer icon and choose "Run As Administrator". The you will have full access to everything accessed from that window. – shf301 Jan 22 '10 at 14:30
Thanks for the response. When I right click on the windows explorer icon in my taskbar, I do not see that option at all. Does it matter that I am using "Ultimate"? – jim Jan 22 '10 at 14:36
OK, I found the menu you were talking about and ran explorer as Administrator but still get the access denied error when I try and save the file. :\ – jim Jan 22 '10 at 14:45
Harry, I followed your second link and got this to work. By downloading the reg file and then granting full control, I'm once again able to do the simple things like edit a text file. Man, microshaft sucks. Thank you! – jim Jan 22 '10 at 22:16

You can try to use the application 'Unlocker' to view any restrictions or program conflicts with that file.

share|improve this answer
Thanks for the link. It unfortunately didn't work. I'm about to go back to XP. This is crazy.. – jim Jan 22 '10 at 20:47

You must log in to answer this question.