Uninstalling on Windows

If you have a complete and functional uninstallation program, you can uninstall WebSphere Portal only or both WebSphere Portal and IBM WAS from the cluster.


Prerequisites

Prepare to uninstall on Windows
Perform the following steps to uninstall WebSphere Portal using the uninstallation program:

  1. Run...

      following

    s to stop the server1 and WebSphere_Portal servers from the profile_root/bin directory:

    1. stopServer.bat server1 -username admin_userid -password admin_password

    2. stopServer.bat WebSphere_Portal -username admin_userid -password admin_password

  2. Verify that there are no other installations or uninstallations running.

  3. Locate and delete the portalinstall.lockfile file, if present, located in the %TEMP% directory; for example,C:\Documents and Settings\Administrator\Local Settings\Temp\portalinstall.lockfile.

    The Portal installer creates the portalinstall.lockfile to prevent two installations or uninstallations from running simultaneously.

    This is a temporary file and ordinarily gets deleted when the installation or uninstallation successfully completes, but it may not get deleted during an aborted or crashed procedure. Until this file is deleted, it will not be possible to initiate another installation.

  4. Enter one of the following uninstallation commands:

    Option Description
    Add or Remove Programs Open the Add or Remove Programs application from the Control Panel and select WebSphere Portal.
    GUI PortalServer_root\uninstall\uninstall.bat
    Console mode PortalServer_root\uninstall\uninstall.bat -console
    Silent PortalServer_root\uninstall\uninstall.bat -options "path_to_file\response_filename", where path_to_file is the full path to the response file and response_filename is the name of the file. A sample uninstall response file (uninstallresponse.txt) are located in the setup CD root directory.

    Do not place the response file in a path that contains a space and do not put a space in the file name.

  5. Remove any remaining WebSphere Portal directories from your directory structure.

  6. To remove WAS entries from your operating system's native registry using the native registry tool:

    1. Read the Windows help system for information about using the Windows Registry Editor.

      When editing the Windows registry, your computer may not function properly if you delete the wrong information.

      If this happens, see the Windows Help system for information on how to restore the registry.

    2. Click Start > Run and then type regedit to start the Windows Registry Editor.

    3. Delete all entries under the HKEY_CURRENT_USER > SOFTWARE > IBM > WAS, including the WAS entry.

      If you using WAS Network Deployment, the path will be HKEY_CURRENT_USER > SOFTWARE > IBM > WAS Network Deployment.

    4. Run the sc delete service_name from a command prompt to remove a Windows service from the Services list and registry. Click Start > Control Panel > Administration Tools > Services to view the WAS services names.

  7. Restart the machine, especially if you intend to reinstall WebSphere Portal on the same machine.

  8. Go to Deleting specific cluster members for information on how to delete a cluster member, if it exists, from the deployment manager.

  9. To delete the WebSphere Portal server, if it exists, from the deployment manager:

    1. Click Servers > Application Servers.

    2. Select the check box for the WebSphere Portal server you want to delete.

    3. Click Delete.


Parent topic:

Uninstalling from a cluster on Windows


Previous topic:

Prepare to uninstall on Windows