This appears to be related to a program called wmiprvse.exe trapping an
exception when a piece of software tries to access a CD/DVD/USB drive when
there is no medium present. Don't know which program is causing the error,
but have found that leaving a CD/DVD in the drive or re-inserting the USB
flash drive stops the error appearing.
Most likely:
You worked on a file that was pointing to a flash drive. You removed the
flash drive, but the program, when started is trying to access the missing
flash drive via the Save As function. Re-insert the flash drive. Next time
you use a program where you tend to save a file: e.g. Word, make sure your
Save As function is pointing to a location on your hard drive and not your
flash drive before removing the flash drive.
This problem also happens if you change the drive letters of your drives,
and/or you have drive letter conflicts. Perhaps you have a network drive
mapped that is conflicting with a local removable media drive letter. Or,
any combination of the above.
Another cure is to put a disc in each drive one at a time to see which is
faulty and either leave a disc in that one or replace the Drive. (Note: A
program may be looking for USB drives.)