• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 216
  • Last Modified:

Create a new local user for all machines,

How can I create a new user with unlock permission only for all machines in a domain using group policy or any other tool?
Thanks for any help,
  • 3
1 Solution
open text file
write :
@echo off
net user <username1>  <password1>  /add
net user <username2>  <password2>  /add
Save as .bat file
include it as a start up script in  GPO.
Link it to the OU contains the required computer.
romariAuthor Commented:
this is to create the user but how to give it the unlock privilge only? I don't want it to be a local administrator, but only to unlock the workstation if another user has locked it.
Lukasz ChmielewskiCommented:
when user locks a desktop only he can provide a password to unlock it, either you choose a different name or unlock it with him. the other user must have enough permissions to unlock a workstation ie administrator
romariAuthor Commented:
There is no other way to give them unlock privilge only without full administrator privilge?
romariAuthor Commented:
Found a third party solution to this problem.
Thanks for all your help,
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now