How do I uninstall a program automatically using a .bat file?
Posted on 2007-10-19
The company I work for employs login scripts for every user when they log into their computers. The script does routine things like map network shares.
My company also uses a program called IP OFFICE from the Avaya company which allows you to kind of control your phone from the PC, and do other things like look people up in the phone directory by connecting to our IP.
However IP Office needs to now be un-installed from every computer, and instead of going from PC to PC to uninstall this program, I was hoping there would be a more efficient way of doing it. Then the login script occurred to me. Would there be a way to uninstall this program using the bat file? Because then we would just have to add a simple line like "/uninst programfiles/avaya" to the bat file and it would slowly run on every computer which logs into our domain. (I apologize if the above sounded stupid, im fairly new at this, but you get the idea)
That's essentially what I'm interested in...I'm not sure if it's even possible, and if not please let me know if there is another way of doing it.
I would also like to note that the login script would need to be compatible with both XP and 2000 version of windows.
Thanks in advance to anyone who can help me.