Mark Minasi's Reader Forum
Mark Minasi's Reader Forum
Home | Profile | Register | Active Topics | Active Polls | Members | Search | FAQ | Minasi Forum RSS Feed
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 HALP! Questions on Windows and Windows Server
 Windows 7 Desktop
 avoiding wireless and wired nics on same workstati
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Pesos
Honorable But Hopeless Addict

USA
3504 Posts
Status: offline

Posted - 03/07/2012 :  12:23:31 PM  Show Profile  Reply with Quote
hi guys, no matter how much education we provide, some users still leave their wireless connected while wired in at their desks, causing issues here and there with citrix and lync among other apps. how do you guys handle this behavior?

-Wes

Edited by - Pesos on 03/08/2012 1:07:47 PM

Rastor728
Old Timer

USA
736 Posts
Status: offline

Posted - 03/07/2012 :  12:44:51 PM  Show Profile  Reply with Quote
Windows 7 doesn't allow both connectors to be active at the same time (by default anyway), and I have upgraded all my laptop users to Windows 7.

I don't have Citrix or Lync so I haven't noticed the problems when I did have XP laptops.

What would Clark Kent do to someone who stole his identity?

Edited by - Rastor728 on 03/07/2012 1:06:58 PM
Go to Top of Page

Pesos
Honorable But Hopeless Addict

USA
3504 Posts
Status: offline

Posted - 03/07/2012 :  12:48:54 PM  Show Profile  Reply with Quote
Yes these are all win7 boxes, and both nics are active and pingable. of course, only one actually is the default route and that tends to be the wireless one for whatever reason...

-Wes
Go to Top of Page

mm_0_mm
Old Timer

USA
561 Posts
Status: offline

Posted - 03/08/2012 :  12:42:08 PM  Show Profile  Reply with Quote
there is a setting on some wireless nic drivers to "disable upon wired connect" and some laptops have that setting in the bios...just depends on your hardware.
Go to Top of Page

MrEclipseguy
Honorable But Hopeless Addict

USA
1482 Posts
Status: offline

Posted - 03/08/2012 :  1:05:57 PM  Show Profile  Reply with Quote
http://www.wirelessautoswitch.com/ We use this. Works awesome.

Mike

Blah, Blah, Blah!!!
Go to Top of Page

Pesos
Honorable But Hopeless Addict

USA
3504 Posts
Status: offline

Posted - 03/08/2012 :  1:07:16 PM  Show Profile  Reply with Quote
The Disable Upon Wired Connect is perfect - thank you! Trying to avoid 3rd party software solutions, at least at first.

thanks!
Wes

-Wes
Go to Top of Page

Rastor728
Old Timer

USA
736 Posts
Status: offline

Posted - 03/08/2012 :  8:05:45 PM  Show Profile  Reply with Quote
Two items I have found about this:

1. Change the binding order on your Network Adaptors, listing the desired unit as a higher priority
2. Don't set up your wireless adapter to automatically connect when network available, make it a manual process.

If you do both, you "should" make the higher priority connector cause a disconnect on the other.

Of course the best method is to train the end user on how to properly connect, and tell them the consequences if they fail to follow instructions.

Continuous end user training is necessary just as it is necessary for each of us to continually train on new ideas and concepts.

What would Clark Kent do to someone who stole his identity?

Edited by - Rastor728 on 03/08/2012 8:07:12 PM
Go to Top of Page

Pesos
Honorable But Hopeless Addict

USA
3504 Posts
Status: offline

Posted - 03/08/2012 :  8:12:22 PM  Show Profile  Reply with Quote
We've tried training, and that works great for most people. There are a couple of "special" people at this office. You can lead them to information, but you cannot make them think.

-Wes
Go to Top of Page

Pesos
Honorable But Hopeless Addict

USA
3504 Posts
Status: offline

Posted - 03/08/2012 :  8:13:07 PM  Show Profile  Reply with Quote
If we were on staff, creating consequences would be easier :-) Not so easy to do as a consultant!

-Wes
Go to Top of Page

