Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I mount my true crypt volume with a logon script, so it is available very early after logging in. Then I right-click the directory, Properties -> Sharing -> Advanced Sharing -> UAC: Yes -> [x] Share this folder -> Permissions -> Everyone: Full Control -> OK -> OK -> Close. The last steps I have to repeat after each reboot.

Is there a Windows option which I have to set, so it will remember the network share? Or can I execute the above procedure in a script which I can add to the autostart folder?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

Would this be of use? It's for use under Vista so should work with 7

  1. Create a folder on your ordinary hard disc, “Shared”.
  2. Go into “Shared”, from a command prompt (Start->Run->cmd)
  3. Type “junction “Stuff” F:\My_Removable_Drive”

That creates a symlink called “Stuff” under “Shared”, which will point to F:\My_Removable_Drive

You can now share the folder “Shared” and have network access to your Removable drives whenever they’re plugged in, without having to tediously recreate the share every time.

Taken from here

share|improve this answer
1  
Instead of junction from Sysinternals one also can use mklink /j <link> <target>. –  Mike L. May 19 '11 at 7:33

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.