Welcome to ServerForumz.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

is there a way to change the local computer administrator ..

 
   Windows Server (Home) -> Windows Server Networking RSS
Next:  how to setup a trust relationship between 2 diffe..  
Author Message
El CiD

External


Since: Oct 17, 2007
Posts: 2



(Msg. 1) Posted: Wed Oct 17, 2007 3:16 am
Post subject: is there a way to change the local computer administrator password via group policy? Please help
Archived from groups: microsoft>public>windows>server>networking (more info?)

is there a way to change the local computer administrator password via
group policy?

Please let me specify my question. I would like to know if theres a
way to change the administrator password of all computers connected to
my domain controller via the domain policy. I am not speaking of the
domain admin password , but the default windows administrator password
that each computer have prior joining to the domain.


thanks guys.. I appreciate your input.

 >> Stay informed about: is there a way to change the local computer administrator .. 
Back to top
Login to vote
Daniel Sutton

External


Since: Oct 17, 2007
Posts: 1



(Msg. 2) Posted: Wed Oct 17, 2007 7:16 am
Post subject: RE: is there a way to change the local computer administrator password [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

It is not possible to do from group policy, the only things you can really do
in group policy is change the user name for the administrator account and
disable the account altogethor.
A script or a program called Cusrmgr are the only really ways to do this.
Take a look at
http://support.microsoft.com/kb/272530

The scripting guy also wrote a piece on scripting the process

http://www.microsoft.com/technet/scriptcenter/resources/qanda/jul07/hey0703.mspx


--
Network Administrator


"El CiD" wrote:

> is there a way to change the local computer administrator password via
> group policy?
>
> Please let me specify my question. I would like to know if theres a
> way to change the administrator password of all computers connected to
> my domain controller via the domain policy. I am not speaking of the
> domain admin password , but the default windows administrator password
> that each computer have prior joining to the domain.
>
>
> thanks guys.. I appreciate your input.
>
>
>

 >> Stay informed about: is there a way to change the local computer administrator .. 
Back to top
Login to vote
Mathieu CHATEAU

External


Since: Oct 16, 2007
Posts: 607



(Msg. 3) Posted: Wed Oct 17, 2007 8:18 am
Post subject: Re: is there a way to change the local computer administrator password via group policy? Please help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Hello,

GPO don't have this feature.Uou can use vbscript to achieve this.

Here is a vbscript from the famous Brian Desmond.
Fill a workstations.txt with workstations names and the newPass = ""
If you don't know how to fill the text file, please let me know.
If you administrator local name is not "Administrator", change it in the
script (line WinNT://" & line & "/Administrator, user")


'==========================================================================
' NAME: Change local administrator password on list of machines
' AUTHOR: Brian Desmond
' DATE : 6/19/2006
'==========================================================================
Option Explicit

' What to change the password to
Const newPass = ""

Const LogFile = "AdminReset.log"
Const inputFile = "workstations.txt"

Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")

Dim shl
Set shl = WScript.CreateObject("WScript.Shell")

Dim fil
Set fil = fso.OpenTextFile(inputFile)

WriteToLog "Beginning Pass of " & inputFile & " at " & Now()
WScript.Echo "Beginning Pass of " & inputFile & " at " & Now()
'On Error Resume Next

Dim usr
Dim line
Dim exec
Dim pingResults
While Not fil.AtEndOfStream
line = fil.ReadLine

Set exec = shl.Exec("ping -n 2 -w 1000 " & line)
pingResults = LCase(exec.StdOut.ReadAll)

If InStr(pingResults, "reply from") Then
WriteToLog line & " responded to ping"
WScript.Echo line & " responded to ping"

On Error Resume Next

Set usr = GetObject("WinNT://" & line & "/Administrator, user")
usr.SetPassword newPass
usr.SetInfo

If Err.Number <> 0 Then
WriteToLog "Error resetting password on " & line & ": " & Err.Description
WScript.Echo "Error resetting password on " & line & ": " &
Err.Description
Err.Clear
Else
WriteToLog "Password Reset on " & line
WScript.Echo "Password Reset on " & line
End If
Else
WriteToLog line & " did not respond to ping"
WScript.Echo line & " did not respond to ping"
End If
Wend

fil.Close

Sub WriteToLog(LogData)
On Error Resume Next

Dim fil
'8 = ForAppending
Set fil = fso.OpenTextFile(LogFile, 8, True)

fil.WriteLine(LogData)

fil.Close
Set fil = Nothing
End Sub

Set usr = Nothing
Set fil = Nothing
Set fso = Nothing
Set shl = Nothing

--
Cordialement,
Mathieu CHATEAU
English blog: http://lordoftheping.blogspot.com
French blog: http://www.lotp.fr


"El CiD" wrote in message

> is there a way to change the local computer administrator password via
> group policy?
>
> Please let me specify my question. I would like to know if theres a
> way to change the administrator password of all computers connected to
> my domain controller via the domain policy. I am not speaking of the
> domain admin password , but the default windows administrator password
> that each computer have prior joining to the domain.
>
>
> thanks guys.. I appreciate your input.
>
>
 >> Stay informed about: is there a way to change the local computer administrator .. 
Back to top
Login to vote
Steve Riley [MSFT]

External


Since: Oct 18, 2007
Posts: 1



(Msg. 4) Posted: Thu Oct 18, 2007 12:26 am
Post subject: Re: is there a way to change the local computer administrator password via group policy? Please help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

In Jesper's and my book, Protect Your Windows Network, we included a tool
called Passgen that will help you do this. We've put the tools on our
website, you can download them free.

http://www.protectyourwindowsnetwork.com/tools.htm

--
Steve Riley
steve.riley.TakeThisOut@microsoft.com
http://blogs.technet.com/steriley
http://www.protectyourwindowsnetwork.com


"El CiD" wrote in message

> is there a way to change the local computer administrator password via
> group policy?
>
> Please let me specify my question. I would like to know if theres a
> way to change the administrator password of all computers connected to
> my domain controller via the domain policy. I am not speaking of the
> domain admin password , but the default windows administrator password
> that each computer have prior joining to the domain.
>
>
> thanks guys.. I appreciate your input.
>
>
 >> Stay informed about: is there a way to change the local computer administrator .. 
Back to top
Login to vote
Maestro

External


Since: Oct 18, 2007
Posts: 1



(Msg. 5) Posted: Thu Oct 18, 2007 3:18 pm
Post subject: Re: is there a way to change the local computer administrator password via group policy? Please help [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Oct 18, 2:26 am, "Steve Riley [MSFT]"
wrote:
> In Jesper's and my book, Protect Your Windows Network, we included a tool
> called Passgen that will help you do this. We've put the tools on our
> website, you can download them free.
>
> http://www.protectyourwindowsnetwork.com/tools.htm
>
> --
> Steve Riley
> steve.ri....RemoveThis@microsoft.comhttp://blogs.technet.com/sterileyhttp://www.protectyourwindowsnetwork.com
>
> "El CiD" wrote in message
>
>
>
> > is there a way to change the local computer administrator password via
> > group policy?
>
> > Please let me specify my question. I would like to know if theres a
> > way to change the administrator password of all computers connected to
> > my domain controller via the domain policy. I am not speaking of the
> > domain admin password , but the default windows administrator password
> > that each computer have prior joining to the domain.
>
> > thanks guys.. I appreciate your input.

sites' not working btw
 >> Stay informed about: is there a way to change the local computer administrator .. 
Back to top
Login to vote
El CiD

External


Since: Oct 17, 2007
Posts: 2



(Msg. 6) Posted: Fri Oct 19, 2007 2:18 am
Post subject: Re: is there a way to change the local computer administrator password [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

THANK YOU!




On Wed, 17 Oct 2007 07:16:00 -0700, Daniel Sutton
wrote:

>It is not possible to do from group policy, the only things you can really do
>in group policy is change the user name for the administrator account and
>disable the account altogethor.
>A script or a program called Cusrmgr are the only really ways to do this.
>Take a look at
>http://support.microsoft.com/kb/272530
>
>The scripting guy also wrote a piece on scripting the process
>
>http://www.microsoft.com/technet/scriptcenter/resources/qanda/jul07/hey0703.mspx
 >> Stay informed about: is there a way to change the local computer administrator .. 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Change IP - now no one can see computer - Hi, This is probably a no-brainer for most of you. But I don't have enough hairs left to pull. I have 2 PC's (Mine #1, other #2) in my office that are both on typical lan. I changed the IP on #2 but #1 still thinks it has the old IP. Both #1 and #2..

Change Domain User Computer - Here is the question. I have just setup a new domain. The reason for this the company I work for has split. So I have the original server and now a new server. I need to change the domain name of the computers that will be connecting to the new..

NT4 registry settings to change local DNS IP - I am working on migrating an old NT4 server that was a member server in an NT4 domain and now want to make it a file server in a 2003 domain. The problem is that when we try to access the tcpip settings from the gui then we get an error - System..

how to create a local share on local computer - Hello, we want to create a share on a computer. the name is services.domain.com. in the dns I created a CNAME record "intranet" for "services" (A record). so i can use intranet.domain.com like services.vescore.com. But I do have s...

The local policy Allow Access to this computer from the ne.. - I have gone into the subject policy several times and added groups and updated the policy. However, without fail, after about 3 minutes, the local policy with the Allow Access to this computer from the network is reverted back to being blank. What i...
   Windows Server (Home) -> Windows Server Networking All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]