Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Access Denied to Windows Drive.

22 Nov 2009   #1

Windows 7 Ultimate
Access Denied to Windows Drive.


I managed to remove all user access to the windows drive by mistake.

Now i cant access my main windows drive. Windows runs fine but i can't run some software, save any files to desktop and stuff. Please help as i don't want to reinstall !

I tried following

but that doesn't help as i dont' see any security tab inside properties.

Attached Images
Access Denied to Windows Drive.-clipboard01.jpg Access Denied to Windows Drive.-clipboard011.jpg 
My System SpecsSystem Spec
22 Nov 2009   #2

Windows 7 Home Premium

what exactly were you messing with when it did this?

I had done this a long time ago to my computer but eventually got it back after constantly clicking around.....

I do know 1 trick in the command prompt.....
It uses the Administrator (GOD) account to fix your administrator (JESUS) account....
Thats usualy what I do when my regular admin account has any kinds of permission issues...
Just be careful if u mess anything up in the Administrator account theres nothing higher than that to fix it, then you'll need a reinstall.....

Open Dos: (Two seperate comands only use 1 at a time)

net user administrator /active:no

net user administrator /active:yes

Open dos with administrator rights...
Type the command above with the yes in it....
log off, then log into the Administrator (GOD) account...
Fix your admin (Jesus) account however needed....
**Right click on the OS hard drive and change the security permissions for the other users...
**If this does not work, delete your user you messed up then create a new one.....
**If doing that I recommend a restart between the deletion and creation of accounts, just in case....also to try a different name for the account if recreating it with the same name does not work....
after your fixed....
Then, go back into your original account and open dos with admin rights and type the dos command with the no in it to disable the Administrator (GOD) account.....
this way nobody can use it to log in....
My System SpecsSystem Spec
22 Nov 2009   #3

64-bit Windows 10 Pro

Hello Farhang, and welcome to Seven Forums.

I believe that the easiest way to fix this would be to do a repair install. You will not lose anything.

Hope this helps,
My System SpecsSystem Spec

22 Nov 2009   #4

Windows 7 Ultimate

I was on security tab on properties of the drive and removed all users including administrator to try something but mistakenly saved them.

Will your method work even if i cannot access the drive in Administrator ( GOD ) account ?

Attached Images
Access Denied to Windows Drive.-clipboard013.jpg 
My System SpecsSystem Spec
22 Nov 2009   #5

Windows 7 Ultimate

@ Brink

Will my settings and softwares data ( Firefox, dreamweaver ) remain ?

My System SpecsSystem Spec
22 Nov 2009   #6

64-bit Windows 10 Pro

Yes, those should remain intact. See the yellow TIP box at the top of the tutorial link above for a complete list of the minor things that may be reset to default though.
My System SpecsSystem Spec
22 Nov 2009   #7

Windows 7 Home Premium

It should work if u access what is in that screen shot through the Administrator (GOD) account.... (It is actually named
not your administrator account that you gave a name you always use.....

It is accessible, you just have to correctly open command prompt with admin rights and type the command with the yes in it....

As for a system repair install, I have lost data before with VISTA home premium when i have done that....
what happened was my user files were missing and my programs were still installed....
cuz my user was deleted.... I thnk i clicked the wrong option before though if you watch what is clicked you should be fine
My System SpecsSystem Spec
22 Nov 2009   #8

Windows 7 Ultimate

Yes the God account ,main administrator account i had to enable it from the mmc, but still can't access the drive after logging into that.

What do the commands do exactly?

Thanks again

Attached Images
Access Denied to Windows Drive.-clipboard011.jpg 
My System SpecsSystem Spec
22 Nov 2009   #9

Windows 7 Home Premium

the commands allow you to access the account through the log in menu....
I had done this myself a long time ago in vista.....
but my admin account still had privileges to the HDD....
It looks like your admin account does not have the permissions either.....

The next alternative is the repair installation like Brink on here posted.....
Just make sure it is done correctly and just in case it would be good to back up your personal files....

And, when all this is done make sure you type the dos command to deactivate the administrator account from the log on menu...
My System SpecsSystem Spec

 Access Denied to Windows Drive.

Thread Tools

Similar help and support threads
Thread Forum
Access to Hard Drive is Denied
Hi guys, let me first introduce myself as Canowyrms. Im of course new to the community, but not so new to the computer world. I have been working with computers for about five or so years now. I am quite experienced, but there is always something new to learn with technology now-a-days. I am...
System Security
Access denied on dvd drive
Just started - upon clicking dvd drive, message says "may not have permission." I can right click and open and play the movie, so drive is operable. I went into registry and followed directions to delete lower filter. - no change. I checked permissions and that is OK as well. I also...
Hardware & Devices
Access denied for shared drive
I've got a simple home network, with one Windows 7 Ultimate x64 desktop (wired), one Windows XP Pro desktop (wired), and two Windows 7 Home Premium notebooks (wireless). The motherboard failed on one of the notebooks that belongs to my stepdaughter, so I removed the hard drive and installed it in...
Network & Sharing
Denied Access to D:\ drive
Seems i ****** up my permission settings pretty badly thistime. cmd is run as admin, and uac is off. C:\>whoami troll\hákon C:\>net user Hákon User name Hákon Full Name Hákon Comment
General Discussion
Access Denied To C: Drive
Hello, I was messing around trying to share my local disk on my home network and in an attempt to give everyone access I deleted some Users from the Groups or User Names box and added "Everyone" with full permissions. Now when I click on the c: drive I get a message saying "Access Denied" Has...
Network & Sharing
D Drive is Access Denied after Windows 7 Reinstall
Greetings, I previously had a post under "Network and Sharing" that I resolved by reinstalling Windows 7. My computer has one hard disk that I partitioned to C: and D:, C: has the operating system and D: has...
Hardware & Devices

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 05:41.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App