Sign in to follow this  
Followers 0
konan

How to Disconnect and Connect the network?

8 posts in this topic

How to Disconnect and Connect the network?

Share this post


Link to post
Share on other sites



well, what operating system?

you could just make a script that goes to the control panel.. for most windows opsys

and using the windowspy... point and click your way to success

meaning, have the script disable it in the same fashion that you would normally do when you do it manually.


Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you.

Share this post


Link to post
Share on other sites

Thank you very much. Can you show me an example how to do that?

Share this post


Link to post
Share on other sites

I haven't tested this, but I think you'll need the device hardwareID. This can be found under the device properties.

$cmd = "devcon disable hardwareID"
RunWait(@ComSpec & " /c " & $cmd, "C:\" , @SW_HIDE)

obviously, you'll need to FileInstall() the devcon executable.

Share this post


Link to post
Share on other sites

I have know "Disable hardwareid"

but i can't get my network id by using "devcon find *intel*"

my network card is "intel pro/100ve"

please show me how to find network id!

thank you very much!

Share this post


Link to post
Share on other sites

You have to go to device manager using control panel - then select the properties of the device. Then under the details tab choose the hardware ID from the combobox. On my adapter their are 4 entries, I used the command

devcon disable *02081014

and it worked fine, (this was the last number of the longest string)

Share this post


Link to post
Share on other sites

Thank you for your help. I have resolve it successfully.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0