2014年6月10日 星期二

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

Step2Running windows PowerShell as administrator




Step 3Set the execution policy

NOTE:If default  Execution Policy is restricted,you cannot run the Power Shell script.

Step 4Running the PowerShell script 

Step 5To check OS registry



Step 6Restart your PC to auto logon

沒有留言:

張貼留言