Disable SmartScreen on Windows 10


win + r > cmd > run as admin

C:\Windows\system32>takeown /f "%WinDir%\System32\smartscreen.exe" /a

SUCCESS: The file (or folder): "C:\Windows\System32\smartscreen.exe" now owned by the administrators group.

C:\Windows\system32>icacls "%WinDir%\System32\smartscreen.exe" /grant:r Administrators:F /c
processed file: C:\Windows\System32\smartscreen.exe
Successfully processed 1 files; Failed processing 0 files

C:\Windows\system32>taskkill /im smartscreen.exe /f
SUCCESS: The process "smartscreen.exe" with PID 4892 has been terminated.

C:\Windows\system32>del "%WinDir%\System32\smartscreen.exe" /s /f /q
Deleted file - C:\Windows\System32\smartscreen.exe