How to take Ownership of a File in Windows Vista

windows-vistaFor 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

vista43

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)

dos

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.


Ben That fall weather —> I hope you have enjoyed the posts that we continue to provide here at Solutions For Life. Our goal is to continually educate our users on the technology around us. We don’t write simply for our entertainment. Nope, our goal is to educate us all how to connect to the world around you…

Sincerely,

Ben Adams

SENIOR IT CONSULTANT

How to take Ownership of a File in Windows Vista
Tagged on:     

One thought on “How to take Ownership of a File in Windows Vista

  • February 20, 2010 at 5:14 pm
    Permalink

    So I was surfing the internet like I usually do and suddenly Google Chrome shuts down. Now this program called “Antivirus Live” appears to have installed itself. Now as a limited user on this computer, I have no idea this program got in since I can’t download anything anyway. I have gotten its counterpart, Antivirus 2008 before and successfully removed it as a limited user but this one is proving to be a challenge. And I do have security, Mcafee, but it falls short when removing malware. Would any of you happen to know how to get rid of this foul program using a limiter user account? [url=http://gordoarsnaui.com]santoramaa[/url]

Comments are closed.