Quote: Originally Posted by smarteyeball
+1 for the takeown shortcut. It owns. Pun intended
It's still a good idea to know how to do it manually though
The fix is in Brinks tutorials. It was originally written for the Vista Betas. It could be done manually, by adding some items to the registry, but the fix was a darned sight easier. but this was quite long winded and could lead to a disaster, if there was a typo.
But there are a couple of ways to do it manually. The easiest is through the Command prompt. You may need to select Administrator mode.
If you type Takeown/? in the command prompt, it will give you the syntax but here is an example of a workthrough.
You can also do it through the properties/advanced, which takes even longer!
At the command prompt, navigate to the file concerned., for example,type in: takeown /f c:\windows\system32\sti.dll (or any other file for which you wish to gain control )
A message will pop upand say something like "your user name now has ownership of the file". You still will not have any permissions to modify the filebut now you do have permission to alter that state.
Still in the command prompt, type in: icacls c:\windows\system32\sti.dll/grant username:f
(or the file name in which you are interested, of course)
A messagewill pop up "the command completed successfully".
You now have total control/ownership of the file and can rename it, or anything else.