ojgarciah
asked on
set local password administrator using GPO
Hi you guys
Is it possible to set local administrator password to all users in my WK3 server using GPO? If it is, how?
In the same way, is it possible to set a user to be local administrator in a computer, if it is, how?
Thanks
Is it possible to set local administrator password to all users in my WK3 server using GPO? If it is, how?
In the same way, is it possible to set a user to be local administrator in a computer, if it is, how?
Thanks
No with a GPO as such bur see http://articles.techrepublic.com.com/5100-1035_11-5198818.html?tag=search
yes you can using startup script
net user administrator "password"
net user administrator "password"
The following command will add the logged in use to the Local Administrators group -
net localgroup Administrators %userdomain%\%username% /add
Of course the problem is that without being a member of the Local Administrators group in the first place this command will not work! The only way I can think of around this would be add the Domain Users group to the Domain Admins group, stick X-Reagent's command and my command in the network logon script and have everybody reboot their PCs and log in again. Now just remove Domain Users from Domain Admins.
Bit of a dodgy way of doing it, but depending on your scenario it may be of some use.
net localgroup Administrators %userdomain%\%username% /add
Of course the problem is that without being a member of the Local Administrators group in the first place this command will not work! The only way I can think of around this would be add the Domain Users group to the Domain Admins group, stick X-Reagent's command and my command in the network logon script and have everybody reboot their PCs and log in again. Now just remove Domain Users from Domain Admins.
Bit of a dodgy way of doing it, but depending on your scenario it may be of some use.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.