Create a new local user for all machines,

Posted on 2009-02-17
Last Modified: 2012-05-06
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,
Question by:romari
    LVL 5

    Expert Comment

    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.

    Author Comment

    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.
    LVL 27

    Expert Comment

    by:Lukasz Chmielewski
    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

    Author Comment

    There is no other way to give them unlock privilge only without full administrator privilge?

    Accepted Solution

    Found a third party solution to this problem.
    Thanks for all your help,

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Hallo! I guess almost every Windows Administrator must have got stumped with this question "Where does WINDOWS store a users cached credentials? Every user who had once logged onto a Server/Desktop while it was connected to the domain could sti…
    Many times while working on a computer regardless of any Operating System, lag and crashes seem to creep in, hindering your working speed. Sometimes, it can also cause your work to be lost unexpectedly and as a result, you are unable to meet your de…
    Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
    In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …

    794 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now