http://qs321.pair.com?node_id=879100

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello folks, I hope you are enjoying the holidays. I am trying to uninstall Strawberry Perl but I get this error message: "Another application has exclusive access to the file NTUSER.DAT Please shut down all other applications, then click Retry." My options are Retry and Cancel. If I click Retry I immediately get the same error message again since the problem is not resolved so I just click Cancel and Strawberry Perl does not get uninstalled. This seems like a weird problem to me; do you have any ideas?

Replies are listed 'Best First'.
Re: Problem uninstalling Strawberry Perl
by Anonymous Monk on Dec 24, 2010 at 22:30 UTC
    This seems like a weird problem to me; do you have any ideas?

    That probably relates to removing strawberry perl registry entires .... my way, kill all perl processes (pskill perl), then rm -rf strawberryperldirectory, then reboot

    After rebooting, fireup regedit and cleanout the junk, also maybe some files %userprofile%/%appdata%

      Thanks for your help. How would you do this on a Windows machine? This is completely new territory for me so please be as detailed as you care to.
        • Install http://gnuwin32.sourceforge.net/packages/coreutils.htm
        • Install http://live.sysinternals.com/pskill.exe
        • Start + run + cmd.exe
        • From cmd.exe prompt, invoke pskill.exe perl
        • From cmd.exe prompt, invoke rm.exe -rf C:\strawberry... or whatever the path
        • start + shutdown + reboot
        • start + run + regedit, then in regedit ctrl+f and search for strawberry (or strawberryperl_is1), and when you find a key, delete it unless its the %PATH% variable setting
        • just to make sure, again from cmd.exe prompt, invoke rm.exe -rf C:\strawberry... or whatever the path