creates, formats, and mounts a temporary veracrypt drive that exists until reboot when its recreated with a different random password. it can be scheduled to run on startup to provide an on-restart empty/clean drive, for use for windows temporary storage or as a cache to your browser.
install
- install git desktop or other source of openssl.exe
- launch Task Scheduler, create task
- configure to run with highest privileges, and to run whether user is logged on or not
- configure trigger to run on system start
- configure action to start a program and locate the vera.cmd
- edit vera.cmd to provide the path to where openssl.exe is located. increase the default 200M to meet your needs
- reboot or run the scheduled task
browser cache - firefox / waterfox (etc)
- about:config
- create a string for browser.cache.disk.parent_directory
- set to r:\ff (or r:\wf etc)
- restart firefox
- check path is used in about:cache
browser cache - chrome
- add the following parameter to the chrome shortcut --disk-cache-dir="r:" --disk-cache-size=20485760
browser cache - edge
- go to path "C:\Users\%USERNAME%\AppData\Local\Microsoft\Edge\User Data\Default"
- delete folder "Cache"
- open admin cmd, enter command mklink /d "C:\Users\%USERNAME%\AppData\Local\Microsoft\Edge\User Data\Default\Cache" "r:"
profile temp
- start Settings
- search for "advanced system settings" and open
- click "environment variables"
- in the "user varabiles for YOUR_USER" edit the TEMP and TMP variables and change to r:\
- Click ok and save, confirming any changes
windows temp (not recommended that you change this)
- start Settings
- search for "advanced system settings" and open
- click "advanced tab"
- in the "system varabiles" edit the TEMP and TMP variables and change to r:\
- Click ok and save, confirming any changes