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

7,681

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.

Share:
7,681

Related videos on Youtube

Yash Parekh
Author by

Yash Parekh

Updated on September 17, 2022

Comments

  • Yash Parekh
    Yash Parekh almost 2 years

    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?

    • Supercereal
      Supercereal over 13 years
      Is this windows 7 home?
    • Yash Parekh
      Yash Parekh over 13 years
      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.
  • Yash Parekh
    Yash Parekh over 13 years
    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.
  • Yash Parekh
    Yash Parekh over 13 years
    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.
  • Supercereal
    Supercereal over 13 years
    @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.
  • PeterT
    PeterT over 12 years
    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.