Skip to content

Instantly share code, notes, and snippets.

@Computer-Tsu
Created February 5, 2024 19:22
Show Gist options
  • Save Computer-Tsu/f940421d28b087476d63ce49fd966399 to your computer and use it in GitHub Desktop.
Save Computer-Tsu/f940421d28b087476d63ce49fd966399 to your computer and use it in GitHub Desktop.
Unblock a downloaded file from the Internet
REM DIR /R
echo.> "MyDownloadedFile.exe":Zone.Identifier
REM echo.>"OfficeSetup (1).exe:SmartScreen:$DATA"
@Computer-Tsu
Copy link
Author

Sample: notepad.exe "dotnetfx35.exe:Zone.Identifier:$DATA"

[ZoneTransfer]
ZoneId=3
ReferrerUrl=https://www.microsoft.com/
HostUrl=https://download.microsoft.com/download/2/0/E/20E90413-712F-438C-988E-FDAA79A8AC3D/dotnetfx35.exe

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