Environment
Situation
Resolution
To manually clean up the Security Manager agent software on the deployed agent or managed agent follow directions below.
---To remove the agent from the OnePointDB use SQL Query below---
Use OnePoint
DECLARE @variable uniqueidentifier
Select @variable = IdComputer from Computer where name = 'name' and domain = 'domain'
delete from ComputerSecurity where idComputer = @variable
delete from ComputertoComputerRule where idComputer = @variable
delete from ComputerAttribute where idComputer = @variable
delete from Configuration where idComputer = @variable
delete from Computer where idComputer = @variable
---------------------------------------------------------------------------------
To remove software on the agent:
A. Open the Windows Registry
1. Delete the "HKEY_LOCAL_MACHINE\SOFTWARE\NetIQ\Security Manager" key
2. Delete the "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NqSmSvc" key
B. Open "Add/Remove programs wizard"
1. From the list select Security Manager Agent and uninstall it.(If the agent software is not present this agent was deployed)
2. Delete the following locations for Windows 2003:
E.g.- C:\Documents and Settings\All Users\Application Data\NetIQ
E.g.- C:\Program Files\NetIQ Security Manager\
3. Delete the following locations for Windows 2008:
E.g.- C:\ProgramData\Application Data\NetIQ
4. Restart server
To verify changes were successful see below.
1) Open Security Manager Control Center
2) Launch Agent Administrator
3) Select Agent Summary -> Agent Summary View
4) Verify Agent does not exist
5) Agent should exist in "Agent Summary View" or "Infrastructure Components agents list"