I am trying to create a .bat file that removes applications from Startup in Windows 10. What I am trying to achieve is that after the .bat file has been executed these apps are removed and won't start automatically the next time Windows boots. I have also integrated other functions in this file, but this is the only one that I am having trouble with. I am aware that this can be done in msconfig. I just need the .bat file to do it.
Can I use wmic? Or maybe I should just remove the programs from C:\Users(User-Name)\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup
I am sorry if there are other similar topics and if you think that my question matches exactly, please link those threads.
Thank you in advance.