Thanks for the tip on openfiles.exe. I didn’t know it existed. It should come in handy in the future.

I guess a little more info would have been in order. My user base is running W2K and XP. Also, openfiles.exe requires admin rights. Not a show stopper but W2K probably is.

I don’t care which files are open, I just want to make sure the end user doesn’t blow away a connection with open files on it.

KiXtart: use X: /delete
Windows: net use X: /delete
Both delete the network connection without warning even if files are open. The Windows GUI “Disconnect Network Drive” warns you if files are open.

Is there a WMI Class/Property that I might use?