{"id":4082,"date":"2019-05-03T00:50:01","date_gmt":"2019-05-03T00:50:01","guid":{"rendered":"https:\/\/pariswells.com\/blog\/?p=4082"},"modified":"2019-05-03T00:50:01","modified_gmt":"2019-05-03T00:50:01","slug":"intune-change-account-to-never-expire","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/intune\/intune-change-account-to-never-expire","title":{"rendered":"InTune &#8211; Change account to Never Expire"},"content":{"rendered":"<p>I used the Below Policies to create a Local User and Password<\/p><p>.\/Device\/Vendor\/MSFT\/Accounts\/Users\/LocalAdmin\/Password<\/p><p>However there is no where in CSP to set this to never expire.<\/p><p>You have to use a new Powershell run as the System account separately to do this<\/p><p>Set-LocalUser -Name &#8220;localadmin&#8221; -PasswordNeverExpires 1<\/p>","protected":false},"excerpt":{"rendered":"<p>I used the Below Policies to create a Local User and Password.\/Device\/Vendor\/MSFT\/Accounts\/Users\/LocalAdmin\/PasswordHowever there is no where in CSP to set this to never expire.You have to use [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2836],"tags":[2948,2947,2837,2946,721,2944,2945],"class_list":["post-4082","post","type-post","status-publish","format-standard","hentry","category-intune","tag-device-vendor-msft-accounts-users-localadmin-password","tag-expire","tag-intune","tag-never","tag-password","tag-passwordneverexpires","tag-set-account-to-never-expire"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4082","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=4082"}],"version-history":[{"count":1,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4082\/revisions"}],"predecessor-version":[{"id":4083,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/4082\/revisions\/4083"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=4082"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=4082"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=4082"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}