I just tried that script, smartscreen.exe was still in the System32 folder but I was able to delete it, as in, the file was not protected anymore. Can you check please? Also, can you add a line to the script where it doesn't happen silently so we can see the progress and when it's done?
When it says it's done delete the "c:\windows\softwaredistribution\download\" folder and re-run WU and check if it now stops the re-offering of the LCU.
First, just to not piss anyone here off, this is not my script. I found it a long time ago, and it was the only one that worked. If you restart your computer, you will note that SmartScreen is not running, but yes, I just checked and the .dll is still on my computer too. It could be that the script is trying to delete the .dll before the task has been ended. I'll see if I can fix it. This is beyond my paygrade, I simply don't have the cmd chops to do this, but basically the reg stuff and taskkill work, so SmartScreen is stopped, even on reboot, but the removal of the file at the last few lines of the script don't work. It's a permissions problem, or just plain out of date cmd switches... Anyone with a functional brain feel like chiming in? Code: takeown /s %computername% /u %username% /f "%WinDir%\System32\smartscreen.exe" icacls "%WinDir%\System32\smartscreen.exe" /grant:r %username%:F del "%WinDir%\System32\smartscreen.exe" /s /f /q
2023-10 Cumulative Update for Windows 11 Version 23H2 for x64-based Systems (KB5031354) Live on Windows Update