Computer Virus: How to deal with them?

I know that spywares are typically installed in personal computers. I am just curious, what do you call the spywares that are installed on a shared or public computer? In cases where computers are corporate or public,Is it more convenient than installing spywares from PC one by one?
