Solved

How to remove a file that only TrustedInstaller has privileges in Windows Vista

Posted on 2008-10-11
3
3,576 Views
Last Modified: 2012-05-05
I tired to remove a file yesterday but it said I do not have right to remove it...and then I view the properties of it, only TrustedInstaller has all privileges, ...how can I remove that file?
I believe that file is created by Visual C++ 2005 Redistribution.
0
Comment
Question by:mawingho
  • 2
3 Comments
 
LVL 91

Expert Comment

by:nobus
ID: 22693125
try this :  www.bleepingcomputer.com/files/killbox.php                        killbox
0
 
LVL 2

Accepted Solution

by:
ioamnesia earned 500 total points
ID: 22704841
open up an elevated command prompt by pressing start then typing "command" and right click run as administrator. From the command line, run the following two commands:

takeown /f FULLPATHTOFILE /A
icacls FULLPATHTOFILE /grant Administrators:f

For example, to take control of imageres.dll in system32:
takeown /f c:\windows\system32\imageres.dll /A
icacls c:\windows\system32\imageres.dll /grant Administrators:F
0
 
LVL 2

Expert Comment

by:ioamnesia
ID: 22704886
P.S. You may need to enable the Administrator account and use a command prompt running with Administrator context.

Run an elevated command prompt

net user Administrator /active:yes
net user Administrator PASSWORD
runas /user:administrator cmd

type the password at the prompt then continue with taking ownership as above
0

Featured Post

Complete Microsoft Windows PC® & Mac Backup

Backup and recovery solutions to protect all your PCs & Mac– on-premises or in remote locations. Acronis backs up entire PC or Mac with patented reliable disk imaging technology and you will be able to restore workstations to a new, dissimilar hardware in minutes.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
WINDOWS VISTA 8 656
Which "Remote Connections Manager" do you suggest? 6 570
dell e6400 2 363
Best practices power settings GPO Win 10 4 57
Hi All Just a quick one for everybody. I was recently looking into setting the default User Account Picture for all my vista clients within the network but on closer inspection the group policy setting only allows you to set the default pictur…
There are many reasons a PC runs slower than when it was new, ranging from malicious software intended to mess things up to simple general Windows use.  Your PC performance may slowly degrade over time without you noticing but when you buy a PC from…
The Task Scheduler is a powerful tool that is built into Windows. It allows you to schedule tasks (actions) on a recurring basis, such as hourly, daily, weekly, monthly, at log on, at startup, on idle, etc. This video Micro Tutorial is a brief intro…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

706 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now