Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

Error when uninstalling GP 10 and 2010

Posted on by 373
I have switched computers and would like to uninstall the local copies of GP 10 and 2010 from my old laptop. I am logged in as a user with Admin rights to the machine (the same user used to install GP). When I go to add/remove programs and try to uninstall either GP 10 or 2010 it rolls along for a few seconds then gives the message "Access to the path C:\Program Files\Microsoft Dynamics\GP201\Dynamics.set is denied". I'm a little rusty on these types of errors but feel confident I have the correct privileges to perform the uninstall process. I confirmed my UAC settings are as lax as possible (actually tried it on both ends of the UAC slider spectrum). This happens for both GP 2010 and GP 10. Since I'm running this from Control Panel --> add/remove programs I don't see any way to "run as administrator". Customersource and web searches revealed nothing obvious. Thanks in advance for any/all help. AW

*This post is locked for comments

  • RE: Error when uninstalling GP 10 and 2010

    Any update on if and what resolved this?

  • RE: Error when uninstalling GP 10 and 2010

    Hello Awalshga,

    If you're not able to uninstall through the normal Control Panel > Programs and Features uninstall process, the next option you can try is the following steps:

    ***Note: On the workstation, click on Start > Run, type in REGEDIT and click OK to open the Registry Editor. With 'My Computer' highlighted in the upper left-hand corner, click on File > Export, make backup of registry.***

    1. In the Registry Editor, browse to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ location and search for the Microsoft Dynamics GP 10.0 or GP 2010 install you want to remove.

    2. When you find it, you'll see a 'UninstallString' subkey, copy the UninstallString value from the { to the other }.

        For example, on my system, I see this:

                MsiExec.exe /X{B27D05EB-5C32-ADFA-8106-8E97C7654770}

       I would copy this: {B27D05EB-5C32-ADFA-8106-8E97C7654770}

    3. Make sure all Dynamics GP applications are closed and then run the following script via Start > Run:

                msiexec /x {B27D05EB-5C32-ADFA-8106-8E97C7654770}

    This should completely remove that install of Dynamics GP from your system's registry just as good if not better than going through Control Panel > Programs and Features would do.

    By doing this, it'll remove all references of Dynamics GP in the Registry, which will also remove it from showing in Programs and Features.

    At that point, if successful, you should be able to re-install a new instance of Dynamics GP as needed on the workstation.

    If both the uninstall process under Control Panel and using this MSIEXEC /X process fail, then normally the only other option we have is to search through the entire Windows Registry for 'Microsoft Dynamics GP 10.0' and/or 'Microsoft Dynamics GP 2010' and, after exporting a backup of each registry object before deleting it, delete the registry keys until there is no longer any mention of the application. You would also want to delete any folders/files left for Microsoft Dynamics GP as well.

    Let us know if you have any questions. If you need further assistance, you may want to open a support case, especially if you don't feel comfortable working around the Windows Registry.

    Thank you,

  • AwalshGA Profile Picture
    AwalshGA 373 on at
    RE: Error when uninstalling GP 10 and 2010

    Unfortunately I'm trying to install this on a Win 7 Ultimate 32-bit machine.  Thanks for all the suggestions and thank in advance for any other thoughts on this one.  I'm starting to think I'll need to reinstall in order to uninstall :).  

  • RE: Error when uninstalling GP 10 and 2010

    shoot me an email Richard, jfear@microsoft.com

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Error when uninstalling GP 10 and 2010

    Good thing to know Jonathan. How can I get a copy of this code? When I go to Download it the button for Open is dim.

  • RE: Error when uninstalling GP 10 and 2010

    Don't use the old cleanup Utility as it will strip permissions on registry keys which is why we pulled it. Instead if this is a 64-bit machine you can use the following fix it tool:

    support.microsoft.com/.../Program_Install_and_Uninstall

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: Error when uninstalling GP 10 and 2010

    See if you can find the old Microsoft Cleanup Utility. If you cannot find it, I have a copy. I know it is not supported but it will help clean up registry entries and then you can delete the old program folders and try again.

  • AwalshGA Profile Picture
    AwalshGA 373 on at
    RE: Error when uninstalling GP 10 and 2010

    Thanks to everyone who offered suggestions to address my issue.  Convergence made this issue a lower priority so I am just getting to it this week.  I did enable the built-in Admin account on my Win 7 Ultimate computer and used it to do the uninstall of GP 10 and 2010.  Unfortunately I receive the same error message.  Upon a little investigation it looks like the Dynamics.set file referenced in the error message is not even in the directory which seems to be the cause of the problem.  I've not removed the file and there seem to be all the other expected files (dynamics.exe, etc.) so I'm puzzled why the .set file is gone (for both versions).  I recall seeing a status message during the uninstall process that referenced the set file so I'm wondering if it could have possibly deleted that file but when the permissions error was encountered it failed to roll back that change.

    So where things stand now is I have non-functioning GP 10 and 2010 installations on this computer.  Aside from re-installing the programs (to then do a 'clean' uninstall) does anyone know of any other way to remove these programs gracefully (i.e. by not simply deleting the folders under Program Files)?  It's become one of those things where I'm spending way too much time on it but the consultant in me wants to figure it out and not let it beat me :).  Thanks in advance for any assistance.

    AW

  • Suggested answer
    Victoria Yudin Profile Picture
    Victoria Yudin 22,766 on at
    RE: Error when uninstalling GP 10 and 2010

    I would recommend logging into the computer as the local built-in administrator and then performing the uninstall. Even though only one path is mentioned in the error you're seeing, there may be many more throughout the uninstall and you're going to have to deal with them one at time this way.

    On anything after Windows XP, a user with admin rights still does not have the same permissions as the local built-in administrator and I always recommend performing installations and uninstallations as the local built-in administrator to avoid issues.

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Error when uninstalling GP 10 and 2010

    Hi AwalshGA  

    This looks like a security access error to me. As Richard says "Just because you are logged on as the administrator does not mean you have full control of the folder".

    Give yourself full control access to that folder and try again. This should sort out the issue.

    Thanks,

    Appasaheb

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans