Uninstall the application
This section describes the Net iD Portal uninstall procedure.
When uninstalling Net iD Portal, the current database together with some files and settings are still stored in the system, even if the application has been uninstalled.
The settings that still are stored in the system are:
[INTERNET INFORMATION SERVICE]\[Application Pools]\NiPAppPool
[INTERNET INFORMATION SERVICE]\[WebSite or VirtualDirectory]
[INTERNET INFORMATION SERVICE]\[WebSite or VirtualDirectory]EWS
The objects in Internet Information Service are stored in the system because of special settings in the IIS and will not be automatically removed to facilitate upgrading of Net iD Portal.
When upgrading Net iD Portal, the current version of the application must first be uninstalled.
Use the current installation package from SecMaker AB:
Unzip the installation package file.
Stop the services
Net iD Portal Generic Serviceand
Net iD Portal TimerService.
Replace the files in the installation folder with the new files obtained from SecMaker.
Do not replace the following files when upgrading:
SecMaker.NiP.Commander.exeand choose command  and .
Follow the instructions to upgrade the database.
Do the following steps to make a complete uninstall of Net iD Portal. Note that all settings and information about the users in Net iD Portal will be erased!
Delete all files in the Net iD Portal directory.
Stop the windows services Net iD Portal Generic Service and Net iD Portal Timer Service.
Run powershell with administrative privilegies and type in the following command to uninstall the windows services:
##### $service1 = Get-WmiObject –Class Win32_Service –Filter "Name=’Net iD Portal Generic Service’" $service1.delete() $service2 = Get-WmiObject –Class Win32_Service –Filter "Name=’Net iD Portal Timer Service’" $service2.delete()
Delete the installation directory of Net iD Portal,
<Net iD Portal Installation Directory>\Net iD Portal\).
Open Microsoft Internet Information Service.
Delete the installed WebSites or Virtual Directories, for example
In Internet Information Service, go to Application Pools and delete the
Close Microsoft Internet Information Service.
Open Microsoft SQL Management Studio.
Delete the current system database and log database, for example
Securitytree and open
Close Microsoft SQL Management Studio.
The Net iD Portal structure is now uninstalled from the system.