Solved

Can't delete firefox, can't reinstall

Posted on 2007-12-06
2
834 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
Comment Utility
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
Comment Utility
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

Threat Intelligence Starter Resources

Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

Join & Write a Comment

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
When you start your Windows 10 PC and got an "Operating system not found" error or just saw  "Auto repair for startup". After a while, you have entered a loop for Auto repair which does not fix anything and you will be in a  panic as all your work w…
This Micro Tutorial will demonstrate how nuggets on the Web are formatted by using Chrome Developer Tools. These tools would not only view the site's CSS but it can also modify it and save the CSS to use on your own site.
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.

771 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