How can I make SmartScreen Filter trust a self-signed certificate

前端 未结 5 1739
别那么骄傲
别那么骄傲 2020-11-30 01:57

Microsoft\'s SmartScreen Filter under Windows 8 is a small developer\'s worst nightmare.

While I realize the benefits to end users and the effectiveness at stopping

5条回答
  •  遥遥无期
    2020-11-30 02:22

    I have found a really easy way to bypass the filter even without admin privileges. What you need to do is:

    1. Open notepad
    2. Type in the following line: @%*
    3. Save the file as "SkipSmartScreen.bat" (yes, with the quotes) in the same folder as your app. You can rename the batch file later
    4. To launch your app, drag your exe on to the batch file

    This will then bypass smartscreen filter.

    Tested on Windows 10 Home, Pro, and Enterprise, and Windows 8 Pro.

    How it works:

    • @ - This is just for looks, it hides the name of the command being executed
    • %* - This expands to all command line arguments passed (e.g. the file you dropped on the batch file
    • The whole thing: It executes the file through the batch file as if it was a line in the batch file. For some reason, Windows does not do any check on files which are executed from a batch file.

提交回复
热议问题