none
powershell: change user rights assignment RRS feed

  • Question

  • I am a powershell novice. On a given windows 10 system, I restrict log on to a few domain users as follows:

    - run gpedit.msc

    - click on: Configure Computer -> Windows Settings -> Security Settings -> Local Policies -> User Rights Assignment -> Allow Log on Local -> add user (domain\userid)

    I would like to do the same thing using powershell commands. Is it possible to do that?

    thanks.

     
    • Moved by Bill_Stewart Wednesday, September 13, 2017 10:10 PM This is not "scripts on demand"
    Thursday, August 10, 2017 6:53 PM

All replies