Jump to content

sooli

Member
  • Posts

    2
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

About sooli

sooli's Achievements

0

Reputation

  1. Yes this is in a domain environment - I set up new computers for new users about 8 a day, sometimes more. (I do have domain admin rights but these machines are still in their boxes till i get there and not on the domain - so I cannot access them before I arrive.) My current batch is as follows: net localgroup "Administrators" /add "ms_dlg_odin css" net localgroup "Administrators" /add "ms_dlg_msfc its" net localgroup "Administrators" /add solivas net localgroup "Administrators" /add ndc\solivas net localgroup "Administrators" /add ndc\tlaughin The last command is where I modify it every time - i would like for the batch file to prompt me for the user name, and then insert it where it says ndc\tlaughin. I am new to this Batch File Creation - and I don't want to mess anything up. As long as i have the userid - i don't need any error checking - other than maybe a failed notice - if the user name is not on the domain, I always check to make sure the names took anyway so I really don't even need that. Thanks!
  2. I would like a simple batch file that will add an administrator to a machine using my input. I have a batch file that adds specific users - and i currently go into the batch file every time and add the new user that i am currently installing. I would like the batch file to ask me what the new user id is - then take my input and add it to the admins list. Thanks!
×
×
  • Create New...