Sunday, April 11, 2021

Creating new Windows admnistrator user from the command line

Creating new Windows admnistrator user from the command line

I am not quite comfortable with too few options available when creating a new user in Windows 10 Home edition, so I do the following.

c:\> net user timus P@$$w0rd123!@# /add /Passwordchg:No
c:\> WMIC USERACCOUNT WHERE "Name='timus'" SET PasswordExpires=FALSE
c:\> net localgroup administrators timus /add

No comments:

Installing TigerVNC in Ubuntu 24.04

Installing TigerVNC in Ubuntu 24.04 Ubuntu 24.04 supports RPD protocol but it behaves in a way that is not fit for my needs. The Desktop Sh...