Windows 7 Home Premium: turn off password expiration

I use Windows 7 Home Premium as the OS in the various virtual machines I run. This is a space saving thing more than anything: I've limited the boot drive space to 20GB on my base VM so that I can have as many cloned VMs as I want on my external drive, and I'm assuming that Ultimate takes up a lot more room. Anyway...

The base install of Win7 Home Premium sets passwords to expire after 42 days. For a VM this is somewhat overkill (after all, I have to log in to my real machine in order to run the VM), so, today when I tried to log in and the OS came up with "your password has expired, change it" I decided to fix it instead.

Unfortunately the standard way of fixing this (running lusrmgr.msc -- just enter that in the Start search box) doesn't work in the Home Premium version because the snap-in it runs isn't present. Bah. Instead you have open up a Command Prompt as administrator (type "Command Prompt" in the Start search box and instead of just pressing Enter as normal, you right-click the menu item for it and select "Run as administrator") and type the following command at the prompt:

net accounts /maxpwage:unlimited

and press Enter. That should do it. (If you get access error 5, you didn't run Command Prompt as administrator.)

Posted via email from Julian's posterous


Posts on similar topics...

5 Responses

  • Fri 29 Jan 2010
  • 12:43 PM
  •  avatar #1

Bob E said...

Thank you! Thank you!

I used to love Windows, but now I feel like an idiot. They’ve hidden everything, it’s absolutely ridiculous. I never had a virus I couldn’t fix, but I’ve found tons of new Microsoft “improvements” that logic does just not follow. I can’t wait for Google to make an open source operating systems!!!

  • Fri 29 Jan 2010
  • 7:07 PM
  • julian m bucknall avatar #2

julian m bucknall said...

Bob: Glad I could help! The "net" command is a handy command line program -- it has other uses for different parameters, type "net /help" to find others.

Cheers, Julian

  • Mon 09 Aug 2010
  • 8:16 PM
  •  avatar #3

Gustavo said...

Tank Julian, this tip works like a charm

  • Mon 20 Sep 2010
  • 11:27 AM
  •  avatar #4

Geert-Jan said...

Good tip!! thanks! Why this is hidden / disabled in Win7 is beyond me, I understand that the average home user needs some protection from messing with 'advanced' settings but this should at least be available 'somewhere' :(

  • Fri 12 Aug 2011
  • 11:49 AM
  •  avatar #5

Kevin said...

Great tip thanks. It's been driving my wife mad having to change her password all the time, this has solved it.

Why doesn't the Bill Gates mob tell us things like this?

Leave a Response

Some MarkDown is allowed, but HTML is not. (Click to learn more.)

  • Emphasize with italics: surround word with underscores _emphasis_
  • Emphasize strongly: surround word with double-asterisks **strong**
  • Inline code: surround text with backticks `IEnumerable`
  • Unordered list: start each line with an asterisk, space * an item
  • Ordered list: start each line with a digit, period, space 1. an item
  • Insert code block: start each line with four spaces
  • Insert blockquote: start each line with right-angle-bracket, space > Now is the time...

Search

About Me

I'm Julian M Bucknall, the M because it's my middle initial and because I and the other Julian Bucknall (the movie guy) would like to differentiate ourselves.

I'm a programmer by trade, an actor by ambition, and an algorithms guy by osmosis. I write articles for PCPlus in my spare time, not that there's much of that.

Julian M Bucknall Apart from that, an ex-pat Brit, atheist, microbrew enthusiast, Pet Shop Boys fanboy, slide rule and HP calculator collector, amateur photographer, Altoids muncher.

DevExpress

I'm Chief Technology Officer at Developer Express, a software company that writes some great controls and tools for .NET and Delphi. I'm responsible for the technology oversight and vision of the company.

Validation

Validate markup as HTML5 (beta)     Validate CSS

Bottom swirl

Archives

February 2012 (6)
SMTWTFS
« Jan  
1234
567891011
12131415161718
19202122232425
26272829

Like this Archive Calendar widget? Download it here.

Social networking

Google ads

The OUT Campaign

The OUT Campaign

My Tweets

  • LOL! RT @secretGeek: Watching the NoCss movement gain momentum
  • Blog post: More on caring less about clichés, or not http://t.co/P1Unt4y9
  • @peterritchie Oh my god, the HAIR! It's all over his head! Ewwww. /cc @MillerMark
Bottom swirl