Re: Computer startup script credencial
- From: "Richard Mueller [MVP]" <rlmueller-nospam@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 16 Jan 2009 12:45:13 -0600
"jef cesar" <jefbaetens@xxxxxxxxx> wrote in message
news:de4f5e4e-f345-4e99-8c2e-01d8be8832b5@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On 16 jan, 14:28, jef cesar <jefbaet...@xxxxxxxxx> wrote:
On 16 jan, 11:53, "Richard Mueller [MVP]" <rlmueller-
nos...@xxxxxxxxxxxxxxxxxxxx> wrote:
"jef cesar" <jefbaet...@xxxxxxxxx> wrote in message
news:d68f9d3d-41f3-4ba6-bc6e-1ff5d16099a0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I need to know witch user the GPO COMPUTER STARTUP script uses on the
affeted machine.
I once was told it`s the SYSTEM acount, is this true?
Startup scripts run with System privileges on the local computer, and
the
permissions of the domain computer object elsewhere in the domain.
--
Richard Mueller
MVP Directory Services
Hilltop Lab -http://www.rlmueller.net
--
I denied DOMAIN/users to view a script that modifies their local
administrator password. I hope it still works :)
--
jef
It didn`t work.
I need to have a STARTUP script that the computer can execute but the
user cannot see in the domain server`s SYSVOL share.
The script changes the local administrator acount and the password is
within the script in clear text.
It would make more sense to change the local administrator passwords
yourself remotely. If you are a member of the group "Domain Admins", you
should have sufficient permissions. By default, the group "Domain Admins" is
added to the local Administrators group when the computer is joined to the
domain. A VBScript program, for example, can change the password by binding
to the computer object and invoking the SetPassword method. For example:
======
strComputer = "ABC1001"
Set objAdmUser = GetObjet("WinNT://" & strComputer & "/Administrator,user")
objAdmUser.SetPassword "xZy321$w"
=========
For example, see this link:
http://www.microsoft.com/technet/scriptcenter/scripts/ds/local/users/lousvb02.mspx
The use of SetInfo in the link is not necessary (the SetPassword method
operates immediately), but it doesn't hurt. It would be easy to script this
to modify the local Administrator password for computers in bulk. The
computer names could be read from a text file, for example.
Otherwise, I would deny the trustee "Domain\Domain Users", but grant
permissions to "Domain\Domain Admins".
.
- References:
- GPO: Computer startup script credencial
- From: jef cesar
- Re: Computer startup script credencial
- From: Richard Mueller [MVP]
- Re: Computer startup script credencial
- From: jef cesar
- Re: Computer startup script credencial
- From: jef cesar
- GPO: Computer startup script credencial
- Prev by Date: Re: event id 25 everytime reboot servers.
- Next by Date: Re: The RPC server is unavailable
- Previous by thread: Re: Computer startup script credencial
- Next by thread: Help with STARTUP please
- Index(es):
Relevant Pages
|