Just Published! Threat Report: Exposing Malware in Linux-Based Multi-Cloud Environments | Download Now

Completely Uninstall IIS After Using Full Installer for Same Version Upgrade

Completely Uninstall IIS After Using Full Installer for Same Version Upgrade

Version

7.2.x

Issue

Upgrade to an existing 7.2 installation with the full installation package (rather than the patch)

Symptoms

Towards the end of the installation, they should see the error “Bit9 Console could not be deployed on IIS. Please re-install IIS and try again. Exiting Bit9 Server installation”. 
This error results in a roll back of the installation.

No access to the Bit9 console after roll back.

405 Errors after re-installing Bit9

Cause

The incorrect use of the full installer. All same major version (7.2.x.x) upgrades need to use the patch. 
The full installer corrupts the IIS settings, which prevents the console from coming back up properly upon roll back.

Solution

Perform a complete uninstall of IIS from the server, and then reinstall IIS with the proper settings.

Uninstallation steps:

1. Open Add/Remove Programs

2. Open "cmd.exe" as an administrator.

3. Copy the text below to remove all services related to IIS. Modify when needed.

start /w pkgmgr /uu:IIS-WebServerRole;IIS-WebServerManagementTools;IIS-IIS6ManagementCompatibility;IIS-Metabase;IIS-WMICompatibility;IIS-ManagementConsole;IIS-ManagementScriptingTools;IIS-WebServer;IIS-CommonHttpFeatures;IIS-StaticContent;IIS-DefaultDocument;IIS-DirectoryBrowsing;IIS-HttpErrors;IIS-HttpRedirect;IIS-ApplicationDevelopment;IIS-ASP;IIS-ASPNET;IIS-ISAPIExtensions;IIS-ISAPIFilter;IIS-NetFxExtensibility;IIS-ServerSideIncludes;IIS-HealthAndDiagnostics;IIS-HttpLogging;IIS-HttpTracing;IIS-LoggingLibraries;IIS-RequestMonitor;IIS-Performance;IIS-HttpCompressionStatic;IIS-Security;IIS-RequestFiltering;IIS-WindowsAuthentication;WAS-WindowsActivationService;WAS-ProcessModel;WAS-NetFxEnvironment;WAS-ConfigurationAPI

4. Restart the server.

5. Delete files and folders below.

C:\Windows\system32\inetsvr\

C:\inetpub\

C:\Windows\iis7.log

C:\Program Files\PHP

C:\Program Files\MySQL

C:\ProgramData\MySQL

*Any privilege issues will require rebooting into Safe Mode.

6.  Restart the Server.

7.  Configure IIS per the ‘Installing Bit9 Security Platform Guide – V7.2.0

8.  Uninstall & Re-install the Bit9 Platform using the ‘Bit9 Platform 7.2 Installer’ and point it to the existing database.

Labels (1)
Was this article helpful? Yes No
No ratings
Article Information
Author:
Creation Date:
‎08-28-2015
Views:
4149
Contributors