Skip to content

Commit 3959fc5

Browse files
authored
Updates from editor
1 parent 6a0c06e commit 3959fc5

File tree

2 files changed

+18
-18
lines changed

2 files changed

+18
-18
lines changed

support/windows-server/system-management-components/troubleshooting-task-scheduler-access-denied-error.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
2-
title: Troubleshooting Task Scheduler "Access Denied" error
3-
description: Introduce how to troubleshoot the "Access Denied" error that occurs when you use Task Scheduler.
2+
title: Resolve Task Scheduler Access Denied Error
3+
description: Introduce how to resolve the Access Denied error that occurs when you use Task Scheduler.
44
ms.date: 03/19/2025
55
manager: dcscontentpm
66
audience: itpro
@@ -10,7 +10,7 @@ ms.custom:
1010
- sap:system management components\Task Scheduler
1111
- pcy:WinComm User Experience
1212
---
13-
# Troubleshooting Task Scheduler "Access Denied" error
13+
# "Access Denied" error when using Task Scheduler
1414

1515
When using Task Scheduler, you receive the following error message:
1616

@@ -20,39 +20,39 @@ When using Task Scheduler, you receive the following error message:
2020

2121
The issue occurs due to one of the following reasons:
2222

23-
1. The user account that you used to run the task doesn't have the necessary administrative privileges.
24-
2. Permissions of the C:\\Windows\\System32\\Tasks folder were changed.
25-
3. The task is configured to run with a specific set of credentials that differ from your current user account.
23+
- The user account that you used to run the task doesn't have the necessary administrative privileges.
24+
- The permissions for the **C:\\Windows\\System32\\Tasks** folder were changed.
25+
- The task is configured to run with a specific set of credentials that differ from your current user account.
2626

2727
> [!NOTE]
28-
> If you're connecting to a remote host using *mmc.exe* with the Task Scheduler snap-in or *taskschd.msc* console using a regular account, it's expected to receive an access denied error. Only accounts that are part of the Local Administrators group or Domain Administrator are allowed to remotely manage a system. For security reasons, a non-administrator user can't view or manage a Windows Task Scheduler task created by another user. For more information, see [What's New in Task Scheduler](/windows/win32/taskschd/what-s-new-in-task-scheduler#windows-10-and-windows-server-2016).
28+
> If you connect to a remote host using **mmc.exe** with the Task Scheduler snap-in or **taskschd.msc** console using a regular account, it's expected to receive an access denied error. Only accounts that are part of the Local Administrators group or Domain Administrators group are allowed to remotely manage a system. For security reasons, a non-administrator user can't view or manage a Windows Task Scheduler task created by another user. For more information, see [What's New in Task Scheduler](/windows/win32/taskschd/what-s-new-in-task-scheduler#windows-10-and-windows-server-2016).
2929
30-
## Resolutions
30+
## Resolution
3131

3232
To resolve this issue, use one of the following methods.
3333

34-
### Run Task Scheduler as Administrator
34+
### Run Task Scheduler as administrator
3535

36-
Right-click on Task Scheduler and select "Run as administrator." This approach can often resolve access issues.
36+
Right-click **Task Scheduler** and select **Run as administrator**. This approach can often resolve access issues.
3737

38-
### Check User Account Permissions
38+
### Check user account permissions
3939

4040
Ensure that the user account you're using has the necessary permissions to run the task. You might need to add your user account to the Administrators group.
4141

42-
### Modify Task Properties
42+
### Modify task properties
4343

44-
1. Open **Task Scheduler**, find the task causing the issue, right-click on it, and select **Properties**.
44+
1. Open **Task Scheduler**, find the task causing the issue, right-click it, and select **Properties**.
4545
2. Go to the **General** tab and select **Run with highest privileges**.
4646

47-
### Check Group Policy Settings
47+
### Check Group Policy settings
4848

49-
1. Open the Group Policy Editor by typing *gpedit.msc* in the Run box.
49+
1. Open the Group Policy Editor by typing **gpedit.msc** in the **Run** box.
5050
2. Navigate to **Computer Configuration** > **Windows Settings** > **Security Settings** > **Local Policies** > **User Rights Assignment**.
5151
3. Ensure that your user account has the **Log on as a batch job** right.
5252

53-
### Manual Task Re-Initialization
53+
### Manual task re-initialization
5454

55-
1. Export a problematic task to an XML file before deletion. To do so, run the following command:
55+
1. Export the problematic task to an XML file before deleting it. To do so, run the following command:
5656

5757
```powershell
5858
Export-ScheduledTask -TaskName "<task_name>" -FilePath "<backup_xml_file_path>"

support/windows-server/toc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2577,7 +2577,7 @@ items:
25772577
href: ./system-management-components/scheduled-tasks-reference-incorrect-user-profile.md
25782578
- name: Troubleshoot issues with scheduled tasks not running
25792579
href: ./system-management-components/troubleshoot-scheduled-tasks-not-running.md
2580-
- name: Troubleshooting Task Scheduler "Access Denied" error
2580+
- name: Resolve Task Scheduler "Access Denied" error
25812581
href: ./system-management-components/troubleshooting-task-scheduler-access-denied-error.md
25822582
- name: WinRM
25832583
items:

0 commit comments

Comments
 (0)