May 21, 2009
My Digital Life Editorial Team

Take and Grant Full Control Permissions and Ownership in Windows 7 or Vista Right Click Menu

In order to ensure greater security and reliability of Windows operating systems such as Windows 7, Windows Vista, Windows Server 2008 and Windows Server 2008 R2, a lot of system files have been assigned and granted ownership and full control permissions to TrustedInstaller and has special restricted permissions to all other users, including administrators. While the design makes accidental deletion or change to system files, it makes job of technical users harder though.

Manually take ownership and grant full control permissions of the files (including executables) and folders to administrators or other users or groups are messy multiple steps process in Windows. There are multiple ways to make grant full control permissions and ownership to administrators easier, such as using Take Control Of command script or manually issue takeown and icacls commands in Command Prompt window. It’s also possible to add a right click menu item to contextual menu that appears when user right clicks on files and folders, that automatically take full control and ownership of the selected files or folders as administrators.

Right Click Menu Item to Grant Administrators Full Control Ownership

In order to add a “Grant Admin Full Control” command to Windows right click menu, just download the following registry registration entries file, and double click on the GrantAdminFullControl.reg to merge new registry keys and values to system. The registry entries have been updated from previous version. It works on both 32-bit (x86) and 64-bit (x64) OS and is non-recursive.

Download GrantAdminFullControl.reg

Tip: It’s possible to change “Grant Admin Full Control” to any name you like if it’s not to your liking. To change the name on the right click menu, just edit the .reg file, and replace the three Grant Admin Full Control string in the text file to your prefer name, such as Take Full Control Permissions, Grant Administrators Full Permissions, Give Administrators Full Control, Grant Administrator Rights and etc.

