How to take Ownership of a File in Windows VistaBy Partho, Gaea News Network
Wednesday, April 22, 2009
For those who have always imputed Windows Vista for its anomalies, may also denounce it’s security features. Well, it must have occurred to you that when you are trying to move or delete some files, Windows clogs you with an error. Either it gives an error message or prompts that the file is in use. Not only in Vista this even occurs with Windows XP. In order to tweak Vista’s system you have to modify some system files. Vista has these system files locked and you can’t access them. For this you require ownership of the file. You need to take ownership of the files and grant a username full control of the file. I’ll let you know how to take ownership of Vista system files.
In order to take ownership of Vista system files take the steps below
Step 1: First access the command prompt
Click the on the start button>All Programs>Accessories
Step 2: Right Click on the command prompt
Step 3: Select Run as administrator.
Step 4: When the UAC Prompt appears, click Continue.
Once you have your elevated command prompt, follow these steps:
For our example, we are going to use the Bubbles screensaver file (Bubbles.scr)
At the command prompt, input takeown /f filepath (takeown /f c:\windows\system32\Bubbles.scr).
Now, press Enter on the keyboard.
You will get a message displaying that this completed successfully.
Step 4: Now input icacls filepath /grant yourusername:f (icacls c:\windows\system32\Bubbles.scr /grant shamanstears:f).
Step 5: A message will be displayed that this completed successfully.
You are done, now you can modify or replace the file. When you are done, simply remove the permissions to keep the file secure.