{"id":398,"date":"2012-11-03T16:31:37","date_gmt":"2012-11-03T11:01:37","guid":{"rendered":"https:\/\/blog.binarybits.net\/?p=398"},"modified":"2021-05-03T16:20:10","modified_gmt":"2021-05-03T10:50:10","slug":"setting-password-for-managed-account","status":"publish","type":"post","link":"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/","title":{"rendered":"Setting password for Managed Account"},"content":{"rendered":"

Password for Managed Account in SharePoint 2010 can be set in the following ways.<\/p>\n

Set a new password for Managed Account<\/strong><\/p>\n

#If there is only one managed account, the following line could be written as: \r\n#$inputManagedAcct = Get-SPManagedAccount\r\n\r\n$inputManagedAcct = Read-Host \"Enter managed account as Domain\\User\"\r\n\r\n#Input the desired new password\r\n$inputPasswd = Read-Host \"Enter new password for managed account\" \u2013AsSecureString \r\n\r\n#Change the password for the managed account to the new value Set-SPManagedAccount -Identity $inputManagedAcct -NewPassword $inputPasswd<\/pre>\n

To update the account password to a new automatically generated value, from the Windows PowerShell command prompt, type the following:<\/p>\n

Set-SPManagedAccount \u2013Identity domain\\user -AutoGeneratePassword $true<\/p><\/blockquote>\n

Update the password for a Managed Account that has already been reset through Active Directory<\/strong><\/p>\n

If the password for a managed service account has been manually changed outside of SharePoint (such as directly in Active Directory), you can update the password to the new value in SharePoint 2010 as follows<\/p>\n

#If there is only one managed account, the following line could be written as: \r\n#$inputManagedAcct = Get-SPManagedAccount\r\n\r\n$inputManagedAcct = Read-Host \"Enter managed account as Domain\\User:\" \r\n#Input the Managed Account $inputPasswd = Read-Host \"Enter password from Active Directory for managed account:\" \u2013AsSecureString \r\n\r\n#Change the password in SharePoint for the managed account to the new value \r\nSet-SPManagedAccount -Identity $inputManagedAcct -ExistingPassword $inputPasswd \u2013UseExistingPassword $true<\/pre>\n

To update the account password to a already changed password, from the Windows PowerShell command prompt, type the following:<\/p>\n

Set-SPManagedAccount -Identity domain\\user\u00a0-UseExistingPassword<\/p><\/blockquote>\n

For more information look at http:\/\/blogs.technet.com\/b\/seanearp\/archive\/2011\/01\/25\/updating-passwords-on-sharepoint-2010.aspx<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

Password for Managed Account in SharePoint 2010 can be set in the following ways. Set a new password for Managed Account #If there is only one managed account, the following line could be written as: #$inputManagedAcct = Get-SPManagedAccount $inputManagedAcct = Read-Host “Enter managed account as Domain\\User” #Input the desired new password $inputPasswd = Read-Host “Enter […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[4],"tags":[208,63],"yoast_head":"\nSetting password for Managed Account : Binary Bits<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Setting password for Managed Account : Binary Bits\" \/>\n<meta property=\"og:description\" content=\"Password for Managed Account in SharePoint 2010 can be set in the following ways. Set a new password for Managed Account #If there is only one managed account, the following line could be written as: #$inputManagedAcct = Get-SPManagedAccount $inputManagedAcct = Read-Host "Enter managed account as DomainUser" #Input the desired new password $inputPasswd = Read-Host "Enter […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/\" \/>\n<meta property=\"og:site_name\" content=\"Binary Bits\" \/>\n<meta property=\"article:published_time\" content=\"2012-11-03T11:01:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-03T10:50:10+00:00\" \/>\n<meta name=\"author\" content=\"Kannan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@Kannan_B\" \/>\n<meta name=\"twitter:site\" content=\"@Kannan_B\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Kannan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/\"},\"author\":{\"name\":\"Kannan\",\"@id\":\"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855\"},\"headline\":\"Setting password for Managed Account\",\"datePublished\":\"2012-11-03T11:01:37+00:00\",\"dateModified\":\"2021-05-03T10:50:10+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/\"},\"wordCount\":138,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855\"},\"keywords\":[\"SharePoint\",\"SharePoint 2010\"],\"articleSection\":[\"Applications\"],\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/\",\"url\":\"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/\",\"name\":\"Setting password for Managed Account : Binary Bits\",\"isPartOf\":{\"@id\":\"https:\/\/blog.binarybits.net\/#website\"},\"datePublished\":\"2012-11-03T11:01:37+00:00\",\"dateModified\":\"2021-05-03T10:50:10+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/blog.binarybits.net\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Setting password for Managed Account\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.binarybits.net\/#website\",\"url\":\"https:\/\/blog.binarybits.net\/\",\"name\":\"Binary Bits\",\"description\":\"Bits & Pieces - A blog by Kannan Balasubramanian\",\"publisher\":{\"@id\":\"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.binarybits.net\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-GB\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855\",\"name\":\"Kannan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/blog.binarybits.net\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/blog.binarybits.net\/wp-content\/uploads\/2017\/04\/12976869_10207528235497646_1307827709790943986_o.jpg\",\"contentUrl\":\"https:\/\/blog.binarybits.net\/wp-content\/uploads\/2017\/04\/12976869_10207528235497646_1307827709790943986_o.jpg\",\"width\":1270,\"height\":1270,\"caption\":\"Kannan\"},\"logo\":{\"@id\":\"https:\/\/blog.binarybits.net\/#\/schema\/person\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Setting password for Managed Account : Binary Bits","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/","og_locale":"en_GB","og_type":"article","og_title":"Setting password for Managed Account : Binary Bits","og_description":"Password for Managed Account in SharePoint 2010 can be set in the following ways. Set a new password for Managed Account #If there is only one managed account, the following line could be written as: #$inputManagedAcct = Get-SPManagedAccount $inputManagedAcct = Read-Host \"Enter managed account as DomainUser\" #Input the desired new password $inputPasswd = Read-Host \"Enter […]","og_url":"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/","og_site_name":"Binary Bits","article_published_time":"2012-11-03T11:01:37+00:00","article_modified_time":"2021-05-03T10:50:10+00:00","author":"Kannan","twitter_card":"summary_large_image","twitter_creator":"@Kannan_B","twitter_site":"@Kannan_B","twitter_misc":{"Written by":"Kannan","Estimated reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/#article","isPartOf":{"@id":"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/"},"author":{"name":"Kannan","@id":"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855"},"headline":"Setting password for Managed Account","datePublished":"2012-11-03T11:01:37+00:00","dateModified":"2021-05-03T10:50:10+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/"},"wordCount":138,"commentCount":0,"publisher":{"@id":"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855"},"keywords":["SharePoint","SharePoint 2010"],"articleSection":["Applications"],"inLanguage":"en-GB","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/","url":"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/","name":"Setting password for Managed Account : Binary Bits","isPartOf":{"@id":"https:\/\/blog.binarybits.net\/#website"},"datePublished":"2012-11-03T11:01:37+00:00","dateModified":"2021-05-03T10:50:10+00:00","breadcrumb":{"@id":"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.binarybits.net\/setting-password-for-managed-account\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/blog.binarybits.net\/"},{"@type":"ListItem","position":2,"name":"Setting password for Managed Account"}]},{"@type":"WebSite","@id":"https:\/\/blog.binarybits.net\/#website","url":"https:\/\/blog.binarybits.net\/","name":"Binary Bits","description":"Bits & Pieces - A blog by Kannan Balasubramanian","publisher":{"@id":"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.binarybits.net\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-GB"},{"@type":["Person","Organization"],"@id":"https:\/\/blog.binarybits.net\/#\/schema\/person\/dda0e26212583a95f286cf67604fd855","name":"Kannan","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/blog.binarybits.net\/#\/schema\/person\/image\/","url":"https:\/\/blog.binarybits.net\/wp-content\/uploads\/2017\/04\/12976869_10207528235497646_1307827709790943986_o.jpg","contentUrl":"https:\/\/blog.binarybits.net\/wp-content\/uploads\/2017\/04\/12976869_10207528235497646_1307827709790943986_o.jpg","width":1270,"height":1270,"caption":"Kannan"},"logo":{"@id":"https:\/\/blog.binarybits.net\/#\/schema\/person\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/posts\/398"}],"collection":[{"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/comments?post=398"}],"version-history":[{"count":10,"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/posts\/398\/revisions"}],"predecessor-version":[{"id":1556,"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/posts\/398\/revisions\/1556"}],"wp:attachment":[{"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/media?parent=398"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/categories?post=398"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.binarybits.net\/wp-json\/wp\/v2\/tags?post=398"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}