• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Take Ownership of a File, Folder, Drive, or Registry Key in Windows 8


Brink

Administrator
Administrator
mvp
Posts
23,623
#61
You're welcome. Glad to have helped. :)
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone

Brink

Administrator
Administrator
mvp
Posts
23,623
#63

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone

vviper

New Member
Posts
1
#65
Fantastic !
 

My Computer

System One

  • OS
    win 8.1
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    home built
    CPU
    phenom
    Motherboard
    asus
    Memory
    12 gig
    Graphics Card(s)
    gtx650t
    Browser
    chrome
    Antivirus
    malwarebytes

Der Snoober

New Member
VIP Member
Pro User
#66
Great tutorial Brink. You've just saved my life there after I made a stupid stupid stupid mistake last night :confused:.

Greetz,

Rover
 

My Computer

System One

  • OS
    Windows 8.1 Pro x64 Media Center Edition
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom Made
    CPU
    Intel Core i5 750
    Memory
    6 GB
    Graphics Card(s)
    AMD HD 7750
    Monitor(s) Displays
    Iiyama ProLite B2481HS-B1
    Screen Resolution
    1920x1080
    Hard Drives
    1x 120 GB SSD Samsung 830;
    1x 1.5 TB HDD Seagate;
    1x 2 TB HDD Western Digital;
    1x 3 TB HDD Seagate
    1x 80 GB SSD Vertex 2
    PSU
    Corsair CX 600
    Case
    Corsair Carbide 300R with Side Window
    Cooling
    Intel RTS2011 LC
    Keyboard
    DasKeyboard (blue switches)
    Mouse
    Wacom Baboo Tablet Pen & Touch
    Internet Speed
    50 Mbit FullDuplex Fiberglass
    Browser
    IE11
    Antivirus
    Windows Defender
    Other Info
    I also own the following Microsoft devices:
    * Surface Pro 2 128 GB
    * Windows Phone HTC 8X

blueman24

New Member
Posts
3
#67
Hi Brink!
This is a great guide, and helped me gain access to a folder, but I am still unable to access the files which are inside a subfolder, which itself is in the main folder, for which i ran the command.
Basically what I did was: Right click a folder named " abc " > Properties > Security > Click the edit button > Deny all permissions to "Users" group (what a noob mistake) And now even administrator cannot access that folder with the message 'You currently don't have permission to access this folder'

So, after reading this guide, I ran the following command: takeown /F "full path of folder or drive" /R /D Y ​(with the correct path) After using this command, I am able to access the folder and even subfolders, but not able to open any of the files inside both, the folder and subfolders.

What can I do, to take ownership of Everything inside a folder? All its subfolders, files, the folders and files inside the subfolders, everthing?

Hope I did not mess up with my question :)
 

My Computer

System One

  • OS
    Windows 8.1 Pro X64

Brink

Administrator
Administrator
mvp
Posts
23,623
#68
Hello Blueman, and welcome to Eight Forums.

That's correct. You would need to take ownership and set permissions for the parent folder, and check the Replace owner of subcontainers and objects box to apply to all subfolders and files using step 11 in Option Four.

Hope this helps, :)
Shawn
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone

blueman24

New Member
Posts
3
#69
Thanks for the reply!
I can't do that, as when i try to do that, it says that I do not have the permissions to do that(replace owner of subcontainer and objects)
The above is not possible because I have denied EVERY permission to every user.
But, after whole day searching for a solution to this, I finally found the answer.
Here is what I just found on the internet
To fix really broken permissions, the best is to run these two commands one after the other:
takeown /f "C:\path\to\folder" /r
icacls "C:\path\to\folder" /reset /T
The first one will give you ownership of all the files, however that might not be enough, for example if all the files have the read/write/exec permissions set to "deny". You own the files but still cannot do anything with them.
In that case, run the second command, which will fix the broken permissions.
But anyways, ultra thanks for your help. I am amazed by your helpful nature :)
 

My Computer

System One

  • OS
    Windows 8.1 Pro X64

Brink

Administrator
Administrator
mvp
Posts
23,623
#70
After taking ownership, you would indeed need to set permissions to "Allow" you "Full control" first, then check the box to apply to all subfolders and files.

It's not common for "Deny" to be checked unless done so by mistake.

I'm glad to hear that you got it sorted though. Thank you for posting back with your results. :)
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone

blueman24

