Share via

takeown and icacls commands how to use so that I can take ownership and full control of a hard drive?

Anonymous
2024-03-21T22:09:03+00:00

I have peruse the microsoft site and internet and each time I get examples and recommendations on the use of takeown and icacls it does not work. Latest is icacls "Q:" /reset /T and I get an error: Q:" /reset /T: the filename directory name or volume lable syntax is incorrect. Since you microsoft are the last official opinion of anything with Windows 10, please tell me how to do this so I do not continue to bang my head. Thanks.

Windows for home | Windows 10 | Files, folders, and storage

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Igor Leyko 110.8K Reputation points Independent Advisor
    2024-03-22T00:33:34+00:00

    Hi,

    My name is Igor, it's a pleasure for me to help others and I'll try to help you.

    Sorry, we are just other users answering here neither Microsoft employees nor support persons.

    For icacls, go to Recovery environment, run command prompt, check the c: is system volume and run

    icacls c:\* /Reset /t /c /l /q

    command. If a Windows disk has another letter in this environment, correct the command.

    Please note, this command restores original access rights.

    For takeown, please run command prompt as administrator and run the command below. Do not miss spaces between options.

    takeown /f c:\* /r /d y

    Note, you will not take ownership on protected system folders.

    Was this answer helpful?

    0 comments No comments