Solved

Change local administrator password using a GPO startup script

Posted on 2008-10-28
2
773 Views
Last Modified: 2008-11-21
I'm managing an Server 2003 domain, client computers are Windows XP Pro and Vista Business. To simplify administration we decided to set up the same local administrator password in all computers and I guess that the best way to do that is using a GPO, so I need the code for the script.

I already have some samples, but I need the expert's oppinion to choose the simplest and effective.

Thanks in advance
0
Comment
Question by:oswaldofarith
2 Comments
 
LVL 10

Accepted Solution

by:
Alan_White earned 500 total points
ID: 22825481
The easiest way I can think of is
NET USER Administrator yourpa55Word
However, one word of caution, Users can see Group Policy Objects if they know where to look.  You might like to wrap your script up into something a little less readable eg a batch to exe program.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A short article about problems I had with the new location API and permissions in Marshmallow
I'm a big fan of Windows' offline folder caching and have used it on my laptops for over a decade.  One thing I don't like about it, however, is how difficult Microsoft has made it for the cache to be moved out of the Windows folder.  Here's how to …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question