Access is denied. When you try to login to Windows, you might encounter this error. ... When you click OK, the system will return to the login screen. This is a registry permissions issue; you can delete the corrupted user profile, or follow the below steps to gain access.