Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Enable/Disable device from batch
Name: laurence Date: December 12, 2002 at 06:59:02 Pacific OS: W2K professional CPU/Ram: P IV
Comment:
I would like to know if it's possible to enable/disable a device from a batch file or a C program on W2K. If yes, which command to use. I looked everywhere and the only way I found to enable/disable a device, is to use the device manager. I would like a way to do it automaticaly, without any user.
Name: robbs Date: December 13, 2002 at 13:51:47 Pacific
Reply:
if you want it automaticly you can save two hardware profiles and choose them like you would multi boot before win2k starts. see hardware profiles in windows help, it will have details on how to do this.
0
Response Number 2
Name: Theo Date: December 15, 2002 at 08:20:01 Pacific
Reply:
Hello Laurence,
Use Auto-IT for this !
Auto-It is a freeware application to automate tasks in W2K /XP i am a memeber of the Auto-It list and am pretty sure Auto-It can do this mail me if you like this solution and i will try to help you further (Auto-It is freeware)
Summary: Hi : I need to have an aplication runing all the time. Users shouldn't be able to use the computer for no purpose other than this aplication. The integrity of the system must be granted. I need to d...
Summary: Ipconfig only controlls the DHCP hadling of an interface and not the actual interface, hence ipconfig can't disable and enable the interface. Using the Network control panel from the startmenu it's po...
Summary: I am looking for a way to enable and disable network cards with a script program. Using the Windows command "netsh.exe" I can change the network settings on a laptop from a fixed IP to DHCP (see http...