Interactive ACL (Access Control List) Manager for Windows - Easily lock and unlock files or folders with password protection.
Script file: acllock-enhance.ps1
lock, acl)# Interactive mode (easiest)
acllock
# Quick lock a file/folder
acllock lock C:\SecretFolder
# Quick unlock
acllock unlock C:\SecretFolder
# Check status
acllock status C:\SecretFolder
# Show help
acl-help
| Option | Feature | What it does |
|---|---|---|
| 1 | Lock | Backs up ACL, disables inheritance, and denies Everyone access |
| 2 | Unlock | Removes Deny rule, restores inheritance, and original ACL |
| 3 | Status | Checks if the ‘Everyone: Deny’ rule is present |
| 4 | Help | Displays the command reference |
| 5 | Exit | Closes the interactive menu |
$env:LOCALAPPDATA\acllock\backup.acllock lock "D:\Personal\PrivateData"
# You will be prompted for your ACL password
lock status "C:\Windows\System32" # (Just an example, don't lock System32!)
✅ Run as Administrator - ACL operations require elevated privileges.
✅ Remember your password - It’s required for unlocking!
✅ Use for Privacy - Great for hiding folders from other local users.
❌ Don’t lock System Folders - You could break Windows.
❌ Don’t delete the backup folder - It contains the original permissions.
❌ Don’t use as primary encryption - This is a permission lock, not file encryption (use cipher-enhance for that).
If you are an Administrator, you can reset the password by deleting the hash file:
Remove-Item "$env:LOCALAPPDATA\acllock\auth.hash" -Force
If a path becomes inaccessible even to Admins:
takeown /f "C:\Path" /r /d y
icacls "C:\Path" /reset /t
Part of TheSecretJuice 💉 by mini-page
Need help? Open an issue