Stop a device through a batch program

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. .

Everything New Technology 1823 This topic was started by ,


data/avatar/default/avatar16.webp

2 Posts
Location -
Joined 2003-06-13
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.

Participate on our website and join the conversation

You have already an account on our website? Use the link below to login.
Login
Create a new user account. Registration is free and takes only a few seconds.
Register
This topic is archived. New comments cannot be posted and votes cannot be cast.

Responses to this topic


data/avatar/default/avatar16.webp

2 Posts
Location -
Joined 2003-06-13
OP
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

data/avatar/default/avatar01.webp

738 Posts
Location -
Joined 2002-12-11
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

data/avatar/default/avatar03.webp

581 Posts
Location -
Joined 2002-04-27
Or you could disable the device in comntrol panel>devices
 
Or is it control panel>hardware? Either way you get the idea.