Question Locked

Admin Password Script

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Hi,

I am administrator of telecom company in india. i have 2000 computers in my network. i want to change administrator password of all desktop. so i required script for the same.

Pls Help me to provide scirpt...

thx
deepak singla
deepak_singla2@yahoo.com

4 replies

by Former member

Run the command:

net user administrator [password]

and type the password, without the brackets, you want to change it too. You can put this command in a script, if they login, you can do a login script...etc.

by deepak_singla2

Hi,

thx for the command, but you can run this command with administrator rights only. user have to login with admin rights then only this command with work. i need command which will implement from ad.

deepak

by sjwall

You can get around any cmd that requires local admin rights by assigning the login scipt to the computer rather than the user. In this case create a batch file with the net user command, put it in netlogon, add it to a GP and assign the GP to your site/ou. Create a new security group and add all your PCs to it. Edit the perms on the batch file to remove Authenticated Users and add the PC group you just created. This step ensures that no one other than administrators can open netlogon and view the password but PCs can read it and run the command.

This discussion is closed to new replies.