First Logon Script

BOBMO

New Member
Yes it works, but I would look to have a few lines run at first logon as they wont work during post setup.
 

Kasual

Well-Known Member
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"
 

BOBMO

New Member
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"

This worked, thanks.:)
 
Top