The Windows operating system is known for many things – including its ability to protect system and user protected files.
Using the TakeOwn (built into Windows) command you can easily use the utility to take ownership of files which would otherwise be system or user protected.
Follow my simple guide below to take ownership of files:
- First you need an elevated command prompt – Run Command Prompt as Administrator.
- To take ownership of the file, you’ll need to use the takeown command for example:
takeown /f c:/Windows/system32/AdobePDF.dll
- That will give you ownership of the file, but you still have no rights to delete it.
Now you can run the cacls command to give yourself full control rights to the file:
- cacls c:/Windows/system32/AdobePDF.dll /G test:F
Note that my username is test, so you will substitute your username there.
You should be able to delete the file. If you still can’t do so, you may need to reboot into Safe Mode and try it again.