Skip to main content

Windows: Set Account Expire

Illustrated: Expired

Forget is human being's nature. Let's set account to expire automatically for contractors, temporary employees

net user username /expire:12/31/2019

Replace username with the account to be expired. If run successfully, that account will be expired at 00:00 December 31st, 2019

Popular posts from this blog

Red Hat: Notes

Docker for Windows: Access Denied

Today, I get this error when running Docker for Windows on Windows 10 Build 1803. So, I check my current username (run whoami ) and add that user to docker-users local group, which has only NT AUTHORITY\SYSTEM account in members list. I must log out and log in again to run Docker for Windows.