shared folder access

E

Egil Solberg

Hi! I use windows xp prof.

I have a truecrypt image that I mount from time to time. It shows up in "my
computer" as drive s:

I want to be able to access those files on drive s: from my laptop over my
LAN when the image is mounted. I configured drive s: as a share and could
now access all my files over the LAN via a mapped network drive with
sufficient password protection. I do not use simple file sharing.

The truecrypt-image does not auto-mount at startup. That's how I want it.

Problem: the share has to be redefined every time I reboot my computer (and
drive s: goes away). When I mount my image, it is no longer shared and I
have to re-share it.

Is there a way that I can tell Windows to remember to share that folder
automatically when it comes online so that I will not have to re-share it?

Thank you for considering.

Egil Solberg
 
K

Kerem Gümrükcü

Hi Egil,

yes there is a way how you can do this. Windows XP Pro can
start "Startup" and "Shutdown" Scripts (vbs,bat, PE or whatever
you want to run, but i recommend vbs to use). You can set this
behavior with local GPO's (Group Policy Objects) and start
a "Drive Mounting Script" at windows startup and a "Drive Unmounting
Script" at shutdown. You can write a simple script in VB Script wich
is best suited for this task and comes with build-in functions for this
issue.

Do some google search and you will find a lot of examples and sample
scripts, that will provide that kind of funtionality for you. Hope this
helps....

Best Regards

Kerem Gümrükcü
 
E

Egil Solberg

Kerem said:
Hi Egil,

yes there is a way how you can do this. Windows XP Pro can
start "Startup" and "Shutdown" Scripts (vbs,bat, PE or whatever
you want to run, but i recommend vbs to use). You can set this
behavior with local GPO's (Group Policy Objects) and start
a "Drive Mounting Script" at windows startup and a "Drive Unmounting
Script" at shutdown. You can write a simple script in VB Script wich
is best suited for this task and comes with build-in functions for
this issue.

Do some google search and you will find a lot of examples and sample
scripts, that will provide that kind of funtionality for you. Hope
this helps....

Best Regards

Kerem Gümrükcü

Thank you very much. I sure hoped there would be a simpler way to go about
this,though, but I guess there isn't.
Gives me an opportunity to learn something.

Egil Solberg
 
K

Kerem Gümrükcü

Hi Egil,

as a Windows and Linux Programmer (and Trainer) i can tell you, that
learning scripting is not that difficult compared to "true" programming
languages like C or C++. What you need is "will" and "patience"...!


Best Regards

Kerem Gümrükcü
 

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