How do I reset the password of the local Administrator account on several machines? (NETIQKB19437)

  • 7719437
  • 02-Feb-2007
  • 19-Jun-2007

Resolution

goal
How do I reset the password of the local Administrator account on several machines?

fact
Directory and Resource Administrator 6.x

fact
Directory and Resource Administrator 7.x

fix

Directory and Resource Administrator (DRA) allows you to reset the password of the local Administrator account on any machine in the managed domain which is online.  The password of the local Administrator account can be changed one machine at a time by selecting the Reset Admin Password option using the DRA MMC interface in verison 6.x and the 'Accounts and Resource Management' or 'Delegation and Configuration Management' console in version 7.0.

In order to update the password of the local Administrator account on several machines you can write a script using OnePoint ADSI Provider.  For more information on the OnePoint ADSI Provider, please refer to the DRA Software Development Kit.  An example script is available on the knowledge depot called ResetAdminPassword.vbs.   The knowledge depot is located at:  https://www.netiq.com/support/dra/extended/knowledgedepot/default.asp

This script resets the Administrator password of the computer specified. The syntax of the script is to run via a command line: ResetAdminPassword.vbs /server:DRA_Servername /computer:Name_of_computer /Password:Password If you do not wish to be prompted, run the script in cscript shell.

Cscript ResetAdminPassword.vbs /server:DRA_Servername /computer:Name_of_computer /Password:Password



note
NetIQ AppManager also has the ability to reset the password of the local Administrator account on several managed computers. 

Additional Information

Formerly known as NETIQKB19437