
November 25, 2018 For Management
Windows OS sometimes does not allow editing of all system files and has protected some files. But sometimes you need to modify those files and take full ownership of certain files and folders. Here in this tutorial, I will tell you how to take full ownership of certain files and folders in Windows 10.
1 - Search cmd on Winodws 10 taskbar, find and run as administrator.
2 - Once the Command Prompt window opens, run the following command mentioned below.
takeown /f full_folder_path /r /d y
Please change full_folder_path with the path to the folder you want to own.
3- Next, execute the command indicated below.
icacls full_folder_path /grant username:F /t /q
Change the username to your username.
For example, if you want to take ownership of the Users / Public folder located within drive C for the username alex.
You will need to execute these two commands.
takeown / f C: Users Public / r / dy
icacls C: Users Public / grant Alex: F / t / q