Eicon logo
Safepipe and security Networking with Safepipe VPN Clients
Safepipe Centre > HowTo > How to run a logon script when a VPN Client logs onto the corporate network
Documentation
Printed guides
HowTo setup guides
Questions and answers
Questions and answers
Reference
Encyclopedia
Other resources
Training
Self-test courses
Download
Software and Release notes
Administration Tool
Support
Link to Eicon Networks Support

Printer-friendly versionHow to run a logon script when a VPN Client logs onto the corporate network


Introduction

When a user accesses a network it is commonly necessary to run a logon script and specify which resources on the network the user should have access to. Such resources may include particular network drives, mailservers, etc.

With an Eicon VPN Client, the necessary information should be included in a batch file stored on the computer. The batch file is automatically run when the VPN Client connects to Safepipe, thus giving you access to all relevant resources.

The contents of the batch file may vary from network to network and from user to user. Therefore, you are in fact able to write your own batch file. However, users may often prefer to let their network administrator supply the batch file. Contact your network administrator if you need the file or specific advice on the relevant network settings.


Procedure

In order to make use of the logon script feature with a VPN Client, you should have a batch file which contains the path to the logon script and, depending on your access rights and requirements, maps one or more drives.

The file should be stored on your computer, in the same folder as the VPN Client software itself (usually c:/Program files/Eicon Networks/).

The file should have the name logon.bat in order to be run automatically.

Example

The following is an example of the contents of a logon.bat file:

REM Run remote logon script on NT server
\\ntserver\netlogon\logon.bat

REM Map network drive from NT server
net use J: \\ntserver\share\

The first two lines concern the logon script required to get access to the network in question. The next two lines concern the mapping of a particular drive, in this case the J: drive.

Line
© 2001 Eicon Networks