TAKE OWNERSHIP IN WINDOWS

Take ownership of file or folder on Windows 7

Take ownership of file or folder

In windows, some of the system files are protected by OS and can’t be accessed by users with even administrator privileges. CSC cache stored in C:\Windows\CSC is one such folder. If you try to open the folder in windows explorer, you would be greeted with the window β€˜You don’t currently have permission to access this folder. Click Continue to permanently get access to this folder.”

Take ownership of a file/folder from windows command line?
Open elevated administrator command prompt and run the below command on the file.

takeown /F fileName

Running from a non elevated command prompt would generated the error β€˜Access is denied’

Take ownership of a folder and all its contents:

c:>takeown  /R /F c:\windows\csc\

SUCCESS: The file (or folder): “c:\windows\csc\” now owned by user “domain\user”.
These commands work on Windows 8 and Windows 7.

Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.