Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I want to change a user from normal user to administrator in command-line. Is this possible? What command should I use?
Net group is the command your seeking.
add user to local administrator group:
net group administrators /add adminguy
Required, but never shown