{"id":2420,"date":"2010-08-10T11:15:24","date_gmt":"2010-08-10T19:15:24","guid":{"rendered":"https:\/\/www.zubairalexander.com\/stage\/?p=2420"},"modified":"2010-08-01T11:39:27","modified_gmt":"2010-08-01T19:39:27","slug":"how-to-automate-changing-of-the-local-administrator-password","status":"publish","type":"post","link":"https:\/\/www.zubairalexander.com\/blog\/how-to-automate-changing-of-the-local-administrator-password\/","title":{"rendered":"How to Change the Local Administrator Password on All Computers in the Domain"},"content":{"rendered":"<p>If you are a network administrator, the Sysinternals tools should be part of your troubleshooting and management toolkit. Here&#8217;s some information from <a href=\"http:\/\/technet.microsoft.com\/en-us\/sysinternals\/bb897543.aspx\">Microsoft<\/a> on the Sysinternals tool called <strong>PsPasswd<\/strong> that is very helpful in resetting local administrator passwords on domain-joined computers.<\/p>\n<blockquote><p>&#8220;Systems administrators that manage local administrative accounts on  multiple computers regularly need to change the account password as part  of standard security practices. <em>PsPasswd<\/em> is a tool that lets  you change an account password on the local or remote systems, enabling  administrators to create batch files that run <em>PsPasswd<\/em> against  the computers they manage in order to perform a mass change of the  administrator password.<\/p>\n<p>PsPasswd uses Windows password reset APIs and therefore does not send passwords over the network in the clear. Just copy <em>PsPasswd<\/em> onto your executable path, and type  &#8220;pspasswd&#8221; with the command-line syntax shown below.&#8221;<\/p><\/blockquote>\n<p><strong>usage: pspasswd [[\\\\computer[,computer[,..] | @file [-u user  [-p psswd]]] Username [NewPassword]<\/strong><\/p>\n<table border=\"0\" cellspacing=\"2\" cellpadding=\"1\" width=\"100%\">\n<tbody>\n<tr align=\"left\" valign=\"top\">\n<td width=\"30\"><strong>computer<\/strong><\/td>\n<td>Perform  the command on the remote computer or computers specified. If you omit  the computer name the command runs on the local system, and if you  specify a wildcard (\\\\*), the command runs on all computers in the  current domain.<\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>@file<\/strong><\/td>\n<td>Run  the command on each computer listed in the text file specified.<\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>-u<\/strong><\/td>\n<td>Specifies  optional user name for login to remote computer.<\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>-p<\/strong><\/td>\n<td>Specifies  optional password for user name. If you omit this you will be prompted  to enter a hidden password.<\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>Username<\/strong><\/td>\n<td>Specifies  name of account for password change.<\/td>\n<\/tr>\n<tr align=\"left\" valign=\"top\">\n<td><strong>NewPassword<\/strong><\/td>\n<td>New password. If  ommitted a NULL password is applied.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>Download this FREE tool from Microsoft <a href=\"http:\/\/technet.microsoft.com\/en-us\/sysinternals\/bb897543.aspx\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If you are a network administrator, the Sysinternals tools should be part of your troubleshooting and management toolkit. Here&#8217;s some information from Microsoft on the Sysinternals tool called PsPasswd that is very helpful in resetting local administrator passwords on domain-joined computers. &#8220;Systems administrators that manage local administrative accounts on multiple computers regularly need to change [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[11],"tags":[],"class_list":["post-2420","post","type-post","status-publish","format-standard","hentry","category-tips-tricks"],"aioseo_notices":[],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/2420","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/comments?post=2420"}],"version-history":[{"count":0,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/posts\/2420\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/media?parent=2420"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/categories?post=2420"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.zubairalexander.com\/blog\/wp-json\/wp\/v2\/tags?post=2420"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}