The Apex One as a Service installer has the capability to uninstall existing WFBS Agent when executing the installer on the actual machine. However, if the installer is deployed via GPO or any remote tool, it cannot uninstall the WFBS Agent and this will result in a failed installation.
This article will let you deploy the installer package via GPO Logon script, what this logon script does will first uninstall the WFBS Agent using the uninstall tool then after the uninstallation process, it will start installing the Apex One as a Service Agent. All of these process is silent and automatic, the user will not be able to see any pop ups on the target machine.
- Download the Uninstall-Install rar file.
- Extract the zip file and copy the decompressed files to a shared folder that is accessible to the machines where the WFBS Agent needs to be uninstalled and the Apex One as a Service Agent installed.
- Replace the agent_cloud_x64.msi with your Apex One as a Service Agent installer.
Setting up the GPO policy
To deploy the script through GPO logon script please do the following:
On the Domain Controller, open the Group Policy Management console. You can press the Windows key + R to open a run window then type gpmc.msc for quick access.
You can either create a new GPO policy or you can use the Default Domain Policy.
Right-click on your preferred GPO policy then click Edit.
Under User Configuration, go to Policies > Windows Settings > Scripts (Logon/Logoff) then click Logon.
Click Show Files then grab a copy of the extracted files that you downloaded earlier and place it in the Scripts folder.
On the Logon Properties, click Add then locate the FinalUninstallANDinstall.vbs. Click Apply then Okay.
- Close the Group Policy Management Editor.
Right-click on the GPO policy you set up then click Enforced.
Select your GPO policy and make sure that under Security Filtering, add the Groups, User, or Computer you want to deploy this policy to.
For testing, go to one of the machines that have a WFBS Agent. Open cmd (command prompt) then run the gpupdate /force command to force the machine to get the GPO policy.
Reboot the machine then check the task manager if you are able to see SilentSAUinstallat_66. If you do, this means that the script is now running on the machine and it started the uninstallation process of the WFBS Agent.
- Wait for about 10 minutes then confirm if the ApexOneSaaS agent is now install on the machine.
After the process completes, confirm if the Apex One as a Service Agent has installed. Check the System tray for the Agent icon and confirm that it shows the Agent with an Online status.