This is not possible on a Home Premium version of windows, and needs a Business or Pro version or higher, as it requires local group policies to exist.
If you upgrade windows 7 to Business Premium, then the following part of the answer can be used:
You can do this from Computer Management.
Go to the control panel, Administrative tools, then Computer management.
In the left menu, find Local Users and Groups.
Open it, and go to Users.
You will find a list of all users on your computer.
Double click the user you want to edit.
You will find a box that says [ ] User must change password at next logon
. Check the box and hit ok.
This option will be grayed out for domain users because domain users are controlled through Active Directory. I know this is not applicable for you, but I'm listing this in case someone else finds this that has a pc that is joined to a domain.
This feature exists in every NT version of windows, going back to Windows NT 4. It also is included in Windows 10.
Is there maybe any method of doing this directly with regedit or something like that? – BigBelly – 2018-06-23T21:14:03.900
Not to my knowledge. – LPChip – 2018-06-23T21:14:30.523
If it is your goal to install windows to a pc, then place it at a customer site and have them come up with a password once, you could consider creating a slipstreamed install and abort the install once the "create user" screen comes up, and let them execute that stage. Its an out-of-box experience. – LPChip – 2018-06-23T21:16:41.013
I'm giving away an older laptop for a charity fund raiser. I've restored it to factory specs, applied a ton of windows updates, remove bloatware, etc. But I would like the user to force the new owner to change his/her password. So it's a one time afair really. – BigBelly – 2018-06-23T21:24:04.400
I would remove the password then and make setting a password something the new owner must do. Not make any hastle of this. – LPChip – 2018-06-24T10:44:12.607