Hi All

I am using connection manager administration kit to create a Windows VPN
connection for all home users.

I've written a batch file to map the users home drive once connected to the
VPN

net use H: \\Server\%username%

The problem with the above, the Variable %USERNAME% takes the name from the
user who is logged onto the local computer not the user who is connecting to
the VPN. Does anyone know how I can get the name of the user how is logged
onto the VPN connection into the %username% rather than the user who is
logged onto the local computer.

wayne

PS I am not a scripter I am just learning starting with basic batch files