Update: Related articles have been updated and consolidated as How to Take Ownership and Gain Full Control Permissions in Windows

  • some dude

    link is dead

    • AndyShit

      There is no maintenance.

  • Abdullah Khan

    You are Fcuking awesome man ๐Ÿ˜›

    it really worked.

    Thanks a lot.

  • Win7 User

    works on win7. Thnx. by the way great for fixing indexing problems when the indexing service keeps disabling

  • CaspersSVT

    Great Tweak guy thanks. Works EXCELLENT; Especially on some BS files and folders that are giving, “You”, trouble. Again, Thanks and can be a VERY helpfull Windows Tweak.

  • Florian

    If it doesnt work for you, follow these Steps:
    1. right click on the file and click on Edit
    2. replace all the “administrators” with your username
    3. save!

    To uninstall it edit the file again and place a – after every [
    example: [-HKEY_CLASSES_ROOT\*\shell\runas]
    and save!

    I hope that helped you, if not. shit happens.

  • jason

    This is junk….it didnt do a damn thing!

  • chathra

    thnxxxxxxxxxxxxxxxxxxxxxxxx

  • Pingback: can't delete 4 DLL files()

  • Promod

    The question of ‘Larry Gomez’ is still unanswered. Well ! How does one reverse the installation of ‘โ€œGrant Admin Full Controlโ€ ? Because once installed it’s there to stay – like an unwelcome guest.

  • nkarafo

    Hey man, you are THE BEST!!!

    Thank you very much !!!!!!!!!!

    Fuc# to M$ programmers.

  • Larry Gomez

    I should clarify my question. I wish to reverse or remove GrantAdminFullControl.reg . How can I do this without a computer nightmare? I am having a Win 7 Home Premium nightmare already.

    • DPixel

      You should have exported your registry to save its settings before modifying the registry.

  • Larry Gomez

    Hi, at some time coincident with the installation of this registry, I have lost icons to default/generic icons. System restore has brought them back temporarily but reversing this installation to diagnose the problem has been yet another problem. How can I do an uninstall before I lose the time frame for System Restore?

  • fooled??

    I loaded this and I believe it loaded the Juniper Networks. Now I have
    a IVE Logon. Why are folks always trying to do harm to other
    folks.

  • Edd

    Excellent fix thanks

  • NoGoFail

    Did not work on a typical myapp.exe file, on the Desktop of a Windows 7 Home Premium SP1 machine.

    Windows 7. I’ve spend an hour already research like the rest of you.

    F’N’CHRIST!

    Microshit Toilet Bowl Windows 7!

  • Serge

    this does not work. I tried to get access to system32 and it said that its all setup and ready to go but i still get access denied.

  • Jon Dan

    Dude you rock…….cheers

  • Bindu Aggarwal

    Thanks..it works…..

  • Yes

    Yes it worked. Awesome man, I dont know how you do it. XDDDD

  • jack

    THIS IS CRAZY DUDE !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  • lol lol

    Can anyone confirm if this works?

  • mukesh

    DUDE U ROCK!!!!!!!!!!!!!!!!!!!!!!!!

  • Salman

    Thanku man i was sick of some files dat were building up day by day i was trying hard to delete them but nothing helped.

    Thanks for This Reg ๐Ÿ˜‰ I tested it and worked

    ๐Ÿ™‚

  • Nacho

    YOU ARE A GENIOUSS!!!!
    MANY THANKSSSS

    YOUR ARE SMART AND BETTER THAN MICROSOFT GUYS!

  • Me

    awesome..it works !

    finally i can access my folder again

    THANKS A LOT ๐Ÿ™‚

  • king

    man u r amazing i was searching for this help for whole week thnks man u rock

    ๐Ÿ˜€

  • MaveriK

    Ohhh man thanks, no really, THANK YOU A LOT, especially the genius who made this and shared it … this thing,this beauty, saved me hours, maybe days,or maybe years,dunno… of manually changing to full permission every single piece of file on my disk(there where over 100 000 damn files so i would have long white beard growing and still didn't finish changing them).

    Thanks a lot guys. REGARDS

  • Mugen

    How do you remove this from right click menu??

  • Pingback: Special permissions in Windows 7 (how to get control )()

  • jojo

    Did not work for me – win 7

  • aqeel

    LOVE YOU FOR SHARING THIS KNOWLEDGE,LOVE YOU LOVE YOU LOVE YOU,,

  • g

    can not …. why??

  • Justin

    is there a way to remove Grant Full Admin Control once I have done what I need to do, to keep the system secure?

  • pullingmyhairout

    Thank you so very, very much!

  • Capitan2155

    Thanks.!!! It really worked for me, and the process took about 30 seconds in my music folders (20 gb of music)

  • Pingback: Access files on a hard drive()

  • sbhboi

    Although I manage to modify some files in the System32, I had this weird annoying error…

    Windows can't find the file
    %SystemRoot%Installer{A85FD55B-891B-4314-97A5-EA96C0BD80B5}MsblIco.Exe

    Some of my icons become empty. just the template-look icon, happens on my windows live messenger, office, anti virus, adobe's & Macromedia's..

  • Gar

    This whole process is a pain in the you know what. You have to grant permissions for each file and folder separately, if you have a large number of files and folders, from let's say an old harddrive with another operating system on it, you are SOL, because there may be 100's of files you need. Nothing I have tried works better than booting up that old OS and copying files to another harddrive by yourself. But if that OS doesn't boot up you are in deep trouble, because you will not be able to get your files off of it easily.

    Win 7 is a huge nightmare when it comes to this!

  • Nic

    May I ask, is there a similar way to easily remove a permissions listing from multiple files? I have downloaded music and most of them have inherited permissions from the previous owner… I would like to remove those if possible, but I was just wondering if it is possible to do so in large batches.

    Any ideas?

  • Al

    Thanks, worked like a charm

  • sbhboi

    Oh god thanks man, this really help big time ! Only thing is that i had to click each folders that I need to grant full access, every folders..took awhile..

  • Kordox

    This didn't solve my problem. Now when I try to delete certain files and folders, instead of stating that I need permission from administrator, I now need it from "Kordox", the name of my account.

  • Joe

    I can't thank you enough. After many hours of trying everything this finally did the trick.

    Many Thanks!!

  • Orb

    i tried your solution here for a problem i have and i didn't work. here's the issue: i tried to delete a folder of files that i created using the Universal Extractor..i keep getting this error code "error 0x80070091" and it saying the directory is not empty. i've tried several ways to get rid of it (file Assassin, File Menu Tools shred option) and i'm left with a temp folder that just wont go away and cant be dealt with. please email me with any ideas.. oh and i have windows 7 home premium. thanks in advance

  • Chetan

    On my PC one of the drives Access is denied…

    How to remove that access denied?

    I want to access that drive.

  • Jeff

    I am having the exact issue Jayden is having only it applies to my larger media (movies, music) folders… Is there any solution?

  • Beltiras

    I'm trying to change the jEdit config file modes/catalog.xml. Win7 just won't let me de-flag the modes directory as read-only, even after using your script. The idea is solid and I looked @ the .reg, it's clean code and I understand the solution. Win7 is just bugged. Thank you for your good effort.

  • Great post – but this still doesn't solve an issue for me. Before removing the Windows 7 RC I backed up all my data on an external hard drive, then installed the fully Windows 7, then tried copying all my data back accross. The vast majority worked apart from 2 folders. The files in these folders have green text for their file names. When I right-click > Properties > Attributes: Advanced button > the following option is ticked: Encrypt contents to secure data. Unticking this and saving it produces an error "You will need to provide administrator permission to change these attributes. Click Continue to complete this operation."

    After clicking Continue – I get an error – Access is denied.

    This happens even after running your right-click script, or manually taking ownership. Very annoying!

  • Dominic

    Thanks so much. you are brilliant

  • That's an amazing little tool. Saved me a lot of time. Thanks!

  • brad

    works great when you want to delete someone you dont likes system files lol

  • nollaig

    Thanks so much

    I needed to gain access to my password protected Docs folder in the HD from my old Win XP PC through my new laptop running Windows 7 Home Premium. Instead of having to gain ownership of each file individually this allowed me to do it in one go – it took about a minute to gain access to 9.05 GB of documents. Genius!!!

    Now if someone can make WMP 10 work on Windows 7 without downgrading to the 32 bit OS my life will be complete!

  • hovo

    to delete it open regedit the go to edit find in find type grant and press enter then delete every registry you'll see then go to edit and press find next delete it also do it until a these reg appear (DEFAULT

    CODE

    STATE)

    Dont delete those. ๐Ÿ™‚

  • Jon

    Thanks so much for this, I took it one step further. I had a bunch of picture files that went from XP to Vista Ult to Win 7 Ult. In win7 admins had full control and even though my user was in admin groups, I couldn't even preview the picture files and of course you can't multi-select to update the security on picture files… really? So I edited this reg file changed adminsitrators to my username and added that to my reg .. mahe it Grant Me Full Control .. works perfectly. I can see my picture files now.. THANK YOU!!

  • Cyn

    THANK YOU SO EFFING MUCH!

  • kj

    this worked great for me!

    i had to replace my win xp pc and my folder was set to private so even if i set me as the new owner, it still denies my access

    but this worked perfectly, one click and i gain access! woo!

    thanks!

  • joe

    This didn't work for me! ;(

  • Trillian

    I LOVE YOU!!!!

    My Vista issues have been giving me a headache for three whole days. I finally got my OS and files restored but couldn't access anything.

    This worked like a charm! You are the greatest!!

    THANK YOU!!!!

  • Pingback: How to take Ownership of a Drive, Folder or File in Windows 7 « Articles & Reviews « Computer Services – Croydon Crawley & Brighton.()

  • alembic

    seems to have worked weel. now my computer is mine, mine, mine. good. why do these daft b*ggers do these things?

  • Frank Ward

    I started with Dos and a 286 and have never

    had a better and more useful tip from anyone. Using it solved a problem I've worked on for over a week!

    TY TY

    TY

  • jooki

    Wow thanks, that was a real life saver!!

  • jabbaz

    Sure after i disabled uac. But in win7 it doesn't matter that its turned on or off.

  • jabbaz

    You are a lifesaver!

    Even if I did disable UAC, this crap didn't allow me to my own files. I agree with security, program-execution prevention, but if I, repeat I want to start a program, why cant do it. The main problem was an executable file with another extension. No run as administrator. In special settings I cant grant access to a folder or a file to myself as administrator. So I agree with security, but in the world there are people who dont use their computer just for power on->internet explorer->office->minesweeper->off. Windows8 slogan will be: are you sure? or what. Even when microsoft proudly announced that in windows7 uac is much more user friendly. It must be but in vista i was able to access my files.

  • aa

    how do u uninstall this cause it doesnt work for me

  • bustman

    i hope this works

  • Pingback: Windows 7 file Copy - TechEnclave()

  • B

    This protect yourself from yourself protection is bull. It wouldn't allow me to instal a windows certified driver.

    I ran grant admin full control on the windows directory and still don't have permission to update windows.

    Any ideas?

  • hamid

    that is very useful

    thank u very much

  • cyclehacker

    sianz:

    open the .reg file in Notepad and insert a hyphen in each of the registry values.

    i.e. change [HKEY_LOCAL…]

    into [-HKEY_LOCAL…]

    Save it as delete_GrantAdminFullControl.reg or whatever you'd like and run it if you don't like the feature. Same with any registry file you want to try out.

    You can also just delete a value but leave a key by adding the hyphen after the equals sign in the file.

  • cshark

    This tip turned out to be a lifesaver. The key is quite safe. All it does is to add a right-click context menu, which can be invoked to execute a command prompt to take ownership of the file or folder. Without this I would have been forced to downgrade to Windows XP. I was trying to copy custom files from an old hard drive mounted in a new machine and kept getting "file access denied" errors. The solution actually was to take ownership of the files on the hard drive I was attempting to copy from. (This hard drive will be trashed when copy is complete so there's no security risk) I suppose if you're an IT admin you might want to remove the registry key when finished or (in Windows 7) set up a system restore point before executing the regedit but as a home user who just wants control of my own machine I see no reason to not keep it, and I hope Microsoft eventually includes this in Windows 7.

  • sianz

    @Phred, no, in IT, you learn that registry editing is at your own risk, don't do it if you have no idea what you are doing.

  • Phred

    In IT we all learn about backup – so that we can return to where we were originally, don't we?

    So where is the instruction to uninstall this registry entry?

  • me

    how do i change back to normal the folder i click this on??? help!!