Create a second Enable Web Server Service without Single Sign-On (Non SSO) by copying and modifying the existing service script, updating service names, port numbers, and session directories, and then running the script as an administrator to confirm the new service is listed.
-
Go to
<drive>:/Enterworks/enable2020/services/install
and copy the filecreate-enable-web-server-service.cmd
. -
Rename the copied file to
create-enable-web-server-service-non-sso.cmd
. -
Open the file and make the following changes:
- Replace
withsc stop enable-web-server-service
sc stop enable-web-server-service-non-sso
- Replace
withsc delete enable-web-server-service
sc delete enable-web-server-service-non-sso
- Replace
withsc create enable-web-server-service
sc create enable-web-server-service-non-sso
- Update the
-port
parameter with a new port number that doesn’t conflict with existing ports. - Copy the
sessions
folder in<drive>:/Enterworks/enable2020
, rename it tonon-sso-sessions
, and copy the contents into it. Ensure the-sessionDBfile
points tonon-sso-sessions
. - Replace
withsc description enable-web-server-service "Enable Web Server"
sc description enable-web-server-service-non-sso "Enable Web Server non sso"
- Replace
withsc config enable-web-server-service start=auto
sc config enable-web-server-service-non-sso start=auto
- Replace
- Save changes to the file.
- Right-click the file and select "Run as Administrator".
-
Open the Services application and confirm the new service
enable-web-server-service-non-sso
appears in the list.