Change the permissions and take ownership of your files and folders


When changing operating systems and migrating data, you might end up not being able to access some of your files or folders anymore. This can happen due to the fact that your user has lost ownership of those files & folders or it no longer has the required permissions. In this tutorial will try to address this type of issues and help our readers that reported having such problems.

Even though the procedure is a bit long, you will see that things are not very complicated.

If you cannot open, delete or change a folder from your disk, it means that you either need to take ownership of that folder or/and you need to change your user's access rights. To make this kind of change your user needs to be an administrator.

Both operations are done from the same menu. First, navigate to that specific folder, right click on it and select Properties.

Folder Properties

Taking Ownership

In the Properties window go to the Security tab and click on Advanced.

Folder Properties

Now go to the Owner tab. Here you will see the current owner of that folder. If your user is not the owner, click on Edit. If you have User Account Control enabled, press on OK.

Folder Properties

In the Owner window, click on Other users or groups.

Folder Properties

Now you need to type the user name or the group of users that will take ownership of the selected folder. If you type "Administrators" you will give ownership to all the users that are administrators on your PC. If you want to give ownership only to your user, then type your user name. After that, press on Check Names.

Folder Properties

If the user or group was found on your computer, you will see that the text you typed was changed to [Your PC Name]\[User] or [Your PC Name]\[Group]. If so, press on OK.

Folder Properties

If the user/group was not found you will receive a Name Not Found error window. Make the necessary corrections and try again.

Folder Properties

In the Owner window, select the user/group you just added, select Replace owner on subcontainers and objects and press OK.

Folder Properties

Now you will receive the confirmation that you have taken ownership of the folder. Press on OK and that's it.

Folder Properties

Changing Permissions

In the Properties window go to the Security tab and click on Edit.

Folder Properties

If you are not on the list of users or groups that have permissions defined, you should click on Add. If your user or group is on that list, select it, click on Allow Full Control and then press OK.

Folder Properties

Now you need to type the user name or the group of users for which you want to change the permissions. If you type "Administrators" you will give permissions to all the users that are administrators on your PC. If you want to give permissions only to your user, then type your user name. After that, press on Check Names and then on OK.

Folder Properties

If the user/group was not found you will receive a Name Not Found error window. Make the necessary corrections and try again.

In the Security window, select the user/group you just added and then click on Allow Full Control.

Folder Properties


Related articles:
Windows Vista Security Center
Manage User Accounts
Change Owner v1.0
Parental Controls



Comments

only NTFS File System support

only NTFS File System support this...

I followed this to the

I followed this to the letter, but one file in the folder, I am unable to take ownership of. The crazy thing is, I copied this file from my PC to my notebook, and am the owner anyway. But now I can't move it, delete it, or do anything else with on my notebook.

Read Only

Maybe it is marked as "Read only"...

I had the same issue, tried

I had the same issue, tried everything, was unable to fix it. The final solution was that I down loaded a CD bootable Linux and did the copy via Linux. Works perfectly.

Hi Brian. You said .. "I

Hi Brian.

You said .. "I copied this file from my PC to my notebook ..."

Go back and check that the FOLDER which contained the image on your PC (from which you copied) was not 'read only' - thats the FOLDER which contained the file, not the file/image itself

If it was/is, uncheck that and copy again

To delete the undeletable, try holding down Shift before hitting Delete

Cannot take ownership of the

Cannot take ownership of the file, logged in as administrator.

details pls

Can you describe the steps you made and the error messages you get?

Try Googling "vista admin

Try Googling "vista admin ownership" - you should get a solution from the top few results (different solutions for different problems).

I have same issue..

I have had same problem repeatedly. Always one folder that remains ghosted out (grey) as if unactivated feature. Let me know if you find a fix. Would be greatly appreciated. I have sole ownership and do a lot of work from home on this sys. I have it down to me, (owner), system and administrator only and it still occcurs. Gettign ray to go t Win 7 64 bit and Office 2010 and afraid to move forward with out this being resolved. Good luck.") I already downloaded the Security Essentials and removed steady state. Still troubleshooting. Thanks

If you will go to the

If you will go to the Microsoft Outlook website, there is a tool there that you can export your contacts and save to put into another place.

Wrestle control of your ownership away from Bill Gates and Vista

Try this.

Open Windows Explorer;

right click on the "OS (C:) icon;

Click on the "Security" Tab, then the "Advanced" button;

Click on the "Owners" Tab, then the "Edit" button; and

place a check mark in the box at the bottom called "Replace owner on subcontainers and objects", then select the new Owner you want, and the click "Apply".

You may get a few windows asking essentially "Have you lost your mind" and "Really, are you sure your smart enough to own files", but just click threw the MS Big Brother nonsense. A few files open in the C:\Windows\System32 may be denyed because the file is in use, but other than that you should get access to all of the folders on YOUR COMPUTER!

Don't forget to next turn on all permissions for your new owner.

I'll bet the file is

I'll bet the file is encrypted, same thing happened to me with a passworded .rar file...I'm currently rebuilding the old machine in order to access it...I additionaly merged old folders with new folders and created a nightmare...so I ended up taking ownership of my whole drive and subfolders to correct. good luck

I assign permission to C drive

I deny the permission to C drive.
Noe i cannot Change Any Properties From Admin Also I cannot Even control Any thing from Admin User also please help me in Solving this problem

Vista File Permissions

