At work, they have this stupid banner that starts up automatically when the user logs in. It isn’t programmed well, gets in the way and is generally annoying, so I kill it through the Task Manager, everyday. I want to programmatically stop it or kill it on startup.
My main problem is, I am not 100% sure how it is started and I don’t have access to a registry viewer (and they disable regedit) to find out, but even if I could, I doubt I would have permission to edit the setting.
I have tried putting a batch script in my startup folder with the following:
taskkill /IM banner.exe
Problem there is, sometimes my script gets executed before
What is the best solution for stopping or killing this application automatically?
It really depends where it starts from as windows will load services before things in the startup folder for example… Within task manager you used to be able to schedule tasks to run after logging in – see if you can do this with a time delay after you logged in, say 10/20 seconds (really depends on your startup speed).
The banner.exe is probably started by a logon script or a group policy.
It may well be that the program startup is defined in Group Policy. In order to find this out and as long as you’re not locked down there are two ways of finding this out: rsop.msc and gpresults.
rsop.msc (resultant set of policies) can be run from the run box or search box and gpresult can be run from the command prompt. To check local policies type
gpresult /H gpresult.html and this will output to either the root drive or somewhere in your My Documents. This will generate an HTML file listing all policies applied to you or your computer.
If there’s a policy set it’s likely to be in Computer Configuration, Policies, Adminstrative Templates, System and then Logon.
But don’t quote me on that 🙂
Maybe you should delete that exe file and create folder with the same name to prevent it from being downloaded and run. Also you may try to revoke access to it using
CACLS filename /G username:W
File is still on disk, but not readable/executable. Only writable/deletable.
Have you looked in Start > All Programs > Startup? (Assuming Windows XP) Or can you run msconfig?