Do not fear, it's not the end of the world !
There are times you may faced that you can't access files even you are logged in as an Administrator in Windows for some reasons.
From Windows Vista, it has been included a command-line tool call takeown.exe to allow an administrator to again access to a file which was denied. It allows administrator to take ownership of the file. Go to Start, click All Programs, click Accessories, right-click Command Prompt, and then click Run as Administrator.
Syntax:
>takeown /f [file-path]
/f - to specify file name or directory name
/a - gives ownership to administrator group
More to learn about this type this:
>takeown /?
If it is success, you can see following message:
Then to assign the Administrators group Full Control Permissions for the file or folder, use icacls command. Refer my post about ICACLS command.
Appreciate your comments and thoughts. Good Luck . . !!
Read more