How to auto login to a domain with Windows

You can use the following registry settings in order to configure a Windows machine to automatically log into a domain. This should only be done with low risk/low security computers/users as the password is stored in the clear in the registry.