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 8.1 Pro x64 x3 + Windows 10 Preview, 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 8.1 Pro x64 x3 + Windows 10 Preview, 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
Difference between recover partitions or recover files and folders.
Hi all, a while ago I had the idea to start from scratch to clean up the system and gain more performance. But I have not done yet because I have some doubts. On the PC I have Acronis True Image Home 2011 --> In the part where it says My backups I see the image that I have saved. --> When...
Backup and Restore
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
Help with 'TAKEOWN' command
I am trying to take administrative ownership of a folder and it's subfiles. I cannot get cmd and the takeown command to find the file path. Here is what I've tried: TAKEOWN /F C:\ProgramFiles\xxx\xxx\xxx TAKEOWN /S system U/ xxx P/ xxx /F C:\ProgramFiles\xxx\xxx\xxx neither is working, I...
General Discussion
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
Moving files to outside of harddrive
Hello, I currently do not have a second harddrive but will get one soon. For now however I would like to know if it is possible to have certain files/directories moved to the outside of my harddrive for increased performance. Does any of you know if it's possible, and if yes, then how? ...
Hardware & Devices
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 10:39.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App