Solved

Can't delete firefox, can't reinstall

Posted on 2007-12-06
2
840 Views
Last Modified: 2013-12-07
Vista Ultimate 64.

Can't run firefox.exe, no response.
Delete - "You need permission to perform this action."
Properties-Security-Advanced-Owner:  Current owner:  Unable to display current owner.
Attempt to change owner:  "Unable to set new owner on firefox.exe.  Access is denied."
Run as admin:  "Windows cannot access the specificied device, path, or file.  You may not have the appropriate permissions to access the item."
Can't reinstall into that directory.

How can I get control of the file so I can reinstall?
0
Comment
Question by:raymm3852
2 Comments
 
LVL 7

Expert Comment

by:Wod
ID: 20420468
Log in to Windows using the Administrator account and you should be able to do it
0
 
LVL 8

Accepted Solution

by:
YGregersen earned 500 total points
ID: 20421274
create a text file called Ownership.reg and add
this


Windows Registry Editor Version 5.00


[HKEY_CLASSES_ROOT\*\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\*\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" && icacls \"%1\" /grant administrators:F"

[HKEY_CLASSES_ROOT\Directory\shell\runas]
@="Take Ownership"
"NoWorkingDirectory"=""

[HKEY_CLASSES_ROOT\Directory\shell\runas\command]
@="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"
"IsolatedCommand"="cmd.exe /c takeown /f \"%1\" /r /d y && icacls \"%1\" /grant administrators:F /t"


This will give a right click option to take ownership of any file and give you the ability to delete it.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Dual boot for S.O 7 35
egit plugin on eclipse 8 40
Sort list of IP addresses 7 40
Wordpress errors showing up, hacked? 4 12
If you are a web developer, you would be aware of the <iframe> tag in HTML. The <iframe> stands for inline frame and is used to embed another document within the current HTML document. The embedded document could be even another website.
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
This Micro Tutorial will demonstrate how to add subdomains to your content reports. This can be very importing in having a site with multiple subdomains.
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…

895 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

11 Experts available now in Live!

Get 1:1 Help Now