New Member
Posts
3
#71
I did not "deny" permissions by mistake, but did it like a noob, when i was trying to accomplish a specific task.
Anyways, thanks again for the help!
 

My Computer

System One

  • OS
    Windows 8.1 Pro X64

BigFatBoy

Member
Member
Posts
35
#72
with regard to the Warning: "WarningDO NOT take ownership of the Windows 8 C: drive.
Doing so, could result in Windows 8 becoming very unstable."

Is it simply fair to say that the "Administrators" should have ownership of the drive where Windows 8 is installed; eg; C:

thank you
 

My Computer

System One

  • OS
    W8x64Pro
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Home Grown
    CPU
    3rd generation intel i5-3570k
    Motherboard
    asus p8Z77-V LK with latest Bios: xx11
    Memory
    16GB samsung 1600 DDR3 (4x4)
    Graphics Card(s)
    intel 4000 onboard
    Sound Card
    Realtek ALC898 - 8 channel HD
    Monitor(s) Displays
    NEC Multisync
    Screen Resolution
    1280 x 1024
    Hard Drives
    Intel 520 - 180GB
    Hitachi 1TB exterior SATA II backup drive
    PSU
    Cooler Master Extreme Power Plus 700w
    Case
    SuperMicro - 1991 ATX - ivory in color
    Cooling
    intel on cpu. one 92mm chassie intake fan - power supply fan
    Keyboard
    ms natural 4000 - usb [love it]
    Mouse
    marathon mouse 705 - logitech
    Internet Speed
    ATT Max -12Gb/s
    Browser
    IE 10
    Antivirus
    Windows Defender
    Other Info
    Icon photo of 'Bill the Cat" on the front case cover.
    no color led's or blinking lights

Brink

Administrator
Administrator
mvp
Posts
23,623
#73
Hello BFB,

Some system files will not behave properly if the owner was changed from "System" to "Administrators". Plus, you will get a few errors when trying to take ownership of C:.

For this main reason is why I would not recommend to take ownership of C:, but to only take ownership of specific files as needed instead.

To each their own though.
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone

hannelius

New Member
Posts
41
#74
hi shawn
just noticed while doing it
that the note and screenshot under step 7
in option four
should be between steps 6 and 7
(before clicking the advanced button)
 

My Computer

System One

  • OS
    Windows 8.1 x64
    Computer type
    Laptop
    System Manufacturer/Model Number
    HP Pavillion7
    CPU
    1.90 ghz
    Memory
    8.00gb

Brink

Administrator
Administrator
mvp
Posts
23,623
#75
Hello Hannelius,

They look correct to me. Are you sure of the steps and options in the tutorial?
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone
#76
I've noticed that taking ownership doesn't help in some cases.

So I right click something & click Properties & click the Security tab to change ownership there.
Most of the time taking ownership works without having to do that.

An example would be the folder containing system restore points.
Right clicking & taking ownership didn't work for me.
I had to change ownership in Properties/Security tab.

Even though I took ownership of System Volume Information I had to use the Security tab to take ownership of things in the folder.

screenshot_216.jpg
 

My Computer

System One

  • OS
    Windows 8.1.1 Pro with Media Center
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Gateway
    CPU
    AMD K140 Cores 2 Threads 2 Name AMD K140 Package Socket FT1 BGA Technology 40nm
    Motherboard
    Manufacturer Gateway Model SX2110G (P0)
    Memory
    Type DDR3 Size 8192 MBytes DRAM Frequency 532.3 MHz
    Graphics Card(s)
    ATI AMD Radeon HD 7310 Graphics
    Sound Card
    AMD High Definition Audio Device Realtek High Definition Audio USB Audio Device
    Monitor(s) Displays
    Name 1950W on AMD Radeon HD 7310 Graphics Current Resolution 1366x768 pixels Work Resolution 1366x76
    Screen Resolution
    Current Resolution 1366x768 pixels Work Resolution 1366x768 pixels
    Hard Drives
    AMD K140
    Cores 2
    Threads 2
    Name AMD K140
    Package Socket FT1 BGA
    Technology 40nm
    Specification AMD E1-1200 APU with Radeon HD Graphics
    Family F
    Extended Family 14
    Model 2
    Extended Model 2
    Stepping 0
    Revision ON-C0
    Instruction
    Browser
    Opera 24.0
    Antivirus
    Avast Internet Security

