Solved

Change local administrator password using a GPO startup script

Posted on 2008-10-28
2
750 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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

Suggested Solutions

This article will show, step by step, how to integrate R code into a R Sweave document
A short article about a problem I had getting the GPS LocationListener working.
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

863 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now