find the guid for an application in the registry

Answered find the guid for an application in the registry

  • Friday, November 30, 2012 9:09 AM
     
     

    hi all, I am trying to follow the below to remove an application from my network.

    However how do I find he long guid for the application? When I look in HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall I can see tightvnc but I cannot see a long guid for it.

    ====

    Create script

    REM --- Check for an existing installation of *** SOFTWARE YOU WANT GONE ***
    if not exist "***directory it lives in***" goto _End
    MSIEXEC /X {KEY
    from registry} /Q /NORESTART
    :_End
    exit

    Find KEY from registry

    The key for removing is located here

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall

    Just copy the {F3F18612-7B5D-4C05-86C9-AB50F6F71727} from the package you
    want gone into the script.

    Run the script

    Either at log on or off or just have it as a shortcut.

All Replies