ShadowWhisperer / Remove-MS-Edge

Uninstall Microsoft Edge silently, through an executable or batch script.
2.21k stars 81 forks source link

Remove-EdgeOnly Flag Not Working As Intended #28

Closed ceticdev closed 1 year ago

ceticdev commented 1 year ago

Hello, I have been trying to add this to a few machines I work on that do not need Edge installed.

Task Scheduler will run the program when any user logs on using admin permissions and I have the /s flag in the arguments box. However, when testing this after a user logs on a command prompt will open and still display the 'Uninstalling Edge' text.

My intended effect is that the user logs on and the process will run in the background with no new tabs or text displayed. Is this functionality possible or am I missing a setting?

image

ShadowWhisperer commented 1 year ago

It has to do with how the program is compiled. I uploaded a new file Remove-NoTerm.exe. It does not remove EdgeView, does not show the terminal, and does not need flags. Just run it.

Be sure to check the "Run with highest privileges"

Capture

ceticdev commented 1 year ago

You're amazing. Thanks a bunch!

ShadowWhisperer commented 1 year ago

You are welcome!