Jump to content

Recommended Posts

Posted

To unblock multiple files in Windows 11, use Windows PowerShell to run a single command that unblocks all files in a folder and its subfolders:

1. Open PowerShell as an administrator, navigate to the folder containing the files

2. run dir -Recurse | Unblock-File to unblock all files and subfolders

or

3. dir | Unblock-File to only unblock files in the current directory

I did not know this before and had tons of files from a DOFLinx update to unblock.  Helped a lot

Posted

Thanks for that 🙂 When I update my cab I occasionally download new tables and backglasses in larger numbers. I now made a powershell script with the above command in it that I keep in my download folder. Rather than unblocking every file by itself, I can now just right-click the .ps1 file, select "run with PowerShell", and it unblocks everything in one go. Works like a charm!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...