There is a free windows program called [Steadier State][1] which can do what you are asking.
You didn't specify any Windows version. Steadier State lists Windows 7 Enterprise or Windows 7 Ultimate as requirements.

  [1]: http://www.steadierstate.com "Steadier State"