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?
Using a batch file to edit Gpedit settings.
Moderator: DosItHelp
Re: Using a batch file to edit Gpedit settings.
'
I advise AutoIT ( it's free, BASIC &extremely powerfull ).
Then you will have to escape to a language that can handle GUI.i will have to go through the GUI control to change the settings.
I advise AutoIT ( it's free, BASIC &extremely powerfull ).
Code: Select all
MouseClick ( $MouseButton, $x, $y )