![]() |
|
Welcome to Vista Banter. You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact support. |
|
|||||||
| Hardware and Windows Vista Hardware issues in relation to Windows Vista. (microsoft.public.windows.vista.hardware_devices) |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi
I need to script the disabling of some devices in Vista but neither the 32bit nor 64bit version of devcon.exe downloadable from the site will work with vista. Anyone know of one that does work in vista, or any other CLI utility that can disable and enable devices? Cheers |
|
|||
|
Mark Barnes (Jao) wrote:
Hi I need to script the disabling of some devices in Vista but neither the 32bit nor 64bit version of devcon.exe downloadable from the site will work with vista. What exactly happens when it does not work? Anyone know of one that does work in vista, or any other CLI utility that can disable and enable devices? Remember that devcon needs admin privileges, so under Vista it must be run "As Administrator". Uwe |
|
|||
|
"Uwe Sieber" wrote: What exactly happens when it does not work? I get a dialog box that says:- "The version of this file is not compatible with the version of windows you're running. Check your computers's system information to see whether you need an x86 (32-bit) or x64 (64-bit) version of the program and then contact the software publisher. [OK]" I downloaded the devcon.exe files from he- http://support.microsoft.com/kb/311272 |
|
|||
|
Mark Barnes (Jao) wrote:
"Uwe Sieber" wrote: What exactly happens when it does not work? I get a dialog box that says:- "The version of this file is not compatible with the version of windows you're running. Check your computers's system information to see whether you need an x86 (32-bit) or x64 (64-bit) version of the program and then contact the software publisher. [OK]" I downloaded the devcon.exe files from he- http://support.microsoft.com/kb/311272 The error message is generated by the IA64 version of devcon which is found in the ia64 folder when started on a x86 or AMD64 platform. Check if you are really starting the devcon.exe from the i386 folder. Uwe |
|
|||
|
Will check, In the meantime I have a screenshot of my system, which version do you think I should be using? www.gamesnite.co.uk/system.jpg Cheers J |
|
|||
|
Ok, cheers for that.
The follow question then is instead of using devcon.exe I am now trying to use netsh to disable the network card instead. I'm using the command:- netsh interface set interface "local area connection" disabled To try and do this, but am met with a:- An interface with this name is not registered with the router. Message. I go into network properties and see "Local Area Connection" sitting there. Anyone got any ideas? |
|
|||
|
"Mark Barnes (Jao)" wrote in
message ... Ok, cheers for that. The follow question then is instead of using devcon.exe I am now trying to use netsh to disable the network card instead. I'm using the command:- netsh interface set interface "local area connection" disabled To try and do this, but am met with a:- An interface with this name is not registered with the router. Message. I go into network properties and see "Local Area Connection" sitting there. Anyone got any ideas? LAN interfaces can't be disabled like this. Please ask in microsoft.public.windows.vista.networking_sharing hopefully there you'll get a better explanation. --PA |
|
|||
|
"Mark Barnes (Jao)" wrote in
message ... Ok, cheers for that. The follow question then is instead of using devcon.exe I am now trying to use netsh to disable the network card instead. I'm using the command:- netsh interface set interface "local area connection" disabled To try and do this, but am met with a:- An interface with this name is not registered with the router. Message. I go into network properties and see "Local Area Connection" sitting there. Anyone got any ideas? LAN interfaces can't be disabled like this. Please ask in microsoft.public.windows.vista.networking_sharing hopefully there you'll get a better explanation. --PA |
|
|||
|
Pavel A.;776756 Wrote: "Mark Barnes (Jao)" wrote in message ... Ok, cheers for that. The follow question then is instead of using devcon.exe I am now trying to use netsh to disable the network card instead. I'm using the command:- netsh interface set interface "local area connection" disabled To try and do this, but am met with a:- An interface with this name is not registered with the router. Message. I go into network properties and see "Local Area Connection" sitting there. Anyone got any ideas? LAN interfaces can't be disabled like this. Please ask in microsoft.public.windows.vista.networking_sharing hopefully there you'll get a better explanation. --PA I know my post is fairly late, but you can disable interfaces like this. The above command with proper syntax is as follows: netsh interface set interface name="Local Area Connection" admin=DISABLED Some of the other commands will allow an abbreviated name, or possibly accept a *, but I don't think this one will, and you must use quotes if there is spaces in the interface name. -- omega3246 Posted via http://www.vistaheads.com |
|
|||
|
omega3246;4128754 Wrote: Pavel A.;776756 Wrote: "Mark Barnes (Jao)" wrote in message ... Ok, cheers for that. The follow question then is instead of using devcon.exe I am now trying to use netsh to disable the network card instead. I'm using the command:- netsh interface set interface "local area connection" disabled To try and do this, but am met with a:- An interface with this name is not registered with the router. Message. I go into network properties and see "Local Area Connection" sitting there. Anyone got any ideas? LAN interfaces can't be disabled like this. Please ask in microsoft.public.windows.vista.networking_sharing hopefully there you'll get a better explanation. --PA I know my post is fairly late, but you can disable interfaces like this. The above command with proper syntax is as follows: netsh interface set interface name="Local Area Connection" admin=DISABLED Some of the other commands will allow an abbreviated name, or possibly accept a *, but I don't think this one will, and you must use quotes if there is spaces in the interface name. -- omega3246 Posted via http://www.vistaheads.com You can use the devcon.exe to distable netcard ,but first thing is get the netcard instance ID -- ifish ------------------------------------------------------------------------ ifish's Profile: http://forums.techarena.in/members/ifish.htm View this thread: http://forums.techarena.in/vista-har...ces/945024.htm http://forums.techarena.in |