How to logon to Windows 2012 R2 and start a program after reboot


Disable DisableAutomaticRestartSignOn:
https://technet.microsoft.com/en-us/library/dn535772.aspx

Or modify Registry directly: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

Enable with Autologon utility will help:
https://technet.microsoft.com/en-ca/sysinternals/bb963905.aspx

To disable legal notice, we need to update registry. This can be setup as a task and trigger on Windows startup.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon]
"LegalNoticeCaption"=""
"LegalNoticeText"=""

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]
"legalnoticecaption"=""
"legalnoticetext"=""

To start a job after logon, we can setup a task which is triggered on logon.


Comments

Popular posts from this blog

Project Professional 2013 Error 12015

SP optimization with TVF, View

SSRS issue on SQL Server 2012 SP3 -The version of the report server database is either in a format that is not valid, or it cannot be read