Networking Forums

Networking Forums > Wireless Networking > Wireless Internet > Disabling Wireless Connection On Shutdown

Reply
Thread Tools Display Modes

Disabling Wireless Connection On Shutdown

 
 
hammaer@hotmail.com
Guest
Posts: n/a

 
      01-09-2005, 08:09 PM
I am using WIndows XP and I have a Wireless LAN network. I do not
intend to connect to internet, everytime I login. I was suggested
before to disable the wireless connection to disconnect from the
network. However, sometimes I forgot to disable the wireless connection
manually before I reboot/shutdown, and in the next login, my computer
is still connected.

I did some search. I found that it was suggested to use a script under
computer policy during shutdown, something like:
net stop "Network Connections"

However, this script does not stop the Network Connection to start
during login. In addition, even if I disable Network Connections
service, my wireless lan connection is still active. The only way I
could stop the wireless connection to function is to disable DHCP
service. But, then I do not know how to turn the service on with a
script or command line. I need to go to services.msc and manually start
the DHCP service.

In brief, is there a script or task that I could use to disable the
wireless network connection before reboot/shutdown?

Thanks.

 
Reply With Quote
 
 
 
 
Doug Jamal
Guest
Posts: n/a

 
      01-09-2005, 09:22 PM
On 9 Jan 2005 13:09:23 -0800, (E-Mail Removed) wrote:

>I am using WIndows XP and I have a Wireless LAN network. I do not
>intend to connect to internet, everytime I login. I was suggested
>before to disable the wireless connection to disconnect from the
>network . However, sometimes I forgot to disable the wireless connection
>manually before I reboot/shutdown, and in the next login, my computer
>is still connected.
>
>I did some search. I found that it was suggested to use a script under
>computer policy during shutdown, something like:
>net stop "Network Connections"
>
>However, this script does not stop the Network Connection to start
>during login. In addition, even if I disable Network Connections
>service, my wireless lan connection is still active. The only way I
>could stop the wireless connection to function is to disable DHCP
>service. But, then I do not know how to turn the service on with a
>script or command line. I need to go to services.msc and manually start
>the DHCP service.
>
>In brief, is there a script or task that I could use to disable the
>wireless network connection before reboot/shutdown?
>
>Thanks.

I'm not sure if I quite follow you, but here goes: Yes, with the
Windows Wireless Zero oOnfiguration Utility, you can disconnect from
the wireless network at the click of the button titled, "DISCONNECT".
Even if you, as you put it, "forget to disable the wireless connection
manually before you rebbot/shutdown", it doesn't matter because your
computer is automatically disconnected from the network when you
shudown. As for disabling DHCP, why? It is my assumption that you
are using a wireless router or a wireless Access Point. Depending on
the the features of your wireless router /AP, you should be able to
restrict specific computers from accessing the network at specific
times. This may be the route you're looking for and would negate your
need to manually disable from your wireless network. Anyway, it is
just a thought. Take care.
 
Reply With Quote
 
Airhead
Guest
Posts: n/a

 
      01-09-2005, 10:42 PM

"Doug Jamal" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On 9 Jan 2005 13:09:23 -0800, (E-Mail Removed) wrote:
>
> >I am using WIndows XP and I have a Wireless LAN network. I do not
> >intend to connect to internet, everytime I login. I was suggested
> >before to disable the wireless connection to disconnect from the
> >network . However, sometimes I forgot to disable the wireless

connection
> >manually before I reboot/shutdown, and in the next login, my

computer
> >is still connected.
> >
> >I did some search. I found that it was suggested to use a script

under
> >computer policy during shutdown, something like:
> >net stop "Network Connections"
> >
> >However, this script does not stop the Network Connection to start
> >during login. In addition, even if I disable Network Connections
> >service, my wireless lan connection is still active. The only way I
> >could stop the wireless connection to function is to disable DHCP
> >service. But, then I do not know how to turn the service on with a
> >script or command line. I need to go to services.msc and manually

