Compatible Support Forums: Stop a device through a batch program

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Stop a device through a batch program

#1 User is offline   Jamesgf 

  • stranger
  • Group: Members
  • Posts: 2
  • Joined: 13-June 03

Posted 13 June 2003 - 03:49 PM

Does anyone know how can I stop a Device in Windows NT through a batch program. I know you can stop a service by typing net stop, is there a easy way to do this. Thanks in advance for any help.
0

#2 User is offline   DS3Circuit 

  • old hand
  • Group: Members
  • Posts: 739
  • Joined: 11-December 02

Posted 13 June 2003 - 06:51 PM

What devices would you like to disable in NT 4.0? Serial devices can be stopped with a switch in your boot.ini as seen here

http://support.microsoft.com/default.asp...;NoWebContent=1

Please expand on what you would like to do.
0

#3 User is offline   Jamesgf 

  • stranger
  • Group: Members
  • Posts: 2
  • Joined: 13-June 03

Posted 13 June 2003 - 09:50 PM

I want to disable the cmosa device, ever since we applied security updates we get a event error message that there is a problem with cmosa device. I have disabled this device with no problems so I would like to just write a batch file disable this device to all our users
0

#4 User is offline   DS3Circuit 

  • old hand
  • Group: Members
  • Posts: 739
  • Joined: 11-December 02

Posted 13 June 2003 - 10:02 PM

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services Lists all startup services and device drivers.

I dont have an NT4 machine handy, but your cmosa driver should be listed there.

You can pass silent registry entries using a login script and regedit /s myreg.reg.

HTH wink
0

#5 User is offline   duhmez 

  • addict
  • Group: Members
  • Posts: 583
  • Joined: 27-April 02

Posted 13 June 2003 - 11:04 PM

Or you could disable the device in comntrol panel>devices smile

Or is it control panel>hardware? Either way you get the idea.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users