A Windows XP help forum. PCbanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » PCbanter forum » Microsoft Windows XP » The Basics
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

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



 
 
Thread Tools Display Modes
  #1  
Old June 2nd 09, 09:45 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
Kelvin[_3_]
external usenet poster
 
Posts: 95
Default What options do I have for mapping drives for mobile users?

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


Ads
  #2  
Old June 2nd 09, 10:06 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
David H. Lipman
external usenet poster
 
Posts: 4,185
Default What options do I have for mapping drives for mobile users?

From: "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


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.

--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp


  #3  
Old June 2nd 09, 10:06 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
David H. Lipman
external usenet poster
 
Posts: 4,185
Default What options do I have for mapping drives for mobile users?

From: "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


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.

--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp


  #4  
Old June 2nd 09, 10:14 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
Kelvin[_3_]
external usenet poster
 
Posts: 95
Default What options do I have for mapping drives for mobile users?

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

"David H. Lipman" wrote in message
...
From: "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


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.

--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp




  #5  
Old June 2nd 09, 10:14 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
Kelvin[_3_]
external usenet poster
 
Posts: 95
Default What options do I have for mapping drives for mobile users?

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

"David H. Lipman" wrote in message
...
From: "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


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.

--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp




  #6  
Old June 2nd 09, 10:56 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
David H. Lipman
external usenet poster
 
Posts: 4,185
Default What options do I have for mapping drives for mobile users?

From: "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

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


--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp


  #7  
Old June 2nd 09, 10:56 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
David H. Lipman
external usenet poster
 
Posts: 4,185
Default What options do I have for mapping drives for mobile users?

From: "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

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


--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp


  #8  
Old June 2nd 09, 11:38 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
Kelvin[_3_]
external usenet poster
 
Posts: 95
Default What options do I have for mapping drives for mobile users?

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

Thanks

"David H. Lipman" wrote in message
...
From: "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

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


--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp




  #9  
Old June 2nd 09, 11:38 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
Kelvin[_3_]
external usenet poster
 
Posts: 95
Default What options do I have for mapping drives for mobile users?

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

Thanks

"David H. Lipman" wrote in message
...
From: "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

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


--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp




  #10  
Old June 3rd 09, 12:15 AM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
David H. Lipman
external usenet poster
 
Posts: 4,185
Default What options do I have for mapping drives for mobile users?

From: "Kelvin"

| 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.


--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp


  #11  
Old June 3rd 09, 12:15 AM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
David H. Lipman
external usenet poster
 
Posts: 4,185
Default What options do I have for mapping drives for mobile users?

From: "Kelvin"

| 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.


--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp


  #12  
Old June 3rd 09, 02:03 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
Kelvin[_3_]
external usenet poster
 
Posts: 95
Default What options do I have for mapping drives for mobile users?

Thanks! that give me a good start on making my script.

Thanks!!!

Kelvin

"David H. Lipman" wrote in message
...
From: "Kelvin"

| 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.


--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp




  #13  
Old June 3rd 09, 02:03 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
Kelvin[_3_]
external usenet poster
 
Posts: 95
Default What options do I have for mapping drives for mobile users?

Thanks! that give me a good start on making my script.

Thanks!!!

Kelvin

"David H. Lipman" wrote in message
...
From: "Kelvin"

| 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.


--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp




  #14  
Old June 3rd 09, 09:46 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
David H. Lipman
external usenet poster
 
Posts: 4,185
Default What options do I have for mapping drives for mobile users?

From: "Kelvin"

| Thanks! that give me a good start on making my script.

| Thanks!!!

| Kelvin


YW :-)



--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp


  #15  
Old June 3rd 09, 09:46 PM posted to microsoft.public.windowsxp.basics,microsoft.public.windowsxp.security_admin,microsoft.public.windowsxp.work_remotely
David H. Lipman
external usenet poster
 
Posts: 4,185
Default What options do I have for mapping drives for mobile users?

From: "Kelvin"

| Thanks! that give me a good start on making my script.

| Thanks!!!

| Kelvin


YW :-)



--
Dave
http://www.claymania.com/removal-trojan-adware.html
Multi-AV - http://www.pctipp.ch/downloads/dl/35905.asp


 




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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off






All times are GMT +1. The time now is 01:24 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 PCbanter.
The comments are property of their posters.