Skip to content

Instantly share code, notes, and snippets.

@ericlaw1979
Created October 17, 2025 16:33
Show Gist options
  • Save ericlaw1979/1b7239ae22a9fe4ecf7c396255bff259 to your computer and use it in GitHub Desktop.
Save ericlaw1979/1b7239ae22a9fe4ecf7c396255bff259 to your computer and use it in GitHub Desktop.
Turn Shell Previews back on regardless of file source.
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\3]
"180F"=dword:00000000
@ericlaw1979
Copy link
Author

Warning, this exposes you to the risk of NTLM hash leaks: https://textslashplain.com/2019/10/09/navigating-to-file-urls/#:~:text=to%20Edge%2095%2B.-,What%E2%80%99s%20the%20Risk%3F,-The%20most%20obvious

You should disable NTLM over SMB to address that risk: Set-SMbClientConfiguration -BlockNTLM $true from PowerShell. https://www.anoopcnair.com/windows-11-security-blocking-ntlm-over-smb/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment