Start => Run => gpedit.msc Computer Configuration => Windows Settings => Security Settings => Software Restriction Policies => Right-click "Other Rules" => New Path Rule => Browse to the EXE you want to ban => OK ( restart to take effect)
For example: if you want to prohibit the pop-up advertisement when RaiDrive starts, you only need to prohibit the running of the .exe file of the advertisement. The file path is as follows: C:\Program Files (x86)\Microsoft\EdgeWebView\Application\108.0.1462.54\ The following file can be banned msedgewebview2.exe