+ Post New Thread
Results 1 to 7 of 7
Scripts Thread, Unable to map DFS drive in Coding and Web Development; Using the VB script from the Wiki: Mapping Network Drives - Wiki I am unable to map to a folder ...
  1. #1

    Join Date
    Jun 2008
    Posts
    740
    Thank Post
    120
    Thanked 68 Times in 56 Posts
    Rep Power
    32

    Unable to map DFS drive

    Using the VB script from the Wiki: Mapping Network Drives - Wiki

    I am unable to map to a folder that's been created under a namespace that is targetting to a specific folder located elsewhere on another server. I am, however, able to map using this command:

    NET USE N: \\schoolname.internal\communication$

    BUt it is intermittent.

    I have checked permissions and all is fine, but I'm unable to map to a DFSRoot using VBscipt. Does anyone know why and how I can fix it?

  2. #2

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,777
    Thank Post
    960
    Thanked 1,378 Times in 842 Posts
    Blog Entries
    1
    Rep Power
    456
    Do you have multiple namespace servers? I have seen issues with mapping with 2 providers before.

  3. #3

    Join Date
    Jun 2008
    Posts
    740
    Thank Post
    120
    Thanked 68 Times in 56 Posts
    Rep Power
    32
    Yep, I do indeed have 2 namespace servers.

    Manually mapping the drive is not a problem, but using vbscript is. What was your workaround?

  4. #4

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,777
    Thank Post
    960
    Thanked 1,378 Times in 842 Posts
    Blog Entries
    1
    Rep Power
    456
    Quote Originally Posted by Chuckster View Post
    Yep, I do indeed have 2 namespace servers.

    Manually mapping the drive is not a problem, but using vbscript is. What was your workaround?
    I never found a solution tbh, I just disabled a namespace server to see if that resolved it. Try disabling one and see if everything works then.

  5. #5

    Join Date
    Jun 2008
    Posts
    740
    Thank Post
    120
    Thanked 68 Times in 56 Posts
    Rep Power
    32
    I've disabled one namespace server to no avail.

    How do you map your DFS?

  6. #6

    ZeroHour's Avatar
    Join Date
    Dec 2005
    Location
    Edinburgh, Scotland
    Posts
    5,777
    Thank Post
    960
    Thanked 1,378 Times in 842 Posts
    Blog Entries
    1
    Rep Power
    456
    GPP was what we used for mappings, its simpler then scripts with easy to diagnose event log entries.

  7. Thanks to ZeroHour from:

    Chuckster (5th September 2011)

  8. #7

    Join Date
    Jun 2008
    Posts
    740
    Thank Post
    120
    Thanked 68 Times in 56 Posts
    Rep Power
    32
    I was just about to make an update and state that GPP solved my problem!

    I personally prefer using scripts (old habits die hard) but I guess I should start embracing GPP more often.



SHARE:
+ Post New Thread

Similar Threads

  1. How to Map a Shared Drive based on the users OU??
    By soveryapt in forum Windows Server 2000/2003
    Replies: 1
    Last Post: 29th April 2010, 02:00 PM
  2. Batch file to map network drive
    By googlemad in forum Windows
    Replies: 4
    Last Post: 22nd October 2009, 03:07 PM
  3. Script to map drive by OU
    By cookie_monster in forum Scripts
    Replies: 1
    Last Post: 12th October 2009, 10:02 PM
  4. Unable to access Shared CD Drive
    By Biker in forum Wireless Networks
    Replies: 0
    Last Post: 20th September 2009, 02:57 PM
  5. Network Drive Unable to Connect
    By karldenton in forum Windows
    Replies: 13
    Last Post: 3rd June 2009, 05:17 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
  •