Repository navigation
Auto Lock and Hotkey
VaultLock can lock folders for you when you step away, and provides a panic hotkey for immediate lockdown. All options live under Tools → Auto-lock.
Auto-locking requires the password, so VaultLock caches it for the session when
you unlock (the CachePasswords setting, on by default). If you disable it in
settings.json for stricter security, no folder can be re-locked automatically
(even an ACL lock needs the password); instead of failing silently, VaultLock
shows a status-bar and tray notification asking you to lock the folder manually.
Uses Windows session notifications (WTSRegisterSessionNotification). When the
workstation locks (WTS_SESSION_LOCK) or the user signs out (WTS_SESSION_LOGOFF),
all unlocked folders with cached passwords are locked.
Uses GetLastInputInfo, polled every 20 seconds. Enable Lock when idle for
15 min. When there is no keyboard/mouse input for the interval, all unlocked
folders with a cached password are locked.
Enable Re-lock 10 min after unlock. Each folder you unlock starts a timer; when it expires the folder is locked again automatically if its password is cached, otherwise you get the manual-lock prompt.
Panic hotkey Ctrl+Alt+L registers a global hotkey (via RegisterHotKey). When
pressed it:
- Locks every folder with a cached password.
- Clears the clipboard.
- Minimizes the window.
Auto-lock, temporary re-lock and integrity warnings appear as tray balloon notifications.
- These features require the app to be running. Combine with Start with Windows (tray) and the optional guard service for continuous protection.
- The list of ACL-locked folders is published to a machine-wide watchlist
(
%PROGRAMDATA%\FolderLock\watchlist.json, or the portabledata\folder) so the guard service can re-apply locks independently of the UI.