Jump to content

Recommended Posts

Posted

I need to run a command (or a bat) only one time, but I need it to run at startup (before logon)

OR

I 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


Posted

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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...