Purpose
This article provides steps to completely remove all components of the Protect/Patch for Windows Servers (PWS) agent from a client system and then perform a clean re-installation of the agent.
Do not perform these steps on your Protect / PWS console machine.
Resolution
To uninstall and then reinstall the agent:
- Uninstall the Shavlik Protect/Ivanti PWS Agent and its components from Add/Remove Programs or Programs & Features in the Windows Control Panel.
- Delete the ProgramData folder: C:\ProgramData\LANDesk\Shavlik Protect
- Delete the C:\Program Files\LANDesk\Shavlik Protect Agentfolder
For 64bit machines, ensure to add(x86)to the path.
- Delete the relevant certificates.
To delete certificates:- ClickStart>Run, type mmc, and clickOK. The MMC Snap In window opens.
- ClickFile>Add/Remove Snap-In.
- Under Available Snap Ins, selectCertificates.
- ClickAdd.
- Select theComputer Accountoption and clickNext.
- Ensure that theLocal Computeroption is selected and then clickFinish.
- Close the Add or Remove Snap Ins window.
You should now see Certificates listed under Console Root. - Expand Certificates.
- Delete these certificates that are listed as being issued by ST Root Authority:
- Personal\Certificates
- Trusted Root Certification Authorities\Certificates
- Intermediate Certification Authorities\Certificates
- Close the window.
- Verify that the agent machine keys are removed.
The machine keys are located at C:\ProgramData\Microsoft\Crypto\RSA\MachineKeys
You can open these files using a text editor, such as notepad, and then use CTRL+F to search for the words console and agent in each of these files.
If any of the files have the word console or agent in plain text, delete the file. Do not delete any files that do not contain these words in plain text.
Do not delete any certificates or files in theCrypto\RSA\MachineKeysfolder that you are not sure about. If you have any questions, contact Shavlik Support.
It is highly recommended to perform a backup of the registry before performing any modifications.
How to back up Windows Registry: http://windows.microsoft.com/en-US/windows-vista/Back-up-the-registry
- Open regedit and navigate to HKEY_CLASSES_ROOT\Installer\UpgradeCodes\
Delete or rename the key that contains any of the GUIDS below:
Make sure to use the corresponding GUID for the version of Protect you are attempting to uninstall.
- Protect 9.2.x: {FD2F9A1228457E545BD699619B461852}
- Patch for Windows Servers 9.3.x {FD2F9A1228457E545BD699619B461852}
- Delete the following registry key, if it exists: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\LANDESK\Shavlik Protect\Agent
- Reboot the machine.
- (Optional) Install the agent either from the Protect console or using the manual installer package.
Affected Product(s)
Shavlik Protect 9.x
Ivanti Patch for Windows Server 9.3+