Right click on Start select Run, then type:
lusrmgr.msc
In window that shows select Users, then user (usually “Administrator” is the user), right click > Properties and tick Password never expires under General tab.