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: Files on external drive cannot be accessed (owner + permissions hell!)

08 Nov 2012   #1
zapat3ro

Windows 7 x64
 
 
Files on external drive cannot be accessed (owner + permissions hell!)

Hi there,

I know similar issues have somehow been addressed elsewhere, but it seems my particular problem hasn't quite been faced by many others, so here we go:

I have thousands of files on an external drive. My computer recently crashed, so I had to fresh-install windows 7 (ultimate x64). While some files on the extenal hdd work fine, others won't work given that the owner and permissions are screwed. I can manually right-click any file and go to the properties>security tab and then add "Everyone" or my new user and then add full control and that's it, the file works fine.

BUT I can't be doing this manually for thousands of files!

So I've researched a bit and have installed the registry hack for "Take ownership" on right-clicking a file/folder (Add "Take Ownership" to Explorer Right-Click Menu in Win 7 or Vista - How-To Geek), I've ran a bunch of commands from an admin-level command prompt (icacls, takeown, grant, etc., as per here: Tools to Manage Access Control Lists - Tutorials,Articles,Algorithms,Tips,Examples about Security, Solved changing permissions on multiple files - Vista Forums).

All I now see is some weird user on most files, but no permissions set for me to access them (user is something like S-1-5-123445678890...). And so nothing seems to have been solved. I still have to manually right-click a file and use the security tab to add a new user, set permissions, etc.

How come it works through the gui and not on the command line? My hope is to do it for a whole folder (E:\music) which has literally hundreds and hundreds of folders and mp3 files. It would suck if I'm stuck doing it manually!

Thanks in advance for your help, if any!

:-)


My System SpecsSystem Spec
.
09 Nov 2012   #2
Cymbal Man Freq

Windows 7 Home Premium 64 bit
 
 

I saw some User like S-1-5-... on my XP machine when my Recycle Bin malfunctioned while trying to clear a drive. Had to get bit-unlocker to keep the Recycle Bin from locking up on a folder with that username every time I tried to empty the Recycle Bin. The problem eventually went away, maybe after I repartitioned the other drive.
My System SpecsSystem Spec
09 Nov 2012   #3
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

You want to be able to write/delete/read so have full control of the drive?
Or just a folder (and everything [files/folders]) in it?

Right click the item you want to change permissions for. Then properties, then security. then button advanced.
Post screenshot
My System SpecsSystem Spec
.

09 Nov 2012   #4
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Open elevated command prompt Elevated Command Prompt

Code:
 
TAKEOWN /F  Q:\somefolder  /R  /D  Y
Do this if you wanna be the owner of Q:\somefolder and all objects in it (files/folders, als in subfolders)
Or:

Code:
 
TAKEOWN /F Q:\  /R  /D  Y
If you do that you become owner of all files/folder on Q drive.

Already done that?
My System SpecsSystem Spec
09 Nov 2012   #5
zapat3ro

Windows 7 x64
 
 

Hi all,

Thanks for the replies!

Here are screenshots of the folders. This is just an example, most of the files are organized like this

Oh yeah, and I'd like to eventually have full control of the files (write, copy, erase, etc.).
I'm just running the command you posted, Kaktussoft, I'll check how it turns out!


Attached Images
      
My System SpecsSystem Spec
09 Nov 2012   #6
Cymbal Man Freq

Windows 7 Home Premium 64 bit
 
 

I have a Q: drive with 0 bytes on it. What is that?
My System SpecsSystem Spec
09 Nov 2012   #7
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Quote   Quote: Originally Posted by Cymbal Man Freq View Post
I have a Q: drive with 0 bytes on it. What is that?
office 2010 click and run most likely. E is drive letter of external disk

What a mess with permissions!! Most permissions you made are explicit permissions , not inherted from folder above!! And the permissions are for that folder/file only. Not the way to do it!!

Do you want to be able to do everything on that disk? or just music folder and below?
My System SpecsSystem Spec
09 Nov 2012   #8
Kaktussoft

Microsoft Community Contributor Award Recipient

Microsoft Windows 7 Home Premium 64-bits 7601 Multiprocessor Free Service Pack 1
 
 

Right click on E drive itself. Then properties, then security. then button advanced.
Post screenshot
My System SpecsSystem Spec
09 Nov 2012   #9
zapat3ro

Windows 7 x64
 
 

I know! this is probably the messiest set of files ever

I'd like to keep full use of everything on the disc, but I seem to only have run into problems when using my mp3s on itunes, for example.


Attached Images
 
My System SpecsSystem Spec
09 Nov 2012   #10
Cymbal Man Freq

Windows 7 Home Premium 64 bit
 
 

Speaking as a second poster in this thread.
I tried to Takeown from an Elevated Command Prompt. It gave me an error, invalid argument error/option - 'Eric
Maybe spaces should be underscores? idk
It told me to try TAKOWN /? FOR HELP, and I don't see any Y listed.
This is so DOS and most of that is before my time.

C:\Users\1 Eric Bentsen>TAKEOWN /F C:\Users\1 Eric Bentsen /R /D Y
My System SpecsSystem Spec
Reply

 Files on external drive cannot be accessed (owner + permissions hell!)




Thread Tools




Similar help and support threads
Thread Forum
WD external HDD cannot be accessed, system not responding.
Hello everyone. I have a WD portable external HDD about 2-3 years now. Haden't any problem till now. Yesterday i plugged in my HDD to my laptop and it worked as always. Then i extracted a rar file but couldn't wait and i force closed the extraction. After that my every action in the HDD was...
Hardware & Devices
Strange permissions on external drive
I have a WD myBook that I have been using to store files on. It is connected via a USB to my wireless router. In explorer I can see it in my network section as well as map a drive to it. However, intermittently, it does not allow me to write or delete files on it. I know computers aren't suppose...
Hardware & Devices
Folder permissions hell.
From win 7 pro 64bit to win 7 pro 32bit or back constant problems. Seems doing a ton of research and getting the issues solved is only as good as the next update which screws things up to where they were before. The problem was there in xp and it has persisted. I cant believe that one of the...
Network & Sharing
External HD detected but can't be accessed
After some troubles with the boot of this PC, now I'm faced with another challenge --- I can't access the external hard disk that is usually plugged in this PC. Everything else in this PC works fine before it started not booting. After several attempts on fixing the computer's boot, it came to a...
Hardware & Devices
External Drive cannot be accessed in windows 7
Hi. I have a seagate External Hard drive and recently I've upgraded my ASUS K40IN Windows Vista to Windows 7, now I am unable to get my ext Hard drive to be recognised. Someone told me that it could be the USB driver is not updated, Is that true? Can anyone help me please. Thanks
Drivers
Messed up with Permissions on my external drive. Help!!
Hello, I was trying out the admin permissions for my external drive and I messed up. It took all of my privileges away and I wasn't able to access it at all. I was able to get some of it back, but I am still having problems getting full control of the drive. I am seeing a pad lock on the first...
System Security


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 10:04.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App