
This applies versions from Windows Vista to Windows 10/Windows Server 2016. This way you can logon to a local account on a domain-joined computer on all Windows versions. You can also type the computer name followed by a backslash and the username, and it will do the same thing. It will use the local account with that username.

Then specify your local username after the.The domain below will disappear, and switch to your local computer name without typing it Windows uses the dot as the alias symbol for the local computer: Login Windows with Local Account without Typing Computer Name
