Running bedrock server blocked by Windows defender
In all versions starting the bedrock_server.exe leads to the pop-up:
Windows Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.
Normally this has 2 buttons: Don't run and Run anyway (after clicking more info).
Since version 1.17.40 I do not see the 'run anyway' button anymore.
Mojang should provide Extended Validation (EV) Code Signing Certificate with the server to avoid these issues.
Running on HP Elitebook, Windows 10 Enterprise 20H2:
Edition Windows 10 EnterpriseEdition Windows 10 Enterprise
Version 20H2
Installed on 12-5-2021
OS build 19042.1237
Experience Windows Feature Experience Pack 120.2212.3530.0
Windows shows this popup when trying to run bedrock_server.exe

Attachments2
Comments8
History11
Changed summary:
Changed description:
In all versions starting the bedrock_server.exe leads to the pop-up:
0Windows Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.
00
Normally this has 2 buttons: Don't run and Run anyway (after clicking more info).
0Since version 1.17.40 I do not see the 'run anyway' button anymore.
00
Mojang should provide Extended Validation (EV) Code Signing Certificate with the server to avoid these issues.
00
Running on HP Elitebook, Windows 10 Enterprise 20H2:
0Edition Windows 10 EnterpriseEdition Windows 10 Enterprise
0Version 20H2
0Installed on 12-5-2021
0OS build 19042.1237
0Experience Windows Feature Experience Pack 120.2212.3530.0

Changed description:
In all versions starting the bedrock_server.exe leads to the pop-up:
0Windows Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.
00
Normally this has 2 buttons: Don't run and Run anyway (after clicking more info).
0Since version 1.17.40 I do not see the 'run anyway' button anymore.
00
Mojang should provide Extended Validation (EV) Code Signing Certificate with the server to avoid these issues.
00
Running on HP Elitebook, Windows 10 Enterprise 20H2:
0Edition Windows 10 EnterpriseEdition Windows 10 Enterprise
0Version 20H2
0Installed on 12-5-2021
0OS build 19042.1237
0Experience Windows Feature Experience Pack 120.2212.3530.0
00

In all versions starting the bedrock_server.exe leads to the pop-up:
0Windows Defender SmartScreen prevented an unrecognized app from starting. Running this app might put your PC at risk.
00
Normally this has 2 buttons: Don't run and Run anyway (after clicking more info).
0Since version 1.17.40 I do not see the 'run anyway' button anymore.
00
Mojang should provide Extended Validation (EV) Code Signing Certificate with the server to avoid these issues.
00
Running on HP Elitebook, Windows 10 Enterprise 20H2:
0Edition Windows 10 EnterpriseEdition Windows 10 Enterprise
0Version 20H2
0Installed on 12-5-2021
0OS build 19042.1237
0Experience Windows Feature Experience Pack 120.2212.3530.0
00
Windows shows this popup when trying to run bedrock_server.exe

Resolution: Unresolved → Awaiting Response
Added affects versions: 1.18.2 Hotfix
Resolution: Awaiting Response → Unresolved
Resolution: Unresolved → Awaiting Response
Resolution: Awaiting Response → Unresolved
Resolution: Unresolved → Cannot Reproduce

Make sure to disable your Anti-Virus while playing the game OR put the game as whitelisted on your Anti-Virus software. Windows Defender is connected with anti-virus programs.
I 'manually' unblocked it like below. This is in IMHO not a proper way. A professional SW development organization like Mojang should sign their deliverables to avoid this kind of pop-ups. Especially since they're part of Microsoft, the just should have these Extended Validation certificates for signing.
Have you tried whitelisting the bedrock_server.exe into your Windows Firewall?
These are the instructions:
I also recommend making a post what you have said on the correct channel here: feedback.minecraft.net so that Mojang can notice it as this site is mainly for tracking bugs only.
Hi
Does this issue still occur after updating to 1.18.2?
This ticket will automatically reopen when you reply.
Issue still occurs in 1.18.2
Hi
Does this issue still occur after updating BDS to 1.18.11?
This ticket will automatically reopen when you reply.
Works fine. Problem solved.
Closing as per comment above.