Edit already existing Scheduled Task through GPO
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
add a comment |
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
add a comment |
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
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
windows-7 group-policy system-restore windows-task-scheduler
edited May 26 '18 at 18:24
fixer1234
18.7k144882
18.7k144882
asked Aug 6 '14 at 13:17
JamesJames
583515
583515
add a comment |
add a comment |
3 Answers
3
active
oldest
votes
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
add a comment |
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
add a comment |
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.
add a comment |
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
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
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
add a comment |
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
add a comment |
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
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
answered Aug 14 '14 at 9:14
JamesJames
583515
583515
add a comment |
add a comment |
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
add a comment |
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
add a comment |
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
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
answered Dec 12 '18 at 15:42
user2970749user2970749
1
1
add a comment |
add a comment |
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.
add a comment |
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.
add a comment |
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.
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.
edited Aug 11 '14 at 6:50
answered Aug 8 '14 at 11:53
MatzeMatze
205212
205212
add a comment |
add a comment |
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.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
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
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
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