Q

How can I prevent users from logging off and leaving devices attached?

How can I prevent users from logging off from an XP network and leaving devices attached (i.e. USB Disks or other disks in drives)? I believe it is possible to check on logout and prevent logout until a device has been removed, but I don't know how to do it.
One possible way to do this would be to have a script (either a batch file or a WSH file) that runs at logoff, and which checks the number of available drives against a list somewhere. If there are more drives available than normal, the user gets a warning and logoff is aborted.

Apparently Peter Paquette of the University of Washington, Tacoma, has written a script to detect when this sort of thing happens, but it is not available publicly (see http://css.tacoma.washington.edu/~lab/News/articles/LogoffRemMediaNotification.html for more information).

This was first published in February 2005
This Content Component encountered an error

Pro+

Features

Enjoy the benefits of Pro+ membership, learn more and join.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

0 comments

Oldest 

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

-ADS BY GOOGLE

SearchServerVirtualization

SearchCloudComputing

SearchExchange

SearchSQLServer

SearchWinIT

SearchEnterpriseDesktop

SearchVirtualDesktop

Close