| Windows 7: takeown cmd to recover harddrive files? |
27 Oct 2011
|
#1 | | Windows 7 Ultimate N x64 MO |
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 Specs |
| OS Windows 7 Ultimate N x64 CPU Amd 965 Phenom II Quad-Core 3.2GHz Motherboard MSI 870 Memory 8GB DDR3 Graphics Card Evga GeForce 460se Monitor(s) Displays 21" LED backlit LCD PSU 650W Case Antec 900 Cooling 200mm top, 3x140mm. 2 in front, 1 in back. Hard Drives 500GB WD 6.0GB/s System Manufacturer/Model Number HP Media Center OS Windows 7 32 bit CPU AMD 5200+ dual core Memory 2 GB Graphics Card NVidia GeForce 6150SE 128 MB Monitor(s) Displays CRT Screen Resolution 1280x1024 Keyboard PS/2 Mouse PS/2 Wheel Mouse Hard Drives 500 GB Sata internal :
SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives Other Info SIIG USB 3.0 PCIexpress card. |
27 Oct 2011
|
#3 | | Windows 7 Ultimate N x64 MO |
| My System Specs | | OS Windows 7 Ultimate N x64 CPU Amd 965 Phenom II Quad-Core 3.2GHz Motherboard MSI 870 Memory 8GB DDR3 Graphics Card Evga GeForce 460se Monitor(s) Displays 21" LED backlit LCD PSU 650W Case Antec 900 Cooling 200mm top, 3x140mm. 2 in front, 1 in back. Hard Drives 500GB WD 6.0GB/s |
27 Oct 2011
|
#4 | | |
You're welcome. Please post back if it actually works so others in the same boat will know. | My System Specs | | System Manufacturer/Model Number HP Media Center OS Windows 7 32 bit CPU AMD 5200+ dual core Memory 2 GB Graphics Card NVidia GeForce 6150SE 128 MB Monitor(s) Displays CRT Screen Resolution 1280x1024 Keyboard PS/2 Mouse PS/2 Wheel Mouse Hard Drives 500 GB Sata internal :
SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives Other Info SIIG USB 3.0 PCIexpress card. |
27 Oct 2011
|
#5 | | Windows 7 Ultimate x64 + x86 + Windows 8 x64 Newport, South Wales, UK |
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 Specs | | Computer type PC/Desktop System Manufacturer/Model Number Real World Computing (Me + a little help from Acer) OS Windows 7 Ultimate x64 + x86 + Windows 8 x64 CPU AMD Phenom II X6 1035T 2.6 GHz Motherboard Aspire M3400 Memory 4Gb PC10600 DDR3 1333 MHz Graphics Card NVIDIA GeForce 315 512MB Sound Card OnBoard - Realtek High Definition Audio Monitor(s) Displays Philips 32" HDTV, (HDMI) + 26" TV (VGA) Screen Resolution 1920 x 1080 @60Hz + 1360 x 768 @60Hz Keyboard Microsoft Wireless 800 or Stock Acer, (depends where I sit) Mouse Microsoft Wireless 800 or Stock Acer, (depends where I sit) PSU Stock (400W) Case Acer M3400 Cooling Stock Hard Drives 500 GB Seagate ST3500418AS SATA II
1 TB Hitachi HDS5C1010CLA382 SATAII
1 TB Samsung Spinpoint F1 HD103SI SATA II (external)
Plus various other (client ) HDDs as needed Internet Speed Temporaray 3G Dongle Antivirus Avast Browser Chrome Other Info USB Capture + Webcam(s) Bamboo Digitizer tablet
Also run Acer AspireOne 530h Netbook, Dual Core Atom + 1GB (Win7 Ult x86) Plus various test systems for new projects |
27 Oct 2011
|
#6 | | Windows 7 Ultimate N x64 MO |
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 Specs | | OS Windows 7 Ultimate N x64 CPU Amd 965 Phenom II Quad-Core 3.2GHz Motherboard MSI 870 Memory 8GB DDR3 Graphics Card Evga GeForce 460se Monitor(s) Displays 21" LED backlit LCD PSU 650W Case Antec 900 Cooling 200mm top, 3x140mm. 2 in front, 1 in back. Hard Drives 500GB WD 6.0GB/s |
27 Oct 2011
|
#7 | | Windows 7 Ultimate x64 + x86 + Windows 8 x64 Newport, South Wales, UK |
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 Specs | | Computer type PC/Desktop System Manufacturer/Model Number Real World Computing (Me + a little help from Acer) OS Windows 7 Ultimate x64 + x86 + Windows 8 x64 CPU AMD Phenom II X6 1035T 2.6 GHz Motherboard Aspire M3400 Memory 4Gb PC10600 DDR3 1333 MHz Graphics Card NVIDIA GeForce 315 512MB Sound Card OnBoard - Realtek High Definition Audio Monitor(s) Displays Philips 32" HDTV, (HDMI) + 26" TV (VGA) Screen Resolution 1920 x 1080 @60Hz + 1360 x 768 @60Hz Keyboard Microsoft Wireless 800 or Stock Acer, (depends where I sit) Mouse Microsoft Wireless 800 or Stock Acer, (depends where I sit) PSU Stock (400W) Case Acer M3400 Cooling Stock Hard Drives 500 GB Seagate ST3500418AS SATA II
1 TB Hitachi HDS5C1010CLA382 SATAII
1 TB Samsung Spinpoint F1 HD103SI SATA II (external)
Plus various other (client ) HDDs as needed Internet Speed Temporaray 3G Dongle Antivirus Avast Browser Chrome Other Info USB Capture + Webcam(s) Bamboo Digitizer tablet
Also run Acer AspireOne 530h Netbook, Dual Core Atom + 1GB (Win7 Ult x86) Plus various test systems for new projects |
27 Oct 2011
|
#8 | | Windows 7 Ultimate N x64 MO |
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 Specs | | OS Windows 7 Ultimate N x64 CPU Amd 965 Phenom II Quad-Core 3.2GHz Motherboard MSI 870 Memory 8GB DDR3 Graphics Card Evga GeForce 460se Monitor(s) Displays 21" LED backlit LCD PSU 650W Case Antec 900 Cooling 200mm top, 3x140mm. 2 in front, 1 in back. Hard Drives 500GB WD 6.0GB/s takeown cmd to recover harddrive files? problems? All times are GMT -5. The time now is 05:25 AM. | |