I want to know if a USB key has been plugged out. This can be achieved easily using a WMI Event listener. But what if the PC is shutdown - will a WMI permanent event detect this ?
Asked
Active
Viewed 243 times
1 Answers
1
The WMI permanent events
only works while the OS is running and the WMI service is up.

RRUZ
- 134,889
- 20
- 356
- 483
-
so if i want to detect a usb change even when a pc is powered off how could that be done ? The only idea i can think of is to keep a list of the usb drives on a file and then compare to that file on pc bootup – user1438082 Dec 18 '13 at 21:34
-
1Maintaining a list of connected devices can be an option. – RRUZ Dec 18 '13 at 21:55