Search code examples
windowswindows-server-2012

How to log in automatically or programmatically to Windows Server 2012


I have a computer that is used for getting database information from the server in the same domain, and this computer is used by employees who don't have the server admin information.

When the computer restarts, I'd like it to automatically log in to Windows Server so that it can access the database files. Is it possible to write a script for this that runs on boot?

Thanks in advance


Solution

  • I solved this by adding the credentials to the Credentials Manager in Windows, along with disabling the Windows Server dashboard program. This makes Windows automatically log in to the server with the stored credentials on boot.