Networking Forums

Networking Forums > Computer Networking > Windows Networking > VPN Logon script problem

Reply
Thread Tools Display Modes

VPN Logon script problem

 
 
Dan
Guest
Posts: n/a

 
      07-09-2004, 03:03 PM
I created a connectoid using CMAK that included logon
scripts to map network drives, I can successfully map all
drives except for the users' Home Drives. Whenever I try
to pull the %UserName% variable from CMAK it still
translates the %UserName% variable in the script to the
local user. For example local user on a home computer is
John Doe, username used in connectoid is jdoe, the users
Home drive on the network is jdoe, however the script
tries to map ..\Home Drives\John Doe. I have tried
scripting this with WMI in a vbs script as well as a
trusty old .BAT file with no success. I can manually map
the drive when the VPN connects, and I can hard code it
into the scripts and it works but this would require
creating individual scripts for every user (lots of
overhead!!!!!) Any help would be appreciated!
 
Reply With Quote
 
 
 
 
Phillip Windell
Guest
Posts: n/a

 
      07-09-2004, 04:14 PM
VPN (or any dial-up style login) is not the same thing as a Domain Login and
will not be treated the same. VPN (and dial up) logins are used to
authenticate simply for the sake of creating the connection and nothing
else.

To do a Domain Login at the same time as the dial up connection login, the
user must select "logon using dialup connection" via the checkbox that you
see after hitting "Ctrl-Alt-Del".

Ene afte that, I'm not entirely sure how the login scripts will behave. I
avoid the use of login scripts as much as possible.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


"Dan" <(E-Mail Removed)> wrote in message
news:29f8c01c465c5$e475e1f0$(E-Mail Removed)...
> I created a connectoid using CMAK that included logon
> scripts to map network drives, I can successfully map all
> drives except for the users' Home Drives. Whenever I try
> to pull the %UserName% variable from CMAK it still
> translates the %UserName% variable in the script to the
> local user. For example local user on a home computer is
> John Doe, username used in connectoid is jdoe, the users
> Home drive on the network is jdoe, however the script
> tries to map ..\Home Drives\John Doe. I have tried
> scripting this with WMI in a vbs script as well as a
> trusty old .BAT file with no success. I can manually map
> the drive when the VPN connects, and I can hard code it
> into the scripts and it works but this would require
> creating individual scripts for every user (lots of
> overhead!!!!!) Any help would be appreciated!



 
Reply With Quote
 
Guest
Posts: n/a

 
      07-09-2004, 04:35 PM
Is there another way to publish network drives to remote
users so that they do not need to browse for network
shares?

>-----Original Message-----
>VPN (or any dial-up style login) is not the same thing

as a Domain Login and
>will not be treated the same. VPN (and dial up) logins

are used to
>authenticate simply for the sake of creating the

connection and nothing
>else.
>
>To do a Domain Login at the same time as the dial up

connection login, the
>user must select "logon using dialup connection" via the

checkbox that you
>see after hitting "Ctrl-Alt-Del".
>
>Ene afte that, I'm not entirely sure how the login

scripts will behave. I
>avoid the use of login scripts as much as possible.
>
>--
>
>Phillip Windell [MCP, MVP, CCNA]
>www.wandtv.com
>
>

 
Reply With Quote
 
Phillip Windell
Guest
Posts: n/a

 
      07-09-2004, 05:14 PM
<(E-Mail Removed)> wrote in message
news:2a0ac01c465d2$af7c8f50$(E-Mail Removed)...
> Is there another way to publish network drives to remote
> users so that they do not need to browse for network
> shares?


Well, that is kind of like asking if you can drive your car but not have to
go through the trouble of starting it and putting it in gear.

Web sites and FTP sites are a couple of alternative ways. There will
always be "complexities" no matter how you do it.

--

Phillip Windell [MCP, MVP, CCNA]
www.wandtv.com


 
Reply With Quote
 
Guest
Posts: n/a

 
      07-09-2004, 05:25 PM
Let me ask this another way...
I need to be able to pull the %UserName% value from the
Connection Manager connectoid. According to this article:
http://www.microsoft.com/windows2000...er/help/defaul
t.asp?url=/windows2000/en/server/help/cmak_ops_44.htm it
can be done. However whenever I try it grabs the username
value from the local computer. From the article it says
that the only files that run synchronously with a connect
action is a dll file. Is it possible to write a dll that
will hold the username value so that another program or
script may use it?
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Run Logon Script problem tony@i-cable Windows Networking 2 06-22-2006 10:12 AM
logon script for gpo Joe Windows Networking 1 10-04-2004 05:51 PM
Logon script =?Utf-8?B?RGF2ZQ==?= Windows Networking 4 04-22-2004 11:56 PM
Logon script Alan Crawford Windows Networking 0 12-26-2003 10:45 PM
Logon Script Kat Windows Networking 2 10-07-2003 10:01 PM



1 2 3 4 5 6 7 8 9 10 11