Using a batch file to edit Gpedit settings.
Posted: 01 Aug 2011 15:22
I know the basics of making a batch file in regards that they can only be made by using cmd commands. well I have to edit the GPedit.msc on 82 computers at work and I don't feel like doing them manually.
They are running XP Pro SP3 and I was wondering if there was a way of me being able to do a batch file that opens the gpedit.msc, add a script in the logon section of the user configuration, save the changes and closes the program.
i can do basic batch files but it has been a while since i have done one this advance and i have gotten rusty.
my main problem is that i do not know if gpedit.msc can be edited from the command line, all the articles i have read says that i will have to go through the GUI control to change the settings.
can any1 help?
They are running XP Pro SP3 and I was wondering if there was a way of me being able to do a batch file that opens the gpedit.msc, add a script in the logon section of the user configuration, save the changes and closes the program.
i can do basic batch files but it has been a while since i have done one this advance and i have gotten rusty.
my main problem is that i do not know if gpedit.msc can be edited from the command line, all the articles i have read says that i will have to go through the GUI control to change the settings.
can any1 help?