Edit already existing Scheduled Task through GPO












1















I have been searching for a while but not getting much out of my trusty friend Google at the moment, so wondering if someone else out there might be able to share some wisdom.



By default, Windows has a Scheduled Task under Task Scheduler Library > Microsoft > Windows > SystemRestore called SR. This is set to run daily on System Startup and at Midnight however I would like it to run a little more frequently.

Obviously I can modify this manually on the odd machine, however I want to change the settings across multiple machines through GPO.



I know how to create a scheduled task in GPO but how to I edit the already created task under the above location?



Any Ideas?



Thanks James :)










share|improve this question





























    1















    I have been searching for a while but not getting much out of my trusty friend Google at the moment, so wondering if someone else out there might be able to share some wisdom.



    By default, Windows has a Scheduled Task under Task Scheduler Library > Microsoft > Windows > SystemRestore called SR. This is set to run daily on System Startup and at Midnight however I would like it to run a little more frequently.

    Obviously I can modify this manually on the odd machine, however I want to change the settings across multiple machines through GPO.



    I know how to create a scheduled task in GPO but how to I edit the already created task under the above location?



    Any Ideas?



    Thanks James :)










    share|improve this question



























      1












      1








      1


      1






      I have been searching for a while but not getting much out of my trusty friend Google at the moment, so wondering if someone else out there might be able to share some wisdom.



      By default, Windows has a Scheduled Task under Task Scheduler Library > Microsoft > Windows > SystemRestore called SR. This is set to run daily on System Startup and at Midnight however I would like it to run a little more frequently.

      Obviously I can modify this manually on the odd machine, however I want to change the settings across multiple machines through GPO.



      I know how to create a scheduled task in GPO but how to I edit the already created task under the above location?



      Any Ideas?



      Thanks James :)










      share|improve this question
















      I have been searching for a while but not getting much out of my trusty friend Google at the moment, so wondering if someone else out there might be able to share some wisdom.



      By default, Windows has a Scheduled Task under Task Scheduler Library > Microsoft > Windows > SystemRestore called SR. This is set to run daily on System Startup and at Midnight however I would like it to run a little more frequently.

      Obviously I can modify this manually on the odd machine, however I want to change the settings across multiple machines through GPO.



      I know how to create a scheduled task in GPO but how to I edit the already created task under the above location?



      Any Ideas?



      Thanks James :)







      windows-7 group-policy system-restore windows-task-scheduler






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited May 26 '18 at 18:24









      fixer1234

      18.7k144882




      18.7k144882










      asked Aug 6 '14 at 13:17









      JamesJames

      583515




      583515






















          3 Answers
          3






          active

          oldest

          votes


















          0














          Thanks @Matze




          "I have been searching myself high and low for a solution to this question. Even creating a scheduled task item within group-policy preferences that has the exact same name doesnt work."




          Like you, I tried creating a scheduled task that was called the same name as the existing one and modifying it that way but that didn't work either.



          In the end I had to go for creating a new one with the times that I wanted that just sits in the root of the Task Scheduler Library.




          "The only way I can think of is attaching a PowerShell startup script to your GPO, that for instance utilizes the Set-ScheduledTask Cmdlet."




          I would be interested to know how you would create the script in PowerShell? I have no exposure to PowerShell and sadly my coding skills are minimal :/.



          Thanks for your response on this though :)



          J






          share|improve this answer































            0














            I would be interested to know how you would create the script in PowerShell?
            I would recommend you use the native schtasks.exe command for this as the Set-ScheduledTask Cmdlet is overly complicated. You can use schtasks.exe from within a Powershell script, however.



            Thanks






            share|improve this answer































              -1














              I have been searching myself high and low for a solution to this question. Even creating a scheduled task item within group-policy preferences that has the exact same name doesnt work.



              The only way I can think of is attaching a PowerShell startup script to your GPO, that for instance utilizes the Set-ScheduledTask Cmdlet.






              share|improve this answer

























                Your Answer








                StackExchange.ready(function() {
                var channelOptions = {
                tags: "".split(" "),
                id: "3"
                };
                initTagRenderer("".split(" "), "".split(" "), channelOptions);

                StackExchange.using("externalEditor", function() {
                // Have to fire editor after snippets, if snippets enabled
                if (StackExchange.settings.snippets.snippetsEnabled) {
                StackExchange.using("snippets", function() {
                createEditor();
                });
                }
                else {
                createEditor();
                }
                });

                function createEditor() {
                StackExchange.prepareEditor({
                heartbeatType: 'answer',
                autoActivateHeartbeat: false,
                convertImagesToLinks: true,
                noModals: true,
                showLowRepImageUploadWarning: true,
                reputationToPostImages: 10,
                bindNavPrevention: true,
                postfix: "",
                imageUploader: {
                brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
                contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
                allowUrls: true
                },
                onDemand: true,
                discardSelector: ".discard-answer"
                ,immediatelyShowMarkdownHelp:true
                });


                }
                });














                draft saved

                draft discarded


















                StackExchange.ready(
                function () {
                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f793233%2fedit-already-existing-scheduled-task-through-gpo%23new-answer', 'question_page');
                }
                );

                Post as a guest















                Required, but never shown

























                3 Answers
                3






                active

                oldest

                votes








                3 Answers
                3






                active

                oldest

                votes









                active

                oldest

                votes






                active

                oldest

                votes









                0














                Thanks @Matze




                "I have been searching myself high and low for a solution to this question. Even creating a scheduled task item within group-policy preferences that has the exact same name doesnt work."




                Like you, I tried creating a scheduled task that was called the same name as the existing one and modifying it that way but that didn't work either.



                In the end I had to go for creating a new one with the times that I wanted that just sits in the root of the Task Scheduler Library.




                "The only way I can think of is attaching a PowerShell startup script to your GPO, that for instance utilizes the Set-ScheduledTask Cmdlet."




                I would be interested to know how you would create the script in PowerShell? I have no exposure to PowerShell and sadly my coding skills are minimal :/.



                Thanks for your response on this though :)



                J






                share|improve this answer




























                  0














                  Thanks @Matze




                  "I have been searching myself high and low for a solution to this question. Even creating a scheduled task item within group-policy preferences that has the exact same name doesnt work."




                  Like you, I tried creating a scheduled task that was called the same name as the existing one and modifying it that way but that didn't work either.



                  In the end I had to go for creating a new one with the times that I wanted that just sits in the root of the Task Scheduler Library.




                  "The only way I can think of is attaching a PowerShell startup script to your GPO, that for instance utilizes the Set-ScheduledTask Cmdlet."




                  I would be interested to know how you would create the script in PowerShell? I have no exposure to PowerShell and sadly my coding skills are minimal :/.



                  Thanks for your response on this though :)



                  J






                  share|improve this answer


























                    0












                    0








                    0







                    Thanks @Matze




                    "I have been searching myself high and low for a solution to this question. Even creating a scheduled task item within group-policy preferences that has the exact same name doesnt work."




                    Like you, I tried creating a scheduled task that was called the same name as the existing one and modifying it that way but that didn't work either.



                    In the end I had to go for creating a new one with the times that I wanted that just sits in the root of the Task Scheduler Library.




                    "The only way I can think of is attaching a PowerShell startup script to your GPO, that for instance utilizes the Set-ScheduledTask Cmdlet."




                    I would be interested to know how you would create the script in PowerShell? I have no exposure to PowerShell and sadly my coding skills are minimal :/.



                    Thanks for your response on this though :)



                    J






                    share|improve this answer













                    Thanks @Matze




                    "I have been searching myself high and low for a solution to this question. Even creating a scheduled task item within group-policy preferences that has the exact same name doesnt work."




                    Like you, I tried creating a scheduled task that was called the same name as the existing one and modifying it that way but that didn't work either.



                    In the end I had to go for creating a new one with the times that I wanted that just sits in the root of the Task Scheduler Library.




                    "The only way I can think of is attaching a PowerShell startup script to your GPO, that for instance utilizes the Set-ScheduledTask Cmdlet."




                    I would be interested to know how you would create the script in PowerShell? I have no exposure to PowerShell and sadly my coding skills are minimal :/.



                    Thanks for your response on this though :)



                    J







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Aug 14 '14 at 9:14









                    JamesJames

                    583515




                    583515

























                        0














                        I would be interested to know how you would create the script in PowerShell?
                        I would recommend you use the native schtasks.exe command for this as the Set-ScheduledTask Cmdlet is overly complicated. You can use schtasks.exe from within a Powershell script, however.



                        Thanks






                        share|improve this answer




























                          0














                          I would be interested to know how you would create the script in PowerShell?
                          I would recommend you use the native schtasks.exe command for this as the Set-ScheduledTask Cmdlet is overly complicated. You can use schtasks.exe from within a Powershell script, however.



                          Thanks






                          share|improve this answer


























                            0












                            0








                            0







                            I would be interested to know how you would create the script in PowerShell?
                            I would recommend you use the native schtasks.exe command for this as the Set-ScheduledTask Cmdlet is overly complicated. You can use schtasks.exe from within a Powershell script, however.



                            Thanks






                            share|improve this answer













                            I would be interested to know how you would create the script in PowerShell?
                            I would recommend you use the native schtasks.exe command for this as the Set-ScheduledTask Cmdlet is overly complicated. You can use schtasks.exe from within a Powershell script, however.



                            Thanks







                            share|improve this answer












                            share|improve this answer



                            share|improve this answer










                            answered Dec 12 '18 at 15:42









                            user2970749user2970749

                            1




                            1























                                -1














                                I have been searching myself high and low for a solution to this question. Even creating a scheduled task item within group-policy preferences that has the exact same name doesnt work.



                                The only way I can think of is attaching a PowerShell startup script to your GPO, that for instance utilizes the Set-ScheduledTask Cmdlet.






                                share|improve this answer






























                                  -1














                                  I have been searching myself high and low for a solution to this question. Even creating a scheduled task item within group-policy preferences that has the exact same name doesnt work.



                                  The only way I can think of is attaching a PowerShell startup script to your GPO, that for instance utilizes the Set-ScheduledTask Cmdlet.






                                  share|improve this answer




























                                    -1












                                    -1








                                    -1







                                    I have been searching myself high and low for a solution to this question. Even creating a scheduled task item within group-policy preferences that has the exact same name doesnt work.



                                    The only way I can think of is attaching a PowerShell startup script to your GPO, that for instance utilizes the Set-ScheduledTask Cmdlet.






                                    share|improve this answer















                                    I have been searching myself high and low for a solution to this question. Even creating a scheduled task item within group-policy preferences that has the exact same name doesnt work.



                                    The only way I can think of is attaching a PowerShell startup script to your GPO, that for instance utilizes the Set-ScheduledTask Cmdlet.







                                    share|improve this answer














                                    share|improve this answer



                                    share|improve this answer








                                    edited Aug 11 '14 at 6:50

























                                    answered Aug 8 '14 at 11:53









                                    MatzeMatze

                                    205212




                                    205212






























                                        draft saved

                                        draft discarded




















































                                        Thanks for contributing an answer to Super User!


                                        • Please be sure to answer the question. Provide details and share your research!

                                        But avoid



                                        • Asking for help, clarification, or responding to other answers.

                                        • Making statements based on opinion; back them up with references or personal experience.


                                        To learn more, see our tips on writing great answers.




                                        draft saved


                                        draft discarded














                                        StackExchange.ready(
                                        function () {
                                        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f793233%2fedit-already-existing-scheduled-task-through-gpo%23new-answer', 'question_page');
                                        }
                                        );

                                        Post as a guest















                                        Required, but never shown





















































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown

































                                        Required, but never shown














                                        Required, but never shown












                                        Required, but never shown







                                        Required, but never shown







                                        Popular posts from this blog

                                        How to make a Squid Proxy server?

                                        Is this a new Fibonacci Identity?

                                        19世紀