start
> >the DHCP service.
> >
> >In brief, is there a script or task that I could use to disable the
> >wireless network connection before reboot/shutdown?
> >
> >Thanks.

> I'm not sure if I quite follow you, but here goes: Yes, with the
> Windows Wireless Zero oOnfiguration Utility, you can disconnect from
> the wireless network at the click of the button titled,

"DISCONNECT".
> Even if you, as you put it, "forget to disable the wireless

connection
> manually before you rebbot/shutdown", it doesn't matter because your
> computer is automatically disconnected from the network when you
> shudown. As for disabling DHCP, why? It is my assumption that

you
> are using a wireless router or a wireless Access Point. Depending

on
> the the features of your wireless router /AP, you should be able to
> restrict specific computers from accessing the network at specific
> times. This may be the route you're looking for and would negate

your
> need to manually disable from your wireless network. Anyway, it is
> just a thought. Take care.


Under preferred networks, highlight the SSID and click properties.
click the connection tab, there is a checkbox there that says
"Connect when this network is in range". This might work,
these directions are XP SP2 though.

 
Reply With Quote
 
John R Weiss
Guest
Posts: n/a

 
      01-09-2005, 11:45 PM
<(E-Mail Removed)> wrote...
>
> In brief, is there a script or task that I could use to disable the
> wireless network connection before reboot/shutdown?


Disable the wireless function of the router in the router setup screen.


 
Reply With Quote
 
hammaer@hotmail.com
Guest
Posts: n/a

 
      01-12-2005, 04:22 PM
Thank you for your replies.

I forgot to mention I am using SP1. SP2 caused too many problems.

I do not use Wireless Zero Configuration. It keeps disconnecting.
Even if I did, I do not see any "Disconnect" on the WZC. I only
have the Disable option on the Wireless Network Connection.

I do not see the "Connect when this network is in range", on the
Wireless Zero Configuration.

Could not I have a script call to netshell to disable the network?

I just want to automatically disable the network card during shutdown.

 
Reply With Quote
 
dold@XReXXDisab.usenet.us.com
Guest
Posts: n/a

 
      01-12-2005, 08:27 PM
Doug Jamal <(E-Mail Removed)> wrote:
> On 9 Jan 2005 13:09:23 -0800, (E-Mail Removed) wrote:
>>In brief, is there a script or task that I could use to disable the
>>wireless network connection before reboot/shutdown?


You can disable the card with a tool downloaded from Microsoft.
<http://support.microsoft.com/default.aspx?scid=kb;en-us;311272>

First, you need to find the device you want to send commands to:
devcon find * > all_devices.txt
Then you can set up a batch file to look at the status or disable
devcon status "PCI\VEN_10B7&DEV_6055*"
devcon disable "PCI\VEN_10B7&DEV_6055*"
Change the "PCI\..." to your device.


The real trick would be to get it to run at shutdown time.
Supposedly, you can put programs into a "shutdown" folder, just like the
startup folder, but that doesn't work for me.
You could put it in the startup folder, or maybe the autoexec.bat.

Then you'd want another bat file to enable it when you wanted to use it.

---
Clarence A Dold - Hidden Valley (Lake County) CA USA 38.8-122.5



 
Reply With Quote
 
Mark McIntyre
Guest
Posts: n/a

 
      01-12-2005, 10:02 PM
On 12 Jan 2005 09:22:04 -0800, in alt.internet.wireless ,
(E-Mail Removed) wrote:

>Thank you for your replies.
>
>I forgot to mention I am using SP1. SP2 caused too many problems.


I strongly recommend that you upgrade to SP2 and work through the problems.
Your PC is extremely vulnerable without the security patches.

>I do not use Wireless Zero Configuration. It keeps disconnecting.


Power saving mode on the network card? Common cause of this problem.

>Even if I did, I do not see any "Disconnect" on the WZC. I only
>have the Disable option on the Wireless Network Connection.


You get improvements to WZC with SP2. They make it usable.

>I do not see the "Connect when this network is in range", on the
>Wireless Zero Configuration.


ditto.

