If your Internet disconnects like that, you may have a virus or a piece of spyware. Scan your computer with an antivirus and antispyware software to check for and remove them. If your computer is virus and spyware free, check your connection. If you have dial-up, your ISP may periodically disconnect you after some inactivity. If you have broadband, reset your modem and router, and then try restarting your computer.