DevCDR icon indicating copy to clipboard operation
DevCDR copied to clipboard

Remove/Retire computer from monitoring

Open DwightGappa opened this issue 4 years ago • 3 comments

I am retiring a couple of computers from my personal fleet and would like to remove them from being monitored and managed by DevCDR. There might be computers that I now longer have access to the install.

How would I remove the computers?

DwightGappa avatar Sep 04 '20 02:09 DwightGappa

If your devices do have a current version of DevCDR Agent (>= 2.0.1.45), you can place a file c:\remove-me.txt and restart the agent. To remove it manually, you have to uninstall the agent MSI and remove the Scheduled-Task DevCDR .

rzander avatar Sep 04 '20 15:09 rzander

Okay, I did remove the devices I was looking to retire with the 'c:\remove-me.txt' method.

When I query the database through JainDB, I see there are 2 devices that need to be purged manually from DevCDR, I don't have access to those Windows installs because they have been blown away. How would I remove those devices?

DwightGappa avatar Sep 13 '20 04:09 DwightGappa

Ok, you want to remove the data from the database ?! That's a bit a challange as JainDB is splitting the Inventory-JSON into child Objects for data deduplication...

  1. delete /site/wwwroot/wwwroot/jaindb/_chain/.json ; these files conatins the blockchain of the inventory data
  2. delete /site/wwwroot/wwwroot/jaindb/_full/.json ; these files are optional and are there to cache the current inventory data... if you delete them, they may get recreated if you query data...

rzander avatar Sep 13 '20 17:09 rzander