Jump to content

Recommended Posts

Posted

I've recently7 taken over a site which has a mish mash of local admin usernames and password - sometimes we need to log in locally in order to troubleshoot

 

is there a way of universally setting a local admin username and password via GPO?

Posted
Which version of Windows Server are your DC's running? I think anything above 2008R2 includes Group Policy Preferences. What you want to do can be done very easily within there.
Posted
We do the same here -

 

Create a batch script with "net user administrator password"

Deploy it on all PCs

 

This would work great if the user accounts where called 'administrator' - however unfortunately they aren't, some aren't even close to that

Posted
This would work great if the user accounts where called 'administrator' - however unfortunately they aren't, some aren't even close to that

 

But doing this will create the account administrator - thus giving you local administrator access to the PCs.

 

You might need to enable it so:

 

net user administrator /enable:yes

net user administrator /active:yes

  • Thanks 1
Posted
is there a way of universally setting a local admin username and password via GPO?

AdmPwd perhaps?

 

Local admin password management solution works using GPO and custom Client-Side GPO Extension. Solution periodically changes pwd of admin account to random value; it stores current builtin admin password in AD confidential attribute on computer account.
Posted
But doing this will create the account administrator - thus giving you local administrator access to the PCs.

 

You might need to enable it so:

 

net user administrator /enable:yes

net user administrator /active:yes

 

wanted to try leave this default account disabled but at the moment its looking like the best option, thanks for the advice I'll give it a whirl

Posted
wanted to try leave this default account disabled but at the moment its looking like the best option, thanks for the advice I'll give it a whirl

 

well just change

 

Create a batch script with "net user administrator password"

 

to Create a batch script with "net user marvin password"

 

marvin being whatever you want to call your account

Posted
well just change

 

Create a batch script with "net user administrator password"

 

to Create a batch script with "net user marvin password"

 

marvin being whatever you want to call your account

 

that doesn't work, the account already has to exist

Posted
that doesn't work, the account already has to exist

 

ive just managed it on the pc im sat at (win7x64)

 

net user marvin password /add

 

then use gpp to add that user to local administrators group

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...