Re: Share mapping issue



try replacing computer names with IP addresses IE:

wshNet.MapNetworkDrive "f:","\\192.168.1.10\share\"

You may be having an issue with DNS... so I would also throw a ping to the
server by server name and see if you get a response...

Hope that helps...

Fly wrote:
>Hello,
>
>I have a custom made vbs script which works fine in a test
>environment. Once moved into production it does not work, it give
>error 67.
>
>The server is win 2003 std dc. The os is win xp.
>
>If I make a batch file it also give the same issue for mapping drives
>to a share. I also mapped the drives via my computer and all works
>with out any problems.
>
>I have also pinged the sever by IP address and via the name and all
>works fine. I alos did a net view of the server and that works fine.
>
>What am I over looking and why can I not map a drive via a batch file
>or vb script.
>
>Thanks, P

--
Message posted via WinServerKB.com
http://www.winserverkb.com/Uwe/Forums.aspx/windows-server-scripting/200511/1
.



Relevant Pages

  • Re: Mapping a drive automatically
    ... The login script is just a batch file sitting on the server I have ... drives not being availabe for the file transfers. ... I've scheduled a task to execute that batch file on system startup. ... I check the Scheduler log and it ...
    (microsoft.public.windows.server.general)
  • Re: Mapping a drive automatically
    ... the server gets rebooted but no one logs into it. ... I've scheduled a task to execute that batch file on system startup. ... Once I reboot the server the drives never map. ... Scheduler log and it shows an exit status of 2. ...
    (microsoft.public.windows.server.general)
  • Re: Mapping a drive automatically
    ... The login script is just a batch file sitting on the server I have scheduled ... I need these drives mapped all the time ... I check the Scheduler log and it shows ...
    (microsoft.public.windows.server.general)
  • Re: Mapping a drive automatically
    ... I also would like the drives to map if the server ... I reboot the server the drives never map. ... I check the Scheduler log ... The batch file will process and map the drives if I use other options ...
    (microsoft.public.windows.server.general)
  • Share mapping issue
    ... I have a custom made vbs script which works fine in a test ... If I make a batch file it also give the same issue for mapping drives ... I alos did a net view of the server and that works fine. ...
    (microsoft.public.windows.server.scripting)