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: takeown cmd to recover harddrive files?

27 Oct 2011   #1
IbanezRG989

Windows 7 Ultimate N x64
 
 
takeown cmd to recover harddrive files?

My cousin's laptop recently went to crap. The windows system startup folder got corrupted. Anyway, I pulled the harddrive and plugged it into my desktop to pull off her personal files (System restore/repair with CD did Not work)
Anyway, I got it to show up fine on my machine, but every single folder, subfolder, and file requires me to go through the arduous process of about 7-10 clicks to 'acquire the security permissions'
Since there are a good 4-600 photos alone, and numerous folders and subfolders, this obviously is not a very efficient method.
After poking around some, it seems like running the takeown commands through the disk would solve this issue...am I correct in assuming that or do I need to run down a different avenue?

Thanks!


My System SpecsSystem Spec
.
27 Oct 2011   #2
MilesAhead

Windows 7 32 bit
 
 

http://technet.microsoft.com/en-us/l...24(WS.10).aspx

See /r switch

recursive through sub folders and all included files.

Or get everything onto an external USB this way

Use Ubuntu Live CD to Backup Files from Your Dead Windows Computer - How-To Geek
My System SpecsSystem Spec
27 Oct 2011   #3
IbanezRG989

Windows 7 Ultimate N x64
 
 

Awesome, thanks!
My System SpecsSystem Spec
.

27 Oct 2011   #4
MilesAhead

Windows 7 32 bit
 
 

You're welcome. Please post back if it actually works so others in the same boat will know.
My System SpecsSystem Spec
27 Oct 2011   #5
Barman58

Windows 10 Pro x64 x3, Ubuntu
 
 

In addition to the takeown procedure it is advisable to actually give the owner's username specific full control file permissions on the files as this prevents any potential issues should the ownership change for any reason in the future.

this is particularly useful in multi-user systems where I tend to set ownership as the administrator group and apply the correct individual permissions for the users
My System SpecsSystem Spec
27 Oct 2011   #6
IbanezRG989

Windows 7 Ultimate N x64
 
 

Yes, ideally I want to be able to move all of her photos/school files/etc. back to her harddrive after we re-install, so I want to make sure that she can use her own data after I have returned it.
My System SpecsSystem Spec
27 Oct 2011   #7
Barman58

Windows 10 Pro x64 x3, Ubuntu
 
 

The takeown and file permissions should always be performed on the final destination pc unless the ownership/permissions are given to a standard user or group. the user fred on two machines is seen as two different users by the NTFS file system, which uses unique Security Identifiers [SID] rather than human readable names. This is also true of the username on subsequent installs on the same system, [hence the access issue you had in the first place

the Admiistrator user / group, everyone, and system Etc. SIDs are constant across installs which means setting ownership can work across installs - but is ironically a weakness in security should a malicious user gain access
My System SpecsSystem Spec
27 Oct 2011   #8
IbanezRG989

Windows 7 Ultimate N x64
 
 

That is good to know, I will make sure to set it as admin user instead of my personal username, thanks!
I'm not too worried about security in this particular instance, but thank you for the info!
My System SpecsSystem Spec
Reply

 takeown cmd to recover harddrive files?




Thread Tools




Similar help and support threads
Thread Forum
Seagate ext harddrive, Bad disk. Need to Recover.
A couple weeks ago my USB External harddrive got unplugged and when i plugged it back in, it asked me to Format it. It game me a "2HC015KJ" Error code. Its 500GB but now appears as 2000GB. Ive tried to use Partiton Wizard 7, but when doing a quick scan for a couple days, it was only at 163608...
Hardware & Devices
Need help to recover files from a "dead" harddrive
So my brother dropped his computer to the ground, and now it is not working properly. I started windows in repair mode, but the computer freezes like this https://imgur.com/Pq1ncSs, but without the repair box. I was wondering if it is possible to recover some of the files and stuff on the HD,...
Hardware & Devices
HELP!!! RECOVER Public Pictures Folder AFTER reformatting harddrive!!!
Hello, I have a major problem. Because my laptop was having problems involving the 'blue screen of death', I chose to backup my files to an external portable harddrive before reformatting the entire drive. However, when opening the backup folder, I discovered that my art folder, located in...
Backup and Restore
Need to recover files from a corrupt unreadable NTFS harddrive
I'm in desperate need to recover things from my corrupted D drive. When I click on it, it says D:\ is not accessible. The disk structure is corrupted and unreadable. When I restart it always does chkdsk for that drive, but it can't repair the corrupt master file table, and it's the same result...
Backup and Restore
takeown only works on some files
Hi everyone, I'm having a problem with the takeown command or with permissions in general. I installed 64-bit Windows 7 Ultimate Version 6.1 (Build 7600) on a new machine that I built. I'm trying to copy files from my old hard-drive to the new one, but am having permissions problems. After...
General Discussion


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 09:18.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App