Quantcast
Channel: PowerShell.org » All Posts
Viewing all articles
Browse latest Browse all 13067

Create new local admin user

$
0
0

Hi, I have a task to create a new local user on all clients in domain (windows server 2008 r2 f/d functional level – windows 7 clients) which would be a member of local admin group on these clients. Since using Group Policy Preferences to accomplish this is not viable option (if I am right MS does not allow creating local user using GPP since storing user password is security risk) PowerShell script as startup script deployed via GPO might be a solution. What that script would look like and how password for a user would be deployed (security risk compared to GPP)?


Viewing all articles
Browse latest Browse all 13067

Trending Articles