+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 25 of 25
Windows Thread, Map network drives on wireless network in Technical; On the wireless connection's properties, under the 'Wireless Networks' tab, check the 'Use Windows to configure my wireless network settings' ...
  1. #16
    OverWorked's Avatar
    Join Date
    Jul 2005
    Location
    N. Yorks
    Posts
    1,031
    Thank Post
    202
    Thanked 42 Times in 34 Posts
    Rep Power
    31

    Re: Map network drives on wireless network

    On the wireless connection's properties, under the 'Wireless Networks' tab, check the 'Use Windows to configure my wireless network settings'

    If it's not visible, then the vendor's utility is managing the connection, and you'll have to look there to disable it first, to allow windows to configure the wireless connection.

    If you're on a domain, this is essential, as the machine has to log on to the domain when it boots up, otherwise domain users won't be able to log on.

  2. #17

    Dos_Box's Avatar
    Join Date
    Jun 2005
    Location
    Preston, Lancashire
    Posts
    9,436
    Thank Post
    701
    Thanked 2,302 Times in 1,063 Posts
    Blog Entries
    23
    Rep Power
    678

    Re: Map network drives on wireless network

    Just to add my tuppence worth. We have found many instances of the Windows Zero Configuration Service actually providing a worse connection rate and causing random disconnects as opposed to the manufacturers own drivers and management software. Intel 2200BG wireless chipsets and Buffalo basestations are a good example of this. If you use the native Windows management yoiu have many connection problems. If you use Intels own management software there are no problems whatsoever. Strange.

  3. #18

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,850
    Thank Post
    110
    Thanked 598 Times in 514 Posts
    Blog Entries
    1
    Rep Power
    227

    Re: Map network drives on wireless network

    Do your access points all have the same SSID Dox Box?

  4. #19

    Join Date
    Nov 2005
    Posts
    43
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Map network drives on wireless network

    Some network cards do not initialise until the log on screen appears, this messes startup scripts up, but wont affect logon scripts, i even have this at one school on winXP sp2, not even wireless cards.

    Mark, surely your map network drive is in the logon script?

    Anyway, you can simply try:

    On Error Resume Next

    Dim NetDrives
    Dim i

    Set NetDrives = WSHNetwork.EnumNetworkDrives

    If NetDrives.Count <> 0 Then
    For i = 0 To NetDrives.Count - 1
    WSHNetwork.RemoveNetworkDrive NetDrives(i)
    Next
    End If


    That should remove your network drives. You could even check for just the P: drive and remove that only.

    if not then try :


    CreateObject("WScript.Shell").Run "net.exe use P:" & " /delete", 0, True
    WScript.Sleep 250

    This will delete the mapping first


    jon

  5. #20

    Join Date
    Jul 2005
    Location
    Derby
    Posts
    118
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    27

    Re: Map network drives on wireless network

    or you could use:

    net use p: /d
    net use p: \\server\share

    in a .bat or .cmd file

    much more concise!

    -Kev

  6. #21
    DMcCoy's Avatar
    Join Date
    Oct 2005
    Location
    Isle of Wight
    Posts
    3,505
    Thank Post
    10
    Thanked 508 Times in 445 Posts
    Rep Power
    116

    Re: Map network drives on wireless network

    Quote Originally Posted by Geoff
    The Windows Zero Configuration Service. You also need a W2k3 server with the appropriate WiFi GPO setup.
    You don't actually need to use zero config, I only have a handful of wireless machines so it was easier to sort out all the settings on XP.

    As far as I know all you need is for the gpo set to make windows wait for the network to start up before logon and set up the wireless card with the windows wireless settings. This is all I have done and they work

  7. #22

    Join Date
    Aug 2005
    Location
    Birmingham, UK
    Posts
    490
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Map network drives on wireless network

    Quote Originally Posted by Dos_Box
    Just to add my tuppence worth. We have found many instances of the Windows Zero Configuration Service actually providing a worse connection rate and causing random disconnects as opposed to the manufacturers own drivers and management software. Intel 2200BG wireless chipsets and Buffalo basestations are a good example of this. If you use the native Windows management yoiu have many connection problems. If you use Intels own management software there are no problems whatsoever. Strange.
    Interesting comment there Dos_Box, my old work collegue has problems with his home wifi network (3com tho) and a 2200bg card, ill drop him a line.

  8. #23

    Join Date
    Aug 2007
    Location
    Birmingham
    Posts
    1
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Map network drives on wireless network

    Hi everyone, i'm a bit of a newbie and i will offer advice where i can but i have a problem, i might be missing something stupid and obvious but here goes!

    I have a standalone laptop, it logs on locally, but i want to map a hard drive that is connected to my wireless router (wired). I can map it when the laptop is physically connected to the router but i want to be able to map it when the laptop is wireless. Could someone please help its driving me crazy!

    I have a belkin 54g router
    hp dv 6000 laptop
    and a network storage lan disk from maplins

    Thank you in advance for your time.

    nick.steve

  9. #24
    link470's Avatar
    Join Date
    Nov 2007
    Location
    Canada
    Posts
    252
    Thank Post
    86
    Thanked 8 Times in 6 Posts
    Rep Power
    16

    Re: Map network drives on wireless network

    All I did was install the drivers for the wireless network cards that were either in the wireless laptops, or a few wireless desktops which aren't near a wall and don't have a drop down cable line. I didn't install the utility cause I find making Windows manage the connections is easier and one less thing running in your system tray to tinker with and in RAM.

    Then what I did was just connected to the wireless network and entered any key if neccessary. I then clicked the favorites star type icon next to the option to manage the different wireless connections along the side [this is all under the window to view wireless networks, the one you want should now show as connected], and set it as an automatic network. Click ok, and you're done. Make sure you're logged in as the local administrator of that machine.

    I haven't had a single problem since.

  10. #25

    maniac's Avatar
    Join Date
    Feb 2007
    Location
    Kent
    Posts
    3,087
    Thank Post
    210
    Thanked 432 Times in 312 Posts
    Rep Power
    145

    Re: Map network drives on wireless network

    Try this VBS script.

    It features a delay at the start to check the user is properly logged on, and will map drives according to group memberships in AD. Been using it on our network for over a year now with no problems. I can't take credit for it, I found it on a messageboard somewhere ages ago.

    Code:
    Option Explicit ' Force explicit declarations
    Dim WSHNetwork
    Dim FSO
    Dim strUserName ' Current user
    Dim strUserDomain ' Current User's domain name
    Dim ObjGroupDict ' Dictionary of groups to which the user belongs
    
    Set WSHNetwork = WScript.CreateObject("WScript.Network")
    Set FSO = CreateObject("Scripting.FileSystemObject")
    '
    ' Wait until the user is really logged in...
    '
    strUserName = ""
    While strUserName = ""
    WScript.Sleep 100 ' 1/10 th of a second
    strUserName = WSHNetwork.UserName
    Wend
    
    strUserDomain = WSHNetwork.UserDomain
    Set ObjGroupDict = CreateMemberOfObject(strUserDomain, strUserName)
    
    If MemberOf(ObjGroupDict, "All Students") Then
    call map("P:", "\\SERVER\share")
    end if
    
    If MemberOf(ObjGroupDict, "All Staff") Then
    call map("O:", "\\server\share")
    End If
    
    Function MemberOf(ObjDict, strKey)
    MemberOf = CBool(ObjGroupDict.Exists(strKey))
    End Function
    
    Function CreateMemberOfObject(strDomain, strUserName)
    Dim objUser, objGroup
    Set CreateMemberOfObject = CreateObject("Scripting.Dictionary")
    CreateMemberOfObject.CompareMode = vbTextCompare
    Set objUser = GetObject("WinNT://" _
    & strDomain & "/" _
    & strUserName & ",user")
    For Each objGroup In objUser.Groups
    CreateMemberOfObject.Add objGroup.Name, "-"
    Next
    Set objUser = Nothing
    End Function
    
    sub map( drive, share )
    on error resume next
    WSHNetwork.removenetworkdrive drive, true
    WSHNetwork.mapnetworkdrive drive, share
    end sub
    If you don't want to use the advanced features of reading the group memberships, you can remove those bits, just retaining the drive mapping and delay at the start.

    Mike.



SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Hide mapped network drives
    By timbo343 in forum Windows
    Replies: 11
    Last Post: 2nd April 2012, 10:06 AM
  2. Replies: 5
    Last Post: 26th November 2007, 07:40 PM
  3. Map network drives
    By netadmin in forum Scripts
    Replies: 17
    Last Post: 5th April 2007, 04:18 PM
  4. Mapping Network Drives ?
    By mac_shinobi in forum Scripts
    Replies: 9
    Last Post: 8th March 2007, 04:49 PM
  5. Map network drives
    By timbo343 in forum Scripts
    Replies: 7
    Last Post: 1st March 2007, 07:46 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •