Edit Group Policy with Batch File

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
Ones_Zeros
Posts: 4
Joined: 10 Apr 2016 20:16

Edit Group Policy with Batch File

#1 Post by Ones_Zeros » 10 Apr 2016 20:24

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

Post Reply