REG ADD HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce /v 1stcommand /d "command" /f
Windows Registry Editor Version 5.00
[HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce]
1stcommand="command"
You can add the commands to the setupcomplete (Post-Setup page) or integrate to the registry with NTLite.
Code:REG ADD HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\RunOnce /v 1stcommand /d "command" /f
Code:Windows Registry Editor Version 5.00 [HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnce] 1stcommand="command"