Uninstall doesn't remove/delete program folder from Start menu

1

When I want to upgrade a installed program, usually it looks so that I first uninstall the old version and install the new version of program. Uninstalling a program is not successful entirely, it doesn't delete the program folder in the Start menu.

If I try to manually delete program's folder in the Start menu I get the message:

You'll need provide administrator permission to delete this folder

If I try to install the new version, the installation fails due to error:

The installer has insufficient privileges to access this directory: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Program_name. The installation cannot continue. Log on as administrator or contact your system administrator.

Note that I have administrator privileges.

Some semi-solution is restart the system where the folder is automatically deleted after the restart and then I can make the installation of the new version of program.

My question is how to solve the problem without restarting the system, so that the uninstall delete the program folder in Start menu?

ztepsic

Posted 2011-01-27T02:23:46.237

Reputation: 83

Is this windows 7 home? – Supercereal – 2011-01-27T02:26:46.080

No, it's Windows 7 Professional. I would like to mention that i have Windows 7 Professional on another computer and there is no problem with deleting/removing the program folder from the Start Menu with uninstall. All is OK. – ztepsic – 2011-01-27T02:31:14.390

Answers

1

With out more information this is a little difficult to answer, for example if the pc is a domain member this will not work. But I'll take a crack since I have fixed similar issues on home premium systems with this. Open an elevated CMD window (right click run as administrator) type in:

net user administrator /active:yes

log off and log in as the new admin account that should now be available it will allow you to delete these folders. Remember to run the same command with a "active:no" at the end to deactivate the admin account afterward.

Supercereal

Posted 2011-01-27T02:23:46.237

Reputation: 8 643

Do I need repeat this procedure every time when I want to uninstall and then reinstall the program? If so then it is similar to restarting the system. – ztepsic – 2011-01-27T02:55:20.127

@ztepsic so this is with every program you uninstall? I thought it was just one or two programs giving you issues. It is similar to restarting true but with user switching you don't have to close anything or lose any work. Otherwise go with studiohacks suggestion, this was just a solution that didn't require a third party program. – Supercereal – 2011-01-27T03:08:13.190

This worked to allow the VirtualBox installer to complete on my machine. That is the only program I have ever seen have this issue (and it's recurrent, I've also seen it on more than one machine IIRC)... I still don't understand what vbox installer does to the "Start Menu" that's so wrong... seems that it is going downhill lately, but I digress. – PeterT – 2011-11-08T11:29:44.577

0

Try uninstalling with Revo Uninstaller. It will remove all traces from your system of the uninstalled program. It may or may not work with the said errors, but it's worth a try...

From the website:

  • Scanning for leftovers after the standard uninstall
  • 8 Additional cleaning tools included

studiohack

Posted 2011-01-27T02:23:46.237

Reputation: 13 125

Thank you for your suggestion. But I want to find out why windows 7 is not doing this by its own. It is working by default on other similar machines but no on this particular. – ztepsic – 2011-01-27T02:59:14.523