Howdie Joe!
Post by JoeSorry, but I'm a real cut & paste scripter, and I'm not sure how to define a
password variable as you suggest. I've looked through TechNet and haven't
found a real example. Can you point me a bit further in the right direction?
If you want to try the NET USER thing, I'd be sufficient to create a
.BAT file with notepad and save it to a network location where people
can access it. Within that BAT file script, you type the following:
NET USER ADMINISTRATOR %1
You then create a Group Policy and a computer startup script with the
.BAT-script you copied to the network location. For "Script Parameters"
you type in that password that you want to there to be.
I must admin I haven't tested this thoroughly and am not quite sure as
to how secure this is and where the "script parameters" (= your admin
password) is stored and who can read that and has access to that.
You can still give the Scripting Guys' script a try:
http://www.microsoft.com/technet/scriptcenter/resources/qanda/jul07/hey0703.mspx
Or Pspasswd:
http://www.microsoft.com/technet/sysinternals/utilities/pspasswd.mspx
cheers,
Florian
--
Microsoft MVP - Windows Server - Group Policy.
eMail: prename [at] frickelsoft [dot] net.
blog: http://www.frickelsoft.net/blog.