RMTWeb

View Original

How to stop Windows 7 requiring you to change your password

 There are no built in tools in Windows 7 to do this, but thankfully its pretty simple. This is especially useful if you are running Windows 7 as part of a Parallels Desktop for Mac installation, as the whole VM freezes when Windows requires a password change!Follow these instructions and it works every time.1. Right-click on the desktop and Choose New > ShortcutScreen Shot 2013-07-15 at 12.03.25 2. Type in wmic as the location, and click on NextScreen Shot 2013-07-15 at 12.03.35 3. Just leave the name as WMIC, or you can change it if you want, and then click on FinishScreen Shot 2013-07-15 at 12.03.42 4.Right-click on your newly created shortcut and click on Run as administratorScreen Shot 2013-07-15 at 12.11.30 5. If you have User Account Control turned on (which you most likely will) then you get a dialog box  confirm you wish to run the utility, click on YesScreen Shot 2013-07-15 at 12.04.21 6. The wmi command line utility opens up. Type in (exactly)UserAccount where PasswordExpires=TRUE set PasswordExpires=FALSEand then Press EnterScreen Shot 2013-07-15 at 12.04.517.A message appears with a Y/N option for each user account on the computer. Press Y for each, and then press EnterScreen Shot 2013-07-15 at 12.05.478. You should see the message "Update Successful" - you can now close the command line window, and will never have the annoyance of Windows requiring you to change your passwords again!Screen Shot 2013-07-15 at 12.05.57 Troubleshooting: If you get an error running the command, it most likely means that it cannot write to the accounts and are not running the command as Administrator. Its really important that you do this (see Step 4 above).