I made the mistake of connecting my portable hard drive to a friends Vista computer. i copied some folders and files to the drive. later on my XP Machine i tried to rename the the volume but was denied. I have no permission. when i checked file permission i was the owner. I had full control of hard drive. I finaly fix it by reformatting the drive. stupied Vista permissions.

Thanks for your Overview

When you copy to another NTFS drive, or within the same drive, any old NTFS permissions assigned specifically to the original are stripped away, and it inherits NTFS permissions from the new location. In order to copy, you must have Write permission for the destination. The user doing the copying becomes the CREATOR OWNER of the copy.

Error Acess is senied (Vista)

An error occured while applying security infomation to
E:\documents\file.zip and (and all other files on the hard drive)
Acess is denied.
continue cancel
if i continue it goes to the next file saying its also denied and so on..

im running dual boot, with xp i might of changed something from there. and when i come back to vista boot acess is denied. is there a way to restore fulll controll to default settings?

Would you believe I still

Would you believe I still cant access the folder after all that? And I thought it would work too.

It's "documents and settings" in drive c (local disk)
It hates me, I swear!

post is very good

You may get a few windows asking essentially "Have you lost your mind" and "Really, are you sure your smart enough to own files", but just click threw the MS Big Brother nonsense. A few files open in the C:\Windows\System32 may be denyed because the file is in use, but other than that you should get access to all of the folders on YOUR COMPUTER!

Take Ownership Right-click option

Create a text file and add ".reg" at the end of it.
Cut and paste the following into it, save, right-click and merge.
This gives you right click context menu for ownership of anything.

[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"

Right click is blocked

if the registry edit is disabled by admin then how it will work????

No wonder people are switching to MACS

Followed your directions to a "T" - still can't get permission to copy music to my itunes folder (using Vista). Professionally, my firm owns shares of MSFT - I think I'm going in tomorrow and have us sell it all.

Only NTFS File System support

Only NTFS File System support this.

IT WORKED FOR ME THIS WAY

After I did everything on this guide it didnt work still.
however, this guide gave me permision to copy the folder.
after that I had a second Drive so i just copy the folder to the other drive and I had access to all my files again, then I just copy the folder back to its original location and everything is good now.

please spend some time on this!!!!!!!

I have the same problem, I followed the same procedure for the entire folder has <25 files. for 10 files i am able to open it but remaining files i am not able to open. Error: "Access denied 'FileName'.This Document is read only or Encrypted".
Then Right Click--> Properties-->deselected Read only options and followed the above procedure again.
But still showing the same error.

Guys please helpme on this it would be very helpfull for me. I have very important have in that files.

Just can't restore backup files

Tried all the above suggested procedures and still can't restore the backup files (by procedures in "Control Panel" of Vista) from my notebook which runs Vista and is broken.

is this possible?

thanks dude. your a baller but, what i was actually looking for was how to take FULL control of a file. one of my icons has the administrator emblem on top of the lower right hand portion of the icon and i any time i do anything it makes me ask permission first. is there any way to take that little emblem off so i can have full control?

Writing on a file

this problem keep showing on the output. what do i do?

VTS File Permission Error.
Access to the path 'C:\Program Files\iExpertAdvisor\Visual Trader Studio for MetaTrader\Cfg__test.txt' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at VTS2.Services.Utilities.TestFilePermission()
Void WinIOError(Int32, System.String)
WinIOError:0:0

hagosusng

Read Only

Maybe it is marked as "Read only"...

Need clarification...

I am trying to install a usb driven device called the Tornado that allows you to share files between your own computers. My comupter accepts it, but when I double click to open it up I get this message..."Windows cannot access the specified drive,path or file. You may not have the appropriate permissions to access the item." My other two computers are working great, but I have one that will not let me in. I have tried everything I can think of to change the permission rights but nothing is working. Do you have a suggestion please? This is the first time I have come up against this so im not very familiar with the procedure.

Thanks!!
p.s. I have already established myself as an administrator

Read only error

I have the same issue in that I moved a folder and it contents to a san connected to a 2008 server and one user had no issue and see the files and can save and modify. the other user who has the same rights cannot save or modify any file in any of the folders. I removed the inheritance and set both users up as owners and gave both full control of the whole tree and this user still cannot modify any file in this directory structure. Vista, the Windows ME of this century.

Persons name displayed when printing

How can I change the setting on my Wife'spc to display her name i.e. "Document printing for Lisa" instead of my name? Nobody seems to have the answer so here I am asking the "experts'. Thanks!

Padlocks

I followed all the above and the folders still have padlocks on. I think I didi everything suggested - I have a folder that says it is empty but there are two files there accessible by the program that wrote them but otherwise not (I want to back them up and use them on another computer for teaching). I have spend a while on this. What is the purpose of this apart from annoying users?

Windows UPdates

I wish Bill Gates would get his head out of you know where and realize he is aliaznating his users and they are beginning to migrate away from his products. His assinins "Safety" features are not obivious when the udgrades are being made and many are installed with out the user having any ideal it was. Now I think we should get a class action suit going against Microsoft and force him to pay for all repairs required to get these systrems working again after up grading to his latest trist. Bet he won't be smiling then

access denied

Great pictures really you won't missed the guidelines However, it didn't wotk for me. I always get meassage of access denied to any of my files from my hard drive C. I did follow step by step above but when I click security tab, a message appear that I must be an adminstrative user with permission to view and prompted me to continue. But once I click continue, anothe message would appeared "can't open access cntrol editor. Access denied. Please help I spend whole day to fix this but of no avail.

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options