Radimus Posted December 16, 2004 Posted December 16, 2004 I need to run a command (or a bat) only one time, but I need it to run at startup (before logon)ORI need to add a domain useraccount (and a domain group) to the LAdmin group BEFORE it becomes a member of the domain. 'net localgroup' will not do it until it reboots after joining the domain
durex Posted December 16, 2004 Posted December 16, 2004 If you dont want to do it at RunOnce, just place the batch file in $Docs\allusers\startup.Then if you dont want it to run next time, simply include a command to delete itself once its complete.
Radimus Posted December 16, 2004 Author Posted December 16, 2004 I don't want it run at logon, I want it to run BEFORE the user logs on, at the "Press ctrl-alt-del" screen.
gunsmokingman Posted December 16, 2004 Posted December 16, 2004 Add The Cmd to cmdlines.txt[COMMANDS]"REGEDIT /S 000.reg""REGEDIT /S 020.reg""REGEDIT /S 040.reg""REGEDIT /S 060.reg""REGEDIT /S 080.reg""Theme.cmd""RunOnceEx.cmd"
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now