A Windows Vista forum. Vista Banter

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.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Hardware and Windows Vista
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Hardware and Windows Vista Hardware issues in relation to Windows Vista. (microsoft.public.windows.vista.hardware_devices)

Devcon.exe for vista?



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old April 5th 08, 02:07 PM posted to microsoft.public.windows.vista.hardware_devices
Mark Barnes (Jao)
external usenet poster
 
Posts: 7
Default Devcon.exe for vista?

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
  #2 (permalink)  
Old April 6th 08, 10:00 AM posted to microsoft.public.windows.vista.hardware_devices
Uwe Sieber
external usenet poster
 
Posts: 90
Default Devcon.exe for vista?

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




  #3 (permalink)  
Old April 7th 08, 09:07 AM posted to microsoft.public.windows.vista.hardware_devices
Mark Barnes (Jao)
external usenet poster
 
Posts: 7
Default Devcon.exe for vista?



"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
  #4 (permalink)  
Old April 7th 08, 10:23 AM posted to microsoft.public.windows.vista.hardware_devices
Uwe Sieber
external usenet poster
 
Posts: 90
Default Devcon.exe for vista?

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

  #5 (permalink)  
Old April 7th 08, 06:21 PM posted to microsoft.public.windows.vista.hardware_devices
Mark Barnes (Jao)
external usenet poster
 
Posts: 7
Default Devcon.exe for vista?


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
  #6 (permalink)  
Old April 8th 08, 09:46 AM posted to microsoft.public.windows.vista.hardware_devices
Mark Barnes (Jao)
external usenet poster
 
Posts: 7
Default Devcon.exe for vista?

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?


  #7 (permalink)  
Old April 8th 08, 10:13 PM posted to microsoft.public.windows.vista.hardware_devices
Pavel A.
external usenet poster
 
Posts: 111
Default Devcon.exe for vista?

"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


  #8 (permalink)  
Old April 8th 08, 10:13 PM posted to microsoft.public.windows.vista.hardware_devices
Pavel A.
external usenet poster
 
Posts: 111
Default Devcon.exe for vista?

"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


  #9 (permalink)  
Old December 14th 08, 02:17 PM posted to microsoft.public.windows.vista.hardware_devices
omega3246
external usenet poster
 
Posts: 1
Default Devcon.exe for vista?


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

  #10 (permalink)  
Old December 30th 08, 07:06 AM posted to microsoft.public.windows.vista.hardware_devices
ifish
external usenet poster
 
Posts: 1
Default Devcon.exe for vista?


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

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 11:08 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.