hannelius

New Member
Posts
41
#77
They look correct to me. Are you sure of the steps and options in the tutorial?
i wrote that as i was doing it...
fortaking ownership of a registry key
i saw that when you do step 5 and click change
to type in the name of the owner
the window that appears is the one under step 7
before you click advanced if you need to...
but i can see you put it there to show where the advanced button was...

i used your tutorial on getting rid of the network link
in the explorer pane and the save window
cause i kept clicking it all the time
which led me over here... thank you...

i used your taking ownership with delay reg file
and took ownership of the entire WindowsApps folder
to see what was in it... a lot...
that shouldn't have been there cause i uninstalled it...
took a while but it worked...
 

My Computer

System One

  • OS
    Windows 8.1 x64
    Computer type
    Laptop
    System Manufacturer/Model Number
    HP Pavillion7
    CPU
    1.90 ghz
    Memory
    8.00gb

Brink

Administrator
Administrator
mvp
Posts
23,623
#78
Ah, ok. Yep, the screenshot under the step was there to help show you what you would see for that step.

I'm glad to hear that you got the rest sorted. :)
 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone

Brink

Administrator
Administrator
mvp
Posts
23,623
#79
I've noticed that taking ownership doesn't help in some cases.

So I right click something & click Properties & click the Security tab to change ownership there.
Most of the time taking ownership works without having to do that.

An example would be the folder containing system restore points.
Right clicking & taking ownership didn't work for me.
I had to change ownership in Properties/Security tab.

Even though I took ownership of System Volume Information I had to use the Security tab to take ownership of things in the folder.

View attachment 56140
Hey David,

The "Take Ownership" context menu changes the owner to the "Administrators" group and grants "Administrators" full control of the item.

However, on system files or folders where you see this below in their security properties, the owner would have to be changed to your account instead of "Administrators" before you gain access. Strange, but it won't let you any other way that I know of either.

 

My Computer

System One

  • OS
    64-bit Windows 10
    Computer type
    PC/Desktop
    System Manufacturer/Model Number
    Custom self built
    CPU
    Intel i7-8700K OC'd to 5 GHz
    Motherboard
    ASUS ROG Maximus XI Formula Z390
    Memory
    16 GB (8GBx2) G.SKILL TridentZ DDR4 3200 MHz
    Graphics Card(s)
    ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
    Sound Card
    Integrated Digital Audio (S/PDIF)
    Monitor(s) Displays
    3 x 27" Asus VE278Q
    Screen Resolution
    1920x1080
    Hard Drives
    250GB Samsung 960 EVO M.2,
    256GB OCZ Vector,
    6TB WD Black WD6001FZWX
    8TB WD MyCloudEX2Ultra NAS
    PSU
    OCZ Series Gold OCZZ1000M 1000W
    Case
    Thermaltake Core P3
    Cooling
    Corsair Hydro H115i
    Keyboard
    Logitech wireless K800
    Mouse
    Logitech MX Master
    Internet Speed
    1 Gb/s Download and 35 Mb/s Upload
    Browser
    Internet Explorer 11
    Antivirus
    Malwarebyte Anti-Malware Premium
    Other Info
    Logitech Z625 speaker system,
    Logitech BRIO 4K Pro webcam,
    HP Color LaserJet Pro MFP M477fdn,
    Linksys EA9500 router,
    Arris SB8200 cable modem,
    APC SMART-UPS RT 1000 XL - SURT1000XLI,
    Lumia 1520 phone
#80
About this: Favorites - Change Default Icon - Windows 7 Help Forums

I don't understand how to take ownership of the registry key (I'm on Windows 8.1):
HKEY_CLASSES_ROOT\CLSID\{323CA680-C24D-4099-B94D-446DD2D7249E}\DefaultIcon

Please, help... I don't understand what to do.
 

My Computer

System One

  • OS
    Windows 8.1
    Computer type
    Laptop
    System Manufacturer/Model Number
    HP 14 Notebook PC F4H53LA#ABM
    CPU
    Intel Core i3-3217U CPU 1.80GHz
    Motherboard
    Hewlett-Packard 226C PEEBDD2WV6OV1A 74.37
    Memory
    4 GB
    Graphics Card(s)
    Intel HD Graphics 4000
    Browser
    Firefox
    Antivirus
    ESET

Users Who Are Viewing This Thread (Users: 0, Guests: 5)