{"id":19019,"date":"2022-09-26T09:28:05","date_gmt":"2022-09-26T09:28:05","guid":{"rendered":"https:\/\/www.top-password.com\/blog\/?p=19019"},"modified":"2022-09-26T09:28:05","modified_gmt":"2022-09-26T09:28:05","slug":"prevent-creating-new-scheduled-tasks-in-windows-11","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/prevent-creating-new-scheduled-tasks-in-windows-11\/","title":{"rendered":"Proven Way to Prevent Creating New Scheduled Tasks in Windows 11"},"content":{"rendered":"<p>How can I prevent users from creating new tasks in task scheduler? There is a group policy named &#8220;<em>Task Scheduler &#8211; Prohibit New Task Creation<\/em>&#8220;, but it works with Windows 2003\/XP only.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/gpo-prohibit-new-task-creation.png\" alt=\"\" width=\"525\" height=\"271\" class=\"alignnone size-full wp-image-19021\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/gpo-prohibit-new-task-creation.png 525w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/gpo-prohibit-new-task-creation-300x155.png 300w\" sizes=\"auto, (max-width: 525px) 100vw, 525px\" \/><\/p>\n<p>In this tutorial we&#8217;ll show you a proven way to prevent creating new scheduled tasks from either Task Scheduler or Command Prompt in Windows 11.<\/p>\n<p><strong>Part 1: Prevent Creating New Scheduled Tasks in Windows 11<\/strong><\/p>\n<ol>\n<li>Right-click the <strong>Start<\/strong> button from the taskbar, and then choose &#8220;<strong>Windows Terminal (Admin)<\/strong>&#8220;.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2021\/11\/open-windows-terminal.jpg\" alt=\"\" width=\"330\" height=\"349\" class=\"alignnone size-full wp-image-17304\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2021\/11\/open-windows-terminal.jpg 330w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2021\/11\/open-windows-terminal-284x300.jpg 284w\" sizes=\"auto, (max-width: 330px) 100vw, 330px\" \/>\n<\/li>\n<li>If Windows Terminal opens with a PowerShell prompt, click the downward arrow in the title bar, and select <strong>Command Prompt<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/windows-terminal-to-command-prompt.png\" alt=\"\" width=\"592\" height=\"248\" class=\"alignnone size-full wp-image-19022\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/windows-terminal-to-command-prompt.png 592w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/windows-terminal-to-command-prompt-300x126.png 300w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/>\n<\/li>\n<li>At the elevated Command Prompt, run the following commands to change permissions of the folder &#8220;<em>C:\\Windows\\System32\\Tasks<\/em>&#8221; and grant read &amp; execute rights to <code>Authenticated Users<\/code> only.<br \/>\n<code>cacls C:\\Windows\\System32\\Tasks \/P \"Authenticated Users\":R<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/prevent-creating-new-scheduled-tasks.png\" alt=\"\" width=\"592\" height=\"172\" class=\"alignnone size-full wp-image-19023\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/prevent-creating-new-scheduled-tasks.png 592w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/prevent-creating-new-scheduled-tasks-300x87.png 300w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/>\n<\/li>\n<li>From now on, nobody can create a new task using Task Scheduler or elevated Command Prompt.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/task-scheduler-cannot-create-task.png\" alt=\"\" width=\"401\" height=\"159\" class=\"alignnone size-full wp-image-19025\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/task-scheduler-cannot-create-task.png 401w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/task-scheduler-cannot-create-task-300x119.png 300w\" sizes=\"auto, (max-width: 401px) 100vw, 401px\" \/>\n<\/li>\n<\/ol>\n<p><strong>Part 2: Restore Ability to Create New Scheduled Tasks in Windows 11<\/strong><\/p>\n<p>Whenever you need to allow users to create new tasks again, follow these steps:<\/p>\n<ol>\n<li><a href=\"https:\/\/www.top-password.com\/blog\/open-command-prompt-in-windows-11\/\">Open an elevated Command Prompt<\/a>, run this command to take ownership of the directory &#8220;<em>C:\\Windows\\System32\\Tasks<\/em>&#8220;.<br \/>\n<code>takeown \/f C:\\Windows\\System32\\Tasks \/r<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/takeown.png\" alt=\"\" width=\"592\" height=\"172\" class=\"alignnone size-full wp-image-19024\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/takeown.png 592w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/takeown-300x87.png 300w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/>\n<\/li>\n<li>Next, execute these commands to reset the folder permissions to defaults, and change ownership back.<br \/>\n<code>icacls C:\\Windows\\System32\\Tasks \/reset \/T \/Q \/C<br \/>\nicacls C:\\Windows\\System32\\Tasks \/setowner \"System\" \/t<\/code><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/restore-file-permissions-and-ownership.png\" alt=\"\" width=\"592\" height=\"172\" class=\"alignnone size-full wp-image-19026\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/restore-file-permissions-and-ownership.png 592w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/09\/restore-file-permissions-and-ownership-300x87.png 300w\" sizes=\"auto, (max-width: 592px) 100vw, 592px\" \/>\n<\/li>\n<li>When done, users can create new tasks from either Task Scheduler or elevated Command Prompt.<\/li>\n<\/ol>\n<p>That&#8217;s it!<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>How can I prevent users from creating new tasks in task scheduler? There is a group policy named &#8220;Task Scheduler &#8211; Prohibit New Task Creation&#8220;, but it works with Windows 2003\/XP only. In this tutorial we&#8217;ll show you a proven way to prevent creating new scheduled tasks from either Task Scheduler or Command Prompt in [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,10,4713],"tags":[5023,5024,5026,5025],"class_list":["post-19019","post","type-post","status-publish","format-standard","hentry","category-others","category-tips-tricks","category-windows-11","tag-prevent-creating-new-task-in-task-scheduler","tag-prevent-users-from-creating-new-task-windows-11","tag-prevent-users-from-creating-scheduled-tasks","tag-prohibit-new-task-creation-windows-11"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/19019","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/comments?post=19019"}],"version-history":[{"count":6,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/19019\/revisions"}],"predecessor-version":[{"id":19031,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/19019\/revisions\/19031"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=19019"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=19019"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=19019"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}