How to Add an Account to a Windows Computer

  1. Home
  2. Windows
  3. Windows 10

How do you add a domain account as a local admin on a Windows 10 computer locally?


Neally
Neally This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Apr 19, 2021 at 15:47 UTC

RDB001 wrote:

How do you add a domain account as a local admin on a Windows 10 computer locally?

Like manually?

Open 'lusrmgr.msc' -> Groups -> Administrators -> Add -> choose the domain account to add to the local admin group


Or via PowerShell (run it as admin)

                                                # To add                        Add-LocalGroupMember                        -Group                        administrators                        -Member                        $Username_Here                        # to check                        Get-LocalGroupMember                        -Group                        administrators                      
Popular Topics in Windows 10

The help desk software for IT. Free.

Track users' IT needs, easily, and with only the features you need.

9 Replies

TheEliteBond

Good Morning.

Recently, I have noticed an issue with a Windows Update that has blocked the visual GUI to make these changes through Computer Management, so I have been using PowerShell to manually add a user or add users (local or domain) to different Group Memberships accordingly.

Get-LocalUser (displays current local users)

New-LocalUser (adds a local user)

New-GroupMember (adds or changes local group members - can add or change via local or domain level users)

Neally
Neally This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Apr 19, 2021 at 15:47 UTC

RDB001 wrote:

How do you add a domain account as a local admin on a Windows 10 computer locally?

Like manually?

Open 'lusrmgr.msc' -> Groups -> Administrators -> Add -> choose the domain account to add to the local admin group


Or via PowerShell (run it as admin)

                                                            # To add                              Add-LocalGroupMember                              -Group                              administrators                              -Member                              $Username_Here                              # to check                              Get-LocalGroupMember                              -Group                              administrators                            
Neally
Neally This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Apr 19, 2021 at 15:48 UTC

TheEliteBond wrote:

Recently, I have noticed an issue with a Windows Update that has blocked the visual GUI to make these changes through Computer Management

Can you elaborate?

m@ttshaw

add the account to the local administrators group.

Pre-requisite - the computer is domain joined.
To do this open computer management, select local users and groups. open the administrators group. Click add - make sure to then change the selection from local computer to the domain. type in username/search. find correct one. click add or apply as appropriate. Close.

Now the account is a local admin.

Vexx
Vexx This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Apr 19, 2021 at 17:59 UTC

I use command prompt (admin).

net localgroup administrators [domain]\[username] /add

then doublecheck by listing users in the administrators group with:

net localgroup administrators

Neally
Neally This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Apr 19, 2021 at 18:02 UTC

Vexx wrote:

I use command prompt (admin).

net localgroup administrators [domain]\[username] /add

then doublecheck by listing users in the administrators group with:

net localgroup administrators

Vexx
TheEliteBond

Yes, in my particular situation, when I access the Local Users and Groups option in Computer Management, it's completely blank and says: There are no items to show in this view." This occurs on any work station or non - DNS role based server that I have in my environment. I have contacted Microsoft and they indicated that this is an issue that they will get back to me on.

So, in my situation, I have found it easier to make all this adjustments via PowerShell Script. With the use of PDQ Inventory, I can push these changes on single or multiple PC's across the board effortlessly.

jarmbrister
jarmbrister This person is a Verified Professional
This person is a verified professional.
Verify your account to enable IT peers to see that you are a professional.
Apr 20, 2021 at 17:35 UTC

Neally wrote:

RDB001 wrote:

How do you add a domain account as a local admin on a Windows 10 computer locally?

Like manually?

Open 'lusrmgr.msc' -> Groups -> Administrators -> Add -> choose the domain account to add to the local admin group

Absolutely correct, but with one caveat that the OP may find out the hard way: you have to do this as a user who ALREADY has admin rights. If you're hoping to elevate your domain user to local admin status (so you can do things that are currently blocked by group policy) you're not going to have much luck.

How to Add an Account to a Windows Computer

Source: https://community.spiceworks.com/topic/2315020-add-domain-account-as-local-admin

0 Response to "How to Add an Account to a Windows Computer"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel