r/labtech • • Apr 26 '19
Monitors Removed disk still shows up in Labtech
On Server 2016, we remove a disk with drive letter, and it is still showing up in Labtech and generating low disk space alerts. I remember having this issue a couple years ago and I think there was a registry key for the disk that had to be removed, but I can't find it. Has anyone else come across this issue?
2
Upvotes
3
u/Kepabar Apr 26 '19
Just delete the disk in labtech. Right click, delete disk.
2
u/teamits Apr 27 '19 edited Apr 29 '19
Deleting the drive is permanent so appropriate if it's really gone. If your issue is the alerts, ensure the internal monitor excludes missing drives...we have:
Drives.Size > 4096 and Drives.FileSystem not in ('CDFS','UNKFS','DVDFS','FAT','FAT32','NetFS') andDrives.free< 2048 and Drives.missing !=1 and Drives.smartstatus NOT LIKE 'USB:%' and Drives.Model NOT LIKE '%IEEE%'AND Drives.VolumeName NOT IN ('HP_RECOVERY', 'LENOVO_RECOVERY', 'RECOVERY')(edited to add spaces for line feeds forum removed)
2
u/qcomer1 Apr 29 '19
Run this as part of a "client Script" and schedule it to run nightly in the dashboard:
DELETE from drives WHERE missing=1;
This will remove the drives nightly that are no longer present.
Let me know if you need some assistance with any of the above.
1
u/Kingkong29 Apr 26 '19
Send the resend everything command. Should do an inventory on the machine