>Could not I have a script call to netshell to disable the network?


You might be able to net stop the service.

>I just want to automatically disable the network card during shutdown.


It all seems a bit pointless tho. Simply pull the card out before booting,
and you'll achieve the same effect.

--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
Mark McIntyre
Guest
Posts: n/a

 
      01-12-2005, 10:05 PM
On Wed, 12 Jan 2005 21:27:39 +0000 (UTC), in alt.internet.wireless ,
(E-Mail Removed) wrote:

>The real trick would be to get it to run at shutdown time.


With 2K and XP, you can create a user and machine logon and logoff script.
You then tell windows to run these, using the group policy editor in
Administrative Tools.


--
Mark McIntyre
CLC FAQ <http://www.eskimo.com/~scs/C-faq/top.html>
CLC readme: <http://www.ungerhu.com/jxh/clc.welcome.txt>

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! 120,000+ Newsgroups
----= East and West-Coast Server Farms - Total Privacy via Encryption =----
 
Reply With Quote
 
hammaer@hotmail.com
Guest
Posts: n/a

 
      01-13-2005, 05:58 PM
Perfect. Devcon does what I intend to. I appreciated a lot.
I have been trying to figure this out for quite a while.

Yes, you can use gpedit.msc and create a script under shutdown.

I used "net stop netman", but network connection was still active.

I do not use the power saving mode on the network card. It has
continuous access. There are many reasons pointed for WZC
disfunctioning, I followed maybe 10 suggestions, yet could not fix it.

I wished I had an operating system that would be robust. I did not know
if I would ever be able to put my PC together for SP2. In addition,
Microsoft still issues security patches. With SP2, I still need to add
the patches.

Thanks a lot for your help.

I am guessing there should be a way to disable windows to enumerate
a particular device during login, too. That would work too and be
slightly faster.

 
Reply With Quote
 
dold@XReXXDisab.usenet.us.com
Guest
Posts: n/a

 
      01-13-2005, 06:46 PM
In alt.internet.wireless (E-Mail Removed) wrote:
> Perfect. Devcon does what I intend to. I appreciated a lot.
> I have been trying to figure this out for quite a while.


> Yes, you can use gpedit.msc and create a script under shutdown.


I don't know what's up with several different magazines talking about a
"shutdown" folder, but gpedit is good to know.

> I wished I had an operating system that would be robust. I did not know
> if I would ever be able to put my PC together for SP2. In addition,
> Microsoft still issues security patches. With SP2, I still need to add
> the patches.


I have installed SP2 on several machines, including my laptop with
wireless, and a couple of desktops with wireless. My son can't get it to
work on his desktop, which started out the same as one of mine. He thinks
it has something to do with having dual monitors once upon a time, although
he even removed the second video card, thinking he would put it back in
after SP2, but it just doesn't work for him. I'm not sure exactly what
happens. He described it, but I forget.

> I am guessing there should be a way to disable windows to enumerate
> a particular device during login, too. That would work too and be
> slightly faster.


Disabling the device, instead of removing it, causes Windows to not
rediscover it. I remember some stuff about not enumerating new serial
devices as a way to avoid discovering a GPS as a serial mouse.
<http://support.microsoft.com/default.aspx?scid=kb;en-us;283063>

--
---
Clarence A Dold - Hidden Valley (Lake County) CA USA 38.8-122.5

 
Reply With Quote
 
 
 
Reply

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Win98SE cannot shutdown because of network connection Roger R Windows Networking 0 05-19-2007 12:28 PM
ERROR DISABLING CONNECTION Jessica Wireless Networks 1 07-28-2006 11:53 AM
LAN connection causes shutdown Ron O'Brien Windows Networking 3 01-25-2006 12:34 PM
automatic disabling of wireless connection while connected to wired net: howto? Chu Wireless Internet 2 09-27-2005 12:54 AM
What is disabling my ethernet port at shutdown? Michael Knight Linux Networking 3 01-14-2004 05:27 PM



1 2 3 4 5 6 7 8 9 10 11