
Quote: Originally Posted by
PollyH
I'm sorry but I don't see how to do the first step. Are you saying I should right click on the name of the document in Windows Explorer and run as Administrator? I'm confused.
Make an administrator owner of a file
1. Go to an elevated command prompt, that is,
WIN key | type
cmd.exe | right-click on cmd.exe in the list shown | click on
Run as administrator
2. type
Takeown /F filename and hit
Enter where
filename specifies the filename or directory name pattern.
Wildcard "*" can be used to specify the pattern. sharename\filename allowed
Example: take ownership of a file named MyLostfile in your Documents folder WIN key | type
cmd.exe | right-click on cmd.exe in the list shown | click on
Run as administrator
Type:
cd /D %userprofile%\Documents and hit Enter
Takeown /f mylostfile and hit Enter
Example: take ownership of drive I and every folder and file therein:
Type: takeown /F I:\ /R
the /R parameter specifies to “recurse”
NOTE:
TAKING OWNERSHIP IS OFTEN NOT SUFFICIENT
IF YOU CAN NOT USE THE FILE, THEN GIVE YOUR SELF FULL PERMISSION.
YOU CAN GIVE YOURSELF FULL PERMISSION WITH EITHER WINDOWS EXPLORER OR THE ICACLS COMMAND.