Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Can't delete firefox, can't reinstall

Posted on 2007-12-06
2
Medium Priority
?
864 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 2000 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

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
The article covers five tools all IT professionals should know about, as they up productivity by a great deal!
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.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

783 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