Ouch.  My guess was the Disk Controller.

-----Original Message-----
From: Ben Scott [mailto:mailvor...@gmail.com] 
Sent: Monday, October 19, 2009 6:52 PM
To: NT System Admin Issues
Subject: Re: Sysadmin mistake of the week

On Mon, Oct 19, 2009 at 7:38 PM, Matthew W. Ross
<mr...@ephrataschools.org> wrote:
> But do you need to quote the device? Since you didn't, did you reset
_ALL_OF_THEM_? Sm:)e

  And we have a winner!  :-)

  The command I issued:

        DEVCON restart PCI\VEN_8086&DEV_27CC

contains an ampersand (&).  At the NT command prompt, an ampersand is
a separator for running multiple commands, in series.  So the above
gets parsed as two commands:

        DEVCON restart PCI\VEN_8086

        DEV_27CC

  The second command isn't a valid command, but it never got that far.
 The first command attempts to restart every PCI device in the system
with a vendor ID of 8086.

  PCI Vendor ID 8086 is Intel Corporation.

  On this PC, Intel makes the controllers for main memory, DMA, SATA,
PATA, PCI, PCI Express, USB, Ethernet, LPC bus, SM bus...

  I had to do a 120-reset to get the system usable again.

  Moral being: *Watch those shell meta-characters*.  CMD.EXE might not
be /bin/sh, but it ain't COMMAND.COM either!  :-)

  For the record, the proper command would have been:

        DEVCON restart "PCI\VEN_8086&DEV_27CC"

-- Ben

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

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

Reply via email to