don2007
Honorable But Hopeless Addict

1970 Posts
Status: offline

Posted - 03/10/2012 :  09:04:40 AM  Show Profile  Reply with Quote
The problem is that you have to depend on the user settings to solve the problem. I wonder if there is a powershell script that can read that double connection & either notify the admin & send a warning to the user. I'll try to search for that later.

Dyslexic people untie.
Go to Top of Page

ByDesign
Seasoned But Casual Onlooker

United Kingdom
77 Posts
Status: offline

Posted - 03/30/2012 :  08:26:51 AM  Show Profile  Click to see ByDesign's MSN Messenger address  Reply with Quote
Not used it myself but have a script that detects when on a wired network and disabled wireless and visa versa:

'*********************************************
'* This Watches one network card *
'* for connectivity, and toggles another *
'* *
'*********************************************

Sub EnableAdapter( sAdapterName, bStatus )
Dim objWMIService, colItems
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_NetworkAdapter",,48)
For Each objItem in colItems
if (UCase(Trim(objItem.NetConnectionID))=UCase(Trim(sAdapterName))) then
if (bStatus) then
objItem.Enable
else
objItem.Disable
end if
end if
Next
End Sub

Function AdapterStatus( sAdapterName )
Dim objWMIService, colItems
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_NetworkAdapter",,48)

AdapterStatus = false
For Each objItem in colItems
if (UCase(Trim(objItem.NetConnectionID))=UCase(Trim(sAdapterName))) then
AdapterStatus = (objItem.NetConnectionStatus=2)
end if
Next
End Function

Function AdapterExists( sAdapterName )
Dim objWMIService, colItems
Set objWMIService = GetObject("winmgmts:\\.\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_NetworkAdapter",,48)

AdapterExists = false
For Each objItem in colItems
if (UCase(Trim(objItem.NetConnectionID))=UCase(Trim(sAdapterName))) then
AdapterExists = True
end if
Next
End Function


Dim bCurrentStatus
Dim bChanged
Dim sWatchNetworkCard
Dim sSwitchNetworkCard

if (WScript.Arguments.Count<2) then
WScript.Echo "*********************************"
WScript.Echo "* Net Switcher *"
WScript.Echo "* *"
WScript.Echo "*********************************"
WScript.Echo vbCrLf & "Usage: " & vbCRLF
WScript.Echo " NetSwitch.vbs <Card To Watch> <Card To Switch>"
WScript.Echo vbCrLF & "Explanation: " & vbCRLF
WScript.Echo " Net Switcher can be used to make sure your"
WScript.Echo " wireless card is only enabled when no "
WScript.Echo " ethernet connection is available"
WScript.Echo vbCrLF & "Example: " & vbCRLF
WScript.Echo " NetSwitch.vbs " & chr(34) & "Local Area Connection" & chr(34) & " " & _
chr(34) & "Wireless Connection" & Chr(34)
WScript.Quit

end if

sWatchNetworkCard = WScript.Arguments(0)
sSwitchNetworkCard = WScript.Arguments(1)

if (Not(AdapterExists(sWatchNetworkCard))) then
WScript.Echo "Error: Could not find the adapter (" & sWatchNetworkCard & ")"
WScript.Quit
end if

if (Not(AdapterExists(sSwitchNetworkCard))) then
WScript.Echo "Error: Could not find the adapter (" & sSwitchNetworkCard & ")"
WScript.Quit
end if

bChanged=TRUE

while(True)
if (bChanged) then
bChanged=FALSE
bCurrentStatus = AdapterStatus(sWatchNetworkCard)
if (bCurrentStatus) then
EnableAdapter sSwitchNetworkCard,False
else
EnableAdapter sSwitchNetworkCard,True
end if
end if
WScript.Sleep(1000)
if (bCurrentStatus<>AdapterStatus(sWatchNetworkCard)) then
bChanged=TRUE
end if
wend

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Mark Minasi's Reader Forum © 2002-2011 Mark Minasi Go To Top Of Page
This page was generated in 0.17 seconds. Snitz Forums 2000