Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Mapping network share with script run by VPN client in Vista

Featured Replies

Hello.

I'm having problem mapping network share with Vista Business using script run by VPN client. There is no domain

in this setup, only file server (win 2003 std) in its own workgroup and few clients that connect to

servers file share over vpn tunnel. The clients use Zyxel's Zywall ipsec VPN client to open the tunnel and

it is configured to run a script that maps the share from server. The problem is that the script does not

work in Vista if run by the VPN client. The script is simple logon.cmd (net use x: \\server\share /user:server\user password).

Heres what I have tried:

-Adjust the ntlm level with secpol.msc

-Set more user rights to share

-Disabled UAC

-Disabled firewall

-Different kind of script (VBS)

-add 1. Added EnableLinkedConnections reg value ( http://support.microsoft.com/kb/937624 )

But so far nothing have worked. The drive appears under network location but has big red X over it and showing

as disconnected network drive. If I try to access it I get "Logon failure: unknown user name or bad password"

announcement. This might not sound like big problem since the share is accessible by running the script manually

or mapping the share manually but some users find even that too complicated and difficult to be done everytime

VPN tunnel is opened..

Here is view from Vista / network location

vistavpn366.png.xs.jpg

Here is view from server after the VPN client has run the drive mapping script

userlogged991.png.xs.jpg

This is the alternate VBS script I used

' From the book, "Windows XP Cookbook"
' ISBN: 0596007256

' ------ SCRIPT CONFIGURATION ------
strDrive = "x:"
strPath = "\\server\share"
strUser = "server\user"
strPassword = "password"
boolPersistent = false ' True = Persistent ; False = Not Persistent
' ------ END CONFIGURATION ---------
set objNetwork = WScript.CreateObject("WScript.Network")
objNetwork.MapNetworkDrive strDrive, strPath, boolPersistent, _
strUser, strPassword
WScript.Echo "Successfully mapped drive"

Edited by qwerty2nd

if you connect to the network via VPN and manully map a drive will it connnect correctly?

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.