Wednesday, January 02, 2013

How to add a Windows user to a group from command line

net localgroup administrators timus /add

Where administrators is the group that timus will be added. Of course, you need to have administrative privileges to do this.

No comments:

Install Winget on Windows 2022 or Windows 10 LSTC

Install Winget on Windows 2022 or Windows 10 LTSC Install Pre-reqs Install Microsoft.UI.Xaml/2.8.6 Navigate to https://www.nuget.org/pa...