Set up Auto Logon in Windows using PowerShell

Hello Guys,
Did you ever felt the need to set up Auto logon to Windows Server or Workstation? Sometimes it is needed. Especialy in Internet Coffee's, or similar places. There is an old way to setup it using Regedit. But there is also way to use PowerShell to accomplish it. Take a look on two simple functions.

This function are easy to use in you scripts. I am using it for building testing environement. All You need to do, is to set up $PlainTextAccount and $PlainTextPassword variables.

Komentáře

Populární příspěvky z tohoto blogu

Copy Group Membership to another user

Lync 2013 Persistent Chat Service not starting