TweakUI hasn't been around for years. Sysinternals has autologon, works on Win10: https://docs.microsoft.com/en-us/sysinternals/downloads/autologon -
--
This is a sample batch file that can be called from any of the standard windows start up options (eg. RunServices, StartUp folder, etc.) to delay the running of a dll function.
@echo This batch file was called from the Windows RunServices registry key.
@echo Choice.com will now delay for 25 seconds. c:\windows\command\choice.com /T:Y,25
@echo After the delay, we run the TweakLogon function. C:\Windows\Rundll32.exe TweakUI.Cpl,TweakLogon
@Echo You can close this window. If it is "Finished."
Edit: Also, this is a good example on how to launch a control panel applet from a command box (useful if you are using 'runas' to get administrative priveleges).
tags: tweakui, delay, batch