Help - Search - Members - Calendar
Full Version: Local Admin Password
4peeps.com Forums > Hardware > Networking
mas

Hi all
I am LAN Admin. I wanna to reset local Admin Password for seletected PCs or whatever list of ips. So is there any utility or tools to do that remotly and in one time.

Thanks a lot
AthlonGod
Are you running an Windows 2000/2003 server network with Active Directory? If you are, post back and I will find out how its done, but i'm pritty sure it can be done there.
mas
Actually yes all of our computers (clients) are connected to Domain Controller. I’m using Windows 2000 Advanced Server help.gif
mas
No one wants to answer me !
help.gif help.gif help.gif help.gif help.gif help.gif help.gif help.gif help.gif help.gif help.gif
bull
I want to answer you, I am just not a very smart man. icon_neutral.gif

AG or ace will chime in and get you on the right track. Even if I have to get out the cattle prod. icon_wink.gif
mas
help.gif help.gif help.gif help.gif help.gif help.gif help.gif help.gif help.gif help.gif help.gif help.gif
Mandark
How about Microsoft's SMS?

How about writing a Windows Script Host script that runs at login?
mas
it will not work fine because the end-user doesn't have perviledge to change admin password from his account. As you said the script will run when he login.
I thought that I would find professional guys in this forum but untill now I havent seen any one

There are tools such as Password Chnager and Reset Local Password utility but there are not free wallbash.gif
Mandark
you can do it with SMS. I know that for a fact. As for professionalism, you won't be getting much help with an attitude like that.

If you are indeed a MS LAN admin, learn to use SMS. We are not going to do your work for you. We will point you in the right direction if possible.

Give Zero Admin Kit a try (if you can still get it from MS for free)

http://www.windowsitpro.com/Windows/Articl.../3427/3427.html

"The zakb1wrk.cmd script. After the reboot, the automatic logon function that the cmdlines.txt file enabled logs on the workstation, using the local Administrator account. The zakboot1.cmd script is then executed and calls zakb1wrk.cmd from %systemroot%\zak\scripts. The zakb1wrk.cmd script performs most of the application installation and customization work. This script also includes steps that you may want to comment out, depending on your environment. For example, you would install an SMS client only if you use SMS. Tasks zakb1wrk.cmd script performs include

* Running the Office 97 client setup
* Emptying the All Users directory on the local machine (server-based system policy folders will take over the directory's function)
* Installing IE 3.02 using the provided sysdiff image file
* Turning off automatic logon for the next reboot
* Installing the floppy lock service from the resource kit to prevent use of the floppy drive
* Changing the local Administrator account password
* Running the acls.cmd script to tighten file system ACLs on the system drive
* Hiding all files on the system drive "

that was old stuff but it can change the password by logging in as admin. then just initiate a reboot
Mandark
I was going to try to help further but decided not to for obvious reasons.

get the Zero Admin Kit here: http://www.microsoft.com/ntworkstation/dow...tured/NTZAK.asp
AceHigh
You can use the Cusrmgr.exe tool that is included with the Microsoft Windows 2000 Resource Kit to remotely change the account properties of a user in a Windows 2000 domain, including the password. You can also use this tool in a batch (.bat) file to process account changes on multiple servers or workstations.

The following .bat file will change the local administrator password to newpass on the \\pc1, \\pc2, and \\pc3 computers:

cusrmgr.exe -u Administrator -m \\pc1 -P newpass
cusrmgr.exe -u Administrator -m \\pc2 -P newpass
cusrmgr.exe -u Administrator -m \\pc3 -P newpass

To run this .bat file successfully, the user must have administrative privileges on \\pc1, \\pc2, and \\pc3. Also, note that you must use a capital P for the -P switch, because a lowercase p sets the account password to a random string.
AceHigh
Create a batch file, call it something like changepass.bat with the following line:

cusrmgr.exe -u Administrator -m %1 -P newpass

Open a command prompt, type net view >>c:\workstations.txt (this will create a text file with all the computer names.

Create another batch file with the following line:

For /F %%i in (c:\workstations.txt) DO CALL changepass.bat %%i

Save it as somithing like passchange.bat. Run that to change your passwords.
Troll
I just love to read forums replies that change as you read them... 285.gif

afro.gif
mas

Hi all of you guys
I am so sorry if some body gotten angry. I have posted this topic since 3 days and I haven't seen any serious response. So I told myself, try to do something in this topic that will make it hot. Don't be angry please I was just joking.
For brother Mandark, thanks a lot for your help and I think this solution will help me.

Thanks a lot and My Best Regards,

yes.gif
bull
It is all good mas. Manny just has his period 2-3 times per day. His hormone replacement therapy just don't seem to be working yet. hysterical.gif
Jason
Dim Container
Dim ContainerName
Dim User, UsrSID, b
Dim WshNetwork

Set WshNetwork = WScript.CreateObject("WScript.Network")
'--- Set objFSO=WScript.CreateObject("WScriopt.FileSystemObject")

ComputerName=WshNetwork.ComputerName

Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & ComputerName & "\root\cimv2")

strSelect="Select * from Win32_UserAccount"

Set colSystemUsers = objWMIService.ExecQuery (strSelect)

For Each objSystemUser in colSystemUsers
if Right(objSystemUser.SID,3)="500" Then
Set objUser = GetObject("WinNT://" & ComputerName & "/" &
objSystemUser.Name & ",user")
NewPassword="MySuperPassword"
Call objUser.SetPassword(NewPassword)
Exit For
End If
Next

The script doesn't care about built-in admin account's name, can be used
with any name.
Mandark
thank you jason.

but now he won't have to learn to do it. that is the most fun part about the challenge.

i knew you would come through J yes.gif dance.gif
earthbound4u
Hey I am trying to do the same thing but with out a script and I have Server2003 with AD. Also I thought I saw an option in Hyena to do it. But I can't find it. And I have been searching the web for a while. Anyone know where or how in Hyena I can change the computers on my domain local admin password?

But wasn't there an option in AD to do it? I think I am losing my mind.
pappy177
QUOTE(Mandark @ Jan 13 2005, 11:35 PM)
thank you jason.

but now he won't have to learn to do it. that is the most fun part about the challenge.

i knew you would come through J  yes.gif  dance.gif

I would suggest you ignore this guy for now as he seems to have personality problems at the time.
Jason
QUOTE(pappy177 @ Jan 31 2005, 08:20 PM)
QUOTE(Mandark @ Jan 13 2005, 11:35 PM)
thank you jason.

but now he won't have to learn to do it. that is the most fun part about the challenge.

i knew you would come through J  yes.gif  dance.gif

I would suggest you ignore this guy for now as he seems to have personality problems at the time.

Who does, Me or Mandark ?
pappy177
manny
pappysbro
Never mind those guys Mas, but be patient we all have real jobs. If there is somebody that can help guaranteed you will find him here.
AceHigh
I posted the solution.
Mandark
QUOTE(AceHigh @ Jan 31 2005, 08:39 PM)
I posted the solution.

dance.gif

i really liked Jason's solution too....
AceHigh
I did too Manny. icon_smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.