Page 1 of 1

Edit Group Policy with Batch File

Posted: 10 Apr 2016 20:24
by Ones_Zeros
Hello,

I made some edits in Group Policy on a local Win7 computer

I disabled "Don't run specific Windows Applications" in group policy & this
works fine, but I would
Like to create batch files to do this.

How can i configure 2 batch files, Example: the names of the batch files
Would be (Enable & Disable) so that when I click on

The Enable batch file it would enable the user to run the program
& if I click the Disable batch file it would disable the user to run the program

What would be the correct batch file syntax to edit Group policy?

Thanks