What options do I have for mapping drives for mobile users?

K

Kelvin

We have an application that we run off our network (P: Drive).

This works fine for all the desktop machines as the environment is always
the same.



The problem I'm having is with my mobile (laptop) users.

If they are off the network I need their P: drive to their local drive
\\laptop\applications.



I need a reliable way to map this drive depending on whether it's attached
to the network or not.



Anyone have a good answer for this?



Any input would be much appreciated!!!



Kelvin
 
D

David H. Lipman

From: "Kelvin" <[email protected]>

| We have an application that we run off our network (P: Drive).
| This works fine for all the desktop machines as the environment is always
| the same.

| The problem I'm having is with my mobile (laptop) users.
| If they are off the network I need their P: drive to their local drive
| \\laptop\applications.

| I need a reliable way to map this drive depending on whether it's attached
| to the network or not.

| Anyone have a good answer for this?

| Any input would be much appreciated!!!

| Kelvin


I have the SAME issue with my VPN users.

The solution is to have a LNK file point to the Login Script.

My Login Script consists of a batch file that calls the KiXtart Script Interpreter
(kix32.exe) and a KiXtart Script (ORG_Login.kix) that maps the users drives.

\\server\scripts\ORG_Login.BAT

A LNK file is created on the user's desktop called "ORG VPN Login.lnk" that calls;
\\server\scripts\ORG_Login.BAT

We use naming convention where all notebooks in our organization have NB (for notebook) in
a fixed position in the Machine Name. The Login Script parses the Machine Name and if NB
is found in the Machine Name then a subroutine is called that automatically copies the
"ORG VPN Login.lnk" file to the User's Desktop. This way even if the user deletes the
file it will be placed on the desktop the next time they login throught the domain.

So, all the user has to do is initiatite the VPN connection and subsequently "ORG VPN
Login.lnk" file to map their respective drives.
 
K

Kelvin

This sounds like it would work, any chance I could get content of your
script files to get me started?

Thanks for your time.

Kelvin
 
D

David H. Lipman

From: "Kelvin" <[email protected]>

| This sounds like it would work, any chance I could get content of your
| script files to get me started?

| Thanks for your time.

| Kelvin

What part don't you get in my overview that you would need sample scripts ?
{ there is proprietary information in those scripts }
 
K

Kelvin

Do you know of a resource I could use to understand the parsing of the
computer name?

Thanks
 
D

David H. Lipman

From: "Kelvin" <[email protected]>

| Do you know of a resource I could use to understand the parsing of the
| computer name?

| Thanks

OK. That's simple.

Assuming Machine Name conforms to; XXXXNBYYYZZZZZ

if (ucase(right(left(@wksta,6),2))="NB")=1
copy "\\server\scripts\ORG VPN Login.lnk" "%USERPROFILE%\desktop"
endif

Which takes the string "XXXXNBYYYZZZZZ" and looks at the left 6 chars.
Which gives; "XXXXNB"
then it takes the right two chars. which is "NB"
If those two chars. are equal to "NB" then copy the LNK file to the user's Desktop.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top