My (limited) knowledge leads me to think you could run a remote script either 
from another machine or at startup to correct the snafu.
John W. Cook
Systems Administrator
Partnership For Strong Families
 Sent to you from my Blackberry in the Cloud

----- Original Message -----
From: Ben Scott <[email protected]>
To: NT System Admin Issues <[email protected]>
Sent: Mon Oct 19 20:25:49 2009
Subject: Re: Sysadmin mistake of the week

On Mon, Oct 19, 2009 at 8:18 PM, James Hill
<[email protected]> wrote:
> I've never used DEVCON before.  Using a command line to restart a hardware 
> device seems like something a Linux admin would do though :)

  Well, normally, I might have tried to restart the device using the
DEVMGMT GUI, with "Disable" followed by "Enable".  But Kurt Buff is
right in that my keyboard and mouse are USB.  I would be able to
disable them from the GUI, but re-enabling them....  I at least saw
*that* pitfall coming, and dodged it.  :)

  So I thought, "I bet I can script something".  Then I found DEVCON,
which had a single-operation "restart" command -- exactly what I
needed.  (Well, that, and the ability to recognize potentially
dangerous characters in command lines...)

-- Ben

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~


CONFIDENTIALITY STATEMENT: The information transmitted, or contained or 
attached to or with this Notice is intended only for the person or entity to 
which it is addressed and may contain Protected Health Information (PHI), 
confidential and/or privileged material. Any review, transmission, 
dissemination, or other use of, and taking any action in reliance upon this 
information by persons or entities other than the intended recipient without 
the express written consent of the sender are prohibited. This information may 
be protected by the Health Insurance Portability and Accountability Act of 1996 
(HIPAA), and other Federal and Florida laws. Improper or unauthorized use or 
disclosure of this information could result in civil and/or criminal penalties.
 Consider the environment. Please don't print this e-mail unless you really 
need to.

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

Reply via email to