Is it possible to use batch scripting to retrieve Window Server Group Policy Value? RRS feed

  • Question

  • Is there any batch command that will allow me to retrieve the value of the particular group policy in window server? Some thing like gpedit.msc did, but I want it in command line cause I want to convert those value to the format that I want.

    Example: If I open gpedit.msc, then I navigate to Computer Configuration\Windows Settings\Security Settings\Local Policies\User Rights Assignment\Restore files and directories then I can get the value (Administrators, Backup Operators) of this policy.

    Any ways in batch scripting can get me to this path and capture the value?

    Thanks, your help is very much appreciated.

    Wednesday, July 23, 2014 1:41 AM