I have been looking at CMAK as a way to allow the non technical staff members of my office (just about each and every one) to connect to our server (2003) from home to allow them access to the Share that contains most of our files.
I have managed to do this for myself at home by doing the following
Set up a manual VPN
Run Net use v: \\[ServerIP]\[Sharename}: [UserName]
supply the password
This is fine for me with the possible annoyance of either having to run the Net use command each time I want it or having a message at logon to my PC that the connection cannot be established.
I am thinking CMAK might be the way to do this. Here is what I think I need to do and some questions.
TASKS
Set up CMAK to connect a VPN
Run a batch file to set up the mapped drive once the connection is set
Run a batch file to remove the mapped drive once the connection is terminated.
QUESTIONS
The IP I use to set up my VPN is not the same as the IP I use for the shared mapped drive when I manually connect(the first relates to the router, the second to the Server), can I pass the username and password used to connect the VPN into a batch file to allow the net use command to run?
How do you write a batch file? I'm pretty sure I know what it should contain (essentially the net use command) but not sure how to go about writing one. Any help? Can I use notepad and name it *.bat ?
I assume CMAK would bundle the batch files when I set up a service profile or do I just leave the files on my server?
hope some answers might be available.
redapples
Want the best answers? See FAQ181-2886
I have managed to do this for myself at home by doing the following
Set up a manual VPN
Run Net use v: \\[ServerIP]\[Sharename}: [UserName]
supply the password
This is fine for me with the possible annoyance of either having to run the Net use command each time I want it or having a message at logon to my PC that the connection cannot be established.
I am thinking CMAK might be the way to do this. Here is what I think I need to do and some questions.
TASKS
Set up CMAK to connect a VPN
Run a batch file to set up the mapped drive once the connection is set
Run a batch file to remove the mapped drive once the connection is terminated.
QUESTIONS
The IP I use to set up my VPN is not the same as the IP I use for the shared mapped drive when I manually connect(the first relates to the router, the second to the Server), can I pass the username and password used to connect the VPN into a batch file to allow the net use command to run?
How do you write a batch file? I'm pretty sure I know what it should contain (essentially the net use command) but not sure how to go about writing one. Any help? Can I use notepad and name it *.bat ?
I assume CMAK would bundle the batch files when I set up a service profile or do I just leave the files on my server?
hope some answers might be available.
redapples
Want the best answers? See FAQ181-2886