takeown cmd to recover harddrive files?

IbanezRG989

New member
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 Computer

OS
Windows 7 Ultimate N x64
CPU
Amd 965 Phenom II Quad-Core 3.2GHz
Motherboard
MSI 870
Memory
8GB DDR3
Graphics Card(s)
Evga GeForce 460se
Monitor(s) Displays
21" LED backlit LCD
Hard Drives
500GB WD 6.0GB/s
PSU
650W
Case
Antec 900
Cooling
200mm top, 3x140mm. 2 in front, 1 in back.

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
Awesome, thanks!
 

My Computer

OS
Windows 7 Ultimate N x64
CPU
Amd 965 Phenom II Quad-Core 3.2GHz
Motherboard
MSI 870
Memory
8GB DDR3
Graphics Card(s)
Evga GeForce 460se
Monitor(s) Displays
21" LED backlit LCD
Hard Drives
500GB WD 6.0GB/s
PSU
650W
Case
Antec 900
Cooling
200mm top, 3x140mm. 2 in front, 1 in back.
You're welcome. Please post back if it actually works so others in the same boat will know. :)
 

My Computer

Computer Manufacturer/Model Number
HP Media Center
OS
Windows 7 32 bit
CPU
AMD 5200+ dual core
Memory
2 GB
Graphics Card(s)
NVidia GeForce 6150SE 128 MB
Monitor(s) Displays
CRT
Screen Resolution
1280x1024
Hard Drives
500 GB Sata internal :

SIIG USB 3.0 docking stations w/WD Caviar Black 6 Gb/s drives
Keyboard
PS/2
Mouse
PS/2 Wheel Mouse
Other Info
SIIG USB 3.0 PCIexpress card.
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 Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
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 Computer

OS
Windows 7 Ultimate N x64
CPU
Amd 965 Phenom II Quad-Core 3.2GHz
Motherboard
MSI 870
Memory
8GB DDR3
Graphics Card(s)
Evga GeForce 460se
Monitor(s) Displays
21" LED backlit LCD
Hard Drives
500GB WD 6.0GB/s
PSU
650W
Case
Antec 900
Cooling
200mm top, 3x140mm. 2 in front, 1 in back.
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 Computers

System One System Two

  • Computer type
    PC/Desktop
    Computer Manufacturer/Model Number
    ChillBlast - Custom to my design
    OS
    Windows 11 Pro x64 [Latest Release and Release Preview]
    CPU
    Ryzen 9 5950X, 3.8 - 5.2 MHz
    Motherboard
    Asus Prime X570-Pro
    Memory
    64GB [2 x 32GB] DDR4 3200MHz
    Graphics Card(s)
    4GB NVIDIA GEFORCE GTX 1650 Ti
    Sound Card
    On-board SPDIF to 5.1 System + HDMI [5.1 system]
    Monitor(s) Displays
    32" UHD 32 Bit HDR Monitor + 43" UHD 4K 32Bit HDR TV
    Screen Resolution
    2 x 3840 x 2160 @60Hz
    Hard Drives
    1TB M2 SSD OS, 500GB Fast Access SSD, 2 x 8TB Data + Various Externals from 1TB to 4TB, 10TB NAS
    PSU
    NZXT C750 80 PLUS Gold 750W Modular PSU
    Case
    Workstation Case [Matt Black]
    Cooling
    NZXT Kraken X63 280mm CPU Cooler +2x Quiet Case fans
    Keyboard
    Logitech Wireless MX Keys & K400 + others
    Mouse
    Logitech Wireless MX Master 3S
    Internet Speed
    920 MB Down 50 MB Up
    Antivirus
    BitDefender Total Security Pro
    Browser
    Chrome (always run latest Non-Beta)
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    Samsung 10.2" tablet
    Blackview TAB 8 4G Android Tablet c/w Keyboard
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control
  • Computer type
    Laptop
    System Manufacturer/Model Number
    Dell XPS 17 10750H
    OS
    Windows 11 Pro x64 Latest RP
    CPU
    Intel I7 10750H 5.0GHz
    Motherboard
    Dell XPS
    Memory
    32GB [2x16GB] DDR4 2933 MHz
    Graphics Card(s)
    nVidia GTX1650Ti 4 GB GDDR6
    Sound Card
    Stock [Realtek] 4 Speaker
    Monitor(s) Displays
    17" IPS UHD+ Infinity Edge Touchscreen
    Screen Resolution
    3840 x 2400
    Hard Drives
    2TB M2 NVMe, 4TB External + various 500GB & 1TB External NVMe (also have access to spinner HDD from
    PSU
    Stock
    Case
    Stock XPS Aluminium & Carbon Fibre
    Cooling
    Stock - Active Fan Control
    Keyboard
    Backlit + Various Logitech
    Mouse
    Stock Track Pad + Logitech MX Trackball
    Internet Speed
    72 MB Down 18MB Up
    Browser
    Chrome
    Other Info
    Also run ...
    Laptop - Quad 8GB - Windows 10 Pro x64
    Nexus 7 Android tablet x2
    10.2" tablet
    Sony Z3 Android Smartphone
    Wacom Intuos Pro Medium Pen Pad
    Wacom Intuos Pro Small Pen Pad
    Wacom Expresskeys Remote
    Loopdeck+ Graphics Controller
    Shuttle Pro v2 Control Pad
    10TB NAS
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 Computer

OS
Windows 7 Ultimate N x64
CPU
Amd 965 Phenom II Quad-Core 3.2GHz
Motherboard
MSI 870
Memory
8GB DDR3
Graphics Card(s)
Evga GeForce 460se
Monitor(s) Displays
21" LED backlit LCD
Hard Drives
500GB WD 6.0GB/s
PSU
650W
Case
Antec 900
Cooling
200mm top, 3x140mm. 2 in front, 1 in back.
Back
Top