title: WMIC set "User cannot change password" error : Description = Generic failure
body: <p>when attempting to set password changeable for user then I got the following the error message.</p>
  <pre><code>NET USER username &quot;XXXXXXX&quot; /ADD
  NET LOCALGROUP &quot;administrators&quot; &quot;username&quot; /add
  wmic useraccount WHERE Name='username' set PasswordExpires=false
  
  C:\Windows\system32&gt;wmic useraccount WHERE Name='username' set PasswordChangeable=false
  Updating property(s) of '\\hostname\ROOT\CIMV2:Win32_UserAccount.Domain=&quot;hostname&quot;,Name=&quot;username&quot;'
  ERROR:
  Description = Generic failure
  </code></pre>