petebuk Posted September 2, 2010 Report post Posted September 2, 2010 Hello all, I am new to scripting an need to implement a script to run at log in to add a local administrator account cewadmin and set a password. Any ideas? Quote Share this post Link to post Share on other sites More sharing options...
0 Eswar Koneti Posted September 2, 2010 Report post Posted September 2, 2010 Hello all, I am new to scripting an need to implement a script to run at log in to add a local administrator account cewadmin and set a password. Any ideas? you can implement a group policy (restricted groups) to add the account to administrators. In Brief: 1.Create Global Security group and add make "cewadmin" member of it. 2.create a new GPO by adding global security Group to it and make this group as member of Administrators. 1 Quote Share this post Link to post Share on other sites More sharing options...
0 jamitupya Posted October 8, 2010 Report post Posted October 8, 2010 Prefered to do it through gpo also, however I have a script laying around here to do it... Same think came up yesterday in the deploy windows 7 forum I'll find and post next week Quote Share this post Link to post Share on other sites More sharing options...
0 Paul H Posted October 9, 2010 Report post Posted October 9, 2010 if you can always use GPO, dont create a maze of scripts. much easier troubleshooting later Quote Share this post Link to post Share on other sites More sharing options...
0 Prajwal Desai Posted October 7, 2011 Report post Posted October 7, 2011 as an alternative, you can add a domain user to the local admin group so that it can also be useful while troubleshooting... i will post your requested script very soon... Quote Share this post Link to post Share on other sites More sharing options...
0 Joe13 Posted July 7, 2014 Report post Posted July 7, 2014 This is what I use, not sure if this is what you are looking for. This should be used with Admin rights @ECHO OFF net user administrator /active:yes net user administrator "enter your password" echo. Quote Share this post Link to post Share on other sites More sharing options...
Hello all,
I am new to scripting an need to implement a script to run at log in to add a local administrator account cewadmin and set a password.
Any ideas?
Share this post
Link to post
Share on other sites