Copying Files from a Previously Used Hard Drive


PBAJST

New member
Local time
9:06 AM
Posts
1
OS
Windows 11 Home
My HP Desktop PC failed. The hard drive has files on it that I need. I bought a UNITEK hard drive adapter which allowed me to attach the old hard drive to my new PC but Windows File Manager will not allow me to access the contents due to not having the proper permissions. I changed the permission levels to "Full Access" but I keep getting "permission denied" messages. Can anyone tell me how to access my data?
 
Windows Build/Version
Windows 11 Home, Version 22H2, OS Build: 22621.2283

My Computer My Computer

At a glance

Windows 11 Home
OS
Windows 11 Home
Welcome to ElevenForum.

I'm making the assumption that you just want to get at the data on that drive and not keep boot info. Here is how I do it. Note that in the commands below I reference "D:\". That is the drive that I want to have permissions to. Replace D: with the drive letter of the drive you want to have access to. Leave everything else exactly as it is.

Start by opening an elevated command prompt and then run these commands:

C:\windows\system32\takeown /f "D:\*.*" /r /d y icacls "D:\*.*" /T /grant %username%:F
 

My Computers My Computers

  • At a glance

    Win11 Pro 25H2 (RTM+)Intel i7-14650HX32 GBNo GPU - Built-in Intel Graphics
    OS
    Win11 Pro 25H2 (RTM+)
    Computer type
    PC/Desktop
    Manufacturer/Model
    Acemagic
    CPU
    Intel i7-14650HX
    Memory
    32 GB
    Graphics Card(s)
    No GPU - Built-in Intel Graphics
    Sound Card
    Integrated
    Monitor(s) Displays
    Varies as machine will often be moved to locations with different monitors
    Screen Resolution
    Varies
    Hard Drives
    1 x 1TB Gen 4 NVMe SSD
    PSU
    120W Power Brick
    Keyboard
    Corsair K70 Max RGB Magnetic Keyboard
    Mouse
    Logitech MX Master 3
    Internet Speed
    1Gb Up / 1 Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
  • At a glance

    Win11 Pro 25H2 (RTM+)Intel i7-1255U16 GBIntel Iris Xe Graphics
    Operating System
    Win11 Pro 25H2 (RTM+)
    Computer type
    Laptop
    Manufacturer/Model
    Lenovo ThinkBook 13x Gen 2
    CPU
    Intel i7-1255U
    Memory
    16 GB
    Graphics card(s)
    Intel Iris Xe Graphics
    Sound Card
    Realtek® ALC3306-CG codec
    Monitor(s) Displays
    13.3-inch IPS Display
    Screen Resolution
    WQXGA (2560 x 1600)
    Hard Drives
    2 TB 4 x 4 NVMe SSD
    PSU
    USB-C / Thunderbolt 4 Power / Charging
    Keyboard
    Backlit, spill resistant keyboard
    Mouse
    Buttonless Glass Precision Touchpad
    Internet Speed
    1Gb Up / 1Gb Down
    Browser
    Edge
    Antivirus
    Windows Defender
    Other Info
    WiFi 6e / Bluetooth 5.1 / Facial Recognition / Fingerprint Sensor / ToF (Time of Flight) Human Presence Sensor

Latest Support Threads

Back
Top Bottom