Amazing what a mess some people create with their computers, isn't it!
It probably is badly infested with spyware, too. If your friend has their Windows CD, a hard drive format and fresh installation of Windows is the surest way to return it to your friend with the confidence that it's a clean system.