While you log on to your Windows operating system, either with administrative or non-administrative rights, a number of background services are automatically initiated. These services are vital for the satisfactory operations of your login session.
Error Code 2, generally, occurs when you are unable to:
Install or Run a Program on your system
Security scan on your PC
Transfer data through local network