So many hacks... Revert all you did, open Windows Security and disable Smart Screen in "app and browser control"
Yes, it really is as simple as it has been for at least 20 years, but I have at all another question - why do you need to disable it?
Code: takeown /s %computername% /u %username% /f "%WinDir%\System32\smartscreen.exe" icacls "%WinDir%\System32\smartscreen.exe" /grant:r %username%:F taskkill /im smartscreen.exe /f del "%WinDir%\System32\smartscreen.exe" /s /f /q
Or you can simply take control of it away from trustedinstaller via properties, and rename it. Job done.
I get the same error, but it works for me, but I have eradicated terminal and powershell from the system, so it relies on CMD only.
Run this Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\smartscreen.exe] "Debugger"="Blocked" [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun] "1"="Smartscreen.exe"
I know this topic is a year old, but my trick to remove SmartScreen is via ending the process in Task Manager and immediately (with few seconds) force delete it with IOBit Unlocker .. we had to delete the smartscreen.exe immediately because the process will auto start, and it doesnt affect Edge's normal workaround and its safe to delete
Block SmartScreen execution and block Modern Windows Backup execution Code: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer] "DisallowRun"=dword:00000001 [HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer\DisallowRun] "1"="Smartscreen.exe" "2"="WindowsBackupClient.exe" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\WindowsBackupClient.exe] "Debugger"="blocked" [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\smartscreen.exe] "Debugger"="Blocked"
Yes, dangerous for one can be useful for another. MS decides what is the best for you, just like fact checkers.