Re: How can I change the admin password of all our XP PC's on the doma
- From: "Cyborg" <andrewwhite@xxxxxxxxxxxxxx>
- Date: Mon, 22 Oct 2007 16:35:55 +0100
Hi this is great, do I need to change anything in this script apart form the "testpassword"
I take it I can then add the script to the logon part of the doamin group policy?
"Simon" <Simon@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:55FB500B-675B-426B-9E75-F3954A30DA2B@xxxxxxxxxxxxxxxx
try this as part of a logon/startup script:
strComputer = "MyComputer"
Set objUser = GetObject("WinNT://" & strComputer & "/Administrator, user")
objUser.SetPassword "testpassword"
objUser.SetInfo
To make it more generic, you will need to set the script to get the pc's
computer name before trying to change the password.
"Cyborg" wrote:
Somehow many of our users know the local admin password for our XP machines,
is there a way to change this on all PC's to something else, like a group
policy?
.
- Follow-Ups:
- Re: How can I change the admin password of all our XP PC's on the doma
- From: Austin Osuide
- Re: How can I change the admin password of all our XP PC's on the doma
- References:
- Prev by Date: Re: Update "homeDirectory" path for users?
- Next by Date: Re: Restrict access by IP (Log on to tab)
- Previous by thread: Re: How can I change the admin password of all our XP PC's on the domain?
- Next by thread: Re: How can I change the admin password of all our XP PC's on the doma
- Index(es):
Relevant Pages
|