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 Technologies
- 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 7.0.832.0: {C6D1AE7C-DE93-4E93-A916-C4144525C82C}
- Protect 7.0.841.0: {C6D1AE7C-DE93-4E93-A916-C4144525C82C}
- Protect 7.1.410.0: {90047C28-0B1B-4B30-8177-50729907EBF2}
- Protect 7.2.155.0: {9B7F1E45-4C47-4E25-9EAB-098923E4171C}
- Protect 7.5.2716.0: {CEA2D643-08C0-422E-9B27-B58ED9D38D07}
- Protect 7.6.1482.0: {661A3308-5BE2-4E0F-A752-BDDB247DD2DB}
- Protect 7.8.1340.0: {0A4D8D5E-7177-4A45-8A7F-0A5757403F97}
- Protect 7.8.1388.0: {0A4D8D5E-7177-4A45-8A7F-0A5757403F97}
- Protect 7.8.1392.0: {0A4D8D5E-7177-4A45-8A7F-0A5757403F97}
- Protect 8.0.3756.0: {F77AFB04-D13F-48DA-BB99-A5B31B6AAE0B}
- Protect 8.0.3965.1: {5A696B05-9F06-4B3D-83A0-69E848EFAC4A}
- Protect 9.0.1106: {FD2F9A12-2845-7E54-5BD6-99619B461852}
- Protect 9.0.1182: {FD2F9A12-2845-7E54-5BD6-99619B461852}
- Protect 9.1.4334: {FD2F9A12-2845-7E54-5BD6-99619B461852}
- Protect 9.1.4472: {FD2F9A12-2845-7E54-5BD6-99619B461852}
- Patch for Windows Servers 9.3.4379 {FD2F9A1228457E545BD699619B461852}
- Patch for Windows Servers 9.3.4440 {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+