How to keep truecrypt folders shared in win7

Soldato
Joined
17 Dec 2004
Posts
8,743
I have encrypted my shared drive, so when windows boots I need to enter the password for windows to be able to see the drive, but then I have to re share the folders in the shared drive. So is there anyway to force windows to automatically keep the folders shared?
 
I haven't tried it, but perhaps you could create a batch file, and create a scheduled task to run it at logon (you'd probably need to check "run only when user is logged on" and "run with highest privileges")

To share the entire Truecrypt drive you could have:

@echo off
net share mytruecryptshare=x: (where x is the Truecrypt drive letter)

or specific subdirectories with different permissions

@echo off
net share grumpy=x:\dwarfporn /grant:everyone,full
net share justin=x:\music\justinbieber /grant:everyone,read

well, you get the idea. :)
 
OK its working for my music folder but not for my media player folder..... What am I doing wrong?

net share Media Player=F:\Media Player /grant:everyone,read
net share Music=F:\Music /grant:everyone,read
 
Yeah it took me a bit of googling to find that out Sin Chase.

Thanks guys with this, at least my sister wont be screaming at me anymore of not sharing the folders;)
 
I should have got the reply in earlier to save the Googling!

It's always surprised me how the space/" thing is not very well documented at all and often script/command examples just expect you to know it, realise it from the examples or just get lucky.

It's quite hard to see for yourself why "s are used when script writers encompass non-spaced lines with "s also out of habit, I do for example.
 
Back
Top Bottom