Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

As the title says. The drive is encrypted with truecrypt so every time it gets mounted I have to explicitly share it from the host machine. This is inconvenient because windows has to scan the contents of the drive each time. Is there any way to make the entire host machine shared without having to scan/rescan files?

share|improve this question

From the TrueCrypt docs, it seems that you'll need to make it a system favorite volume :

Remarks: Note that, when you restart the system, the network share will be automatically restored only if the volume is a system favorite volume or an encrypted system partition/drive (for more information on how to configure a volume as a system favorite volume, see the chapter System Favorite Volumes).

share|improve this answer
very close. however, this solution requires that the system partition be encrypted too, which it isn't. – Blip Dec 16 '10 at 19:15
From my reading, that's not correct. The volume needs to be either a system volume, or a "system favorite volume" which is something you can define in the TrueCrypt software. It's possible that I missed something in my reading, but I'm pretty certain that's what it says there. – mfinni Dec 16 '10 at 19:26

I have a batch file to do this on our Windows 2003 server when it gets rebooted. This does not scan the contents of the drive.

rem mount TC volume as N:
"c:\Program Files\TrueCrypt\TrueCrypt.exe" /v c:\ /ln /q

rem create network share
net share MyData=N:\my_data /cache:None

rem set share permissions - google for rmtshare.exe
rmtshare \\%COMPUTERNAME%\MyData /grant everyone:Read
share|improve this answer

Your Answer


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.