Windows Embedded 8.1 Industry User Account management(3): Create auto logon by using Power Shell script
Step1、To write some command to text editor, for example Notepad, thensave as ”autologon.ps1"
note:For some sample code, please reference
http://embedded-easy.blogspot.tw/2014/06/write-add-new-user-account-powershell.html
http://embedded-easy.blogspot.tw/2014/06/ceate-auto-logon-by-using-power-shell.html
Step2、Running windows PowerShell as administrator。
Step
3、Set the execution policy
NOTE:If default Execution Policy is restricted,you cannot run the Power Shell script.
Step
4、Running the PowerShell script
Step
5、To check OS registry
Step
6、Restart your PC to auto logon
沒有留言:
張貼留言