Skip to content
Documentation
Updated 12 minutes to read
Markdown

When monitoring remote Windows Scheduled Tasks with Nodinite, you may encounter permission issues, connectivity problems, or enumeration failures. This guide provides comprehensive troubleshooting steps to resolve common issues.

Before diving into detailed troubleshooting, verify these essential requirements:

# Requirement Status
1 Service account has Administrator rights on remote server
2 Remote Registry service is running on remote server
3 Firewall rules allow "Remote Scheduled Task Management"
4 File and Printer Sharing is enabled on remote server
5 Task Scheduler service is running on remote server
6 RPC/EPMAP ports are open between agent and remote server
7 Remote Event Log Management enabled (required for viewing task history)

Error: "0 tasks and 0 subfolders" (HRESULT: 0x80070032)

Section titled “Error: "0 tasks and 0 subfolders" (HRESULT: 0x80070032)”

Error message:

Remote Task Scheduler on 'ServerName' returned 0 tasks and 0 subfolders.
HRESULT: 0x80070032
This indicates a folder enumeration permission issue.

What this means: The connection succeeded (RPC endpoint responded), but the service account cannot enumerate the task folder tree. This is typically a permissions issue, not a connectivity problem.

Resolution: Follow steps in Service Account Permissions and Folder Enumeration Permissions.

Error: "Access Denied" (HRESULT: 0x80070005)

Section titled “Error: "Access Denied" (HRESULT: 0x80070005)”

Error message:

Access is denied.
HRESULT: 0x80070005

What this means: The service account lacks sufficient privileges to access the remote Task Scheduler service.

Resolution: Follow steps in Service Account Permissions.

Error: "The RPC server is unavailable" (HRESULT: 0x800706BA)

Section titled “Error: "The RPC server is unavailable" (HRESULT: 0x800706BA)”

Error message:

The RPC server is unavailable.
HRESULT: 0x800706BA

What this means: Network connectivity issue or firewall blocking RPC communication.

Resolution: Follow steps in Firewall Configuration and RPC Connectivity.


The Nodinite Windows Server Monitoring Agent service account must have Administrator rights on every remote server being monitored.

On the remote server, confirm the service account is in the local Administrators group:

  1. Open Computer Management (compmgmt.msc)
  2. Navigate to System Tools → Local Users and Groups → Groups
  3. Double-click Administrators
  4. Verify the Nodinite service account is listed (e.g., DOMAIN\NodiniteAgent)

Administrators Group
Example: Service account in local Administrators group.

Terminal window
# Check if account is in Administrators group on remote server
Invoke-Command -ComputerName RemoteServerName -ScriptBlock {
Get-LocalGroupMember -Group "Administrators" | Where-Object { $_.Name -like "*NodiniteAgent*" }
}

User Access Control (UAC) can filter administrative tokens for remote connections, causing "Access Denied" errors even when the service account is in the local Administrators group. This affects:

  • Domain controllers - when using domain admin accounts
  • Member servers - when using local administrator accounts
  • Any server - when UAC remote restrictions are enabled

Symptoms:

  • Error: Access is denied. (HRESULT: 0x80070005 E_ACCESSDENIED)
  • Error: System.UnauthorizedAccessException: Access is denied
  • Log shows: Failed to Get Windows Scheduled Tasks or Failed to get windows services
  • Service account is in Administrators group but still denied
Section titled “Option 1: Use Domain Administrator Account (Recommended)”

Use a service account that is a member of Domain Admins or Enterprise Admins. Domain admin accounts bypass UAC token filtering on domain-joined servers.

Option 2: Disable UAC Remote Token Filtering
Section titled “Option 2: Disable UAC Remote Token Filtering”

If you cannot use a domain admin account or are monitoring standalone/workgroup servers, disable UAC token filtering on the remote server:

Using PowerShell (on remote server):

Terminal window
# Set LocalAccountTokenFilterPolicy to disable UAC filtering
Set-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" `
-Name "LocalAccountTokenFilterPolicy" -Value 1 -PropertyType DWord -Force
# Verify the setting
Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" `
-Name "LocalAccountTokenFilterPolicy"

Registry details:

Path: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System
Name: LocalAccountTokenFilterPolicy
Type: DWORD
Value: 1 (Disabled UAC filtering for remote connections)
Value: 0 or not present (Enabled UAC filtering - default)

More information: Microsoft KB 942817 - UAC and remote restrictions


The RemoteRegistry service must be running on the remote server for Task Scheduler enumeration.

On the remote server:

  1. Open Services (services.msc)
  2. Locate Remote Registry
  3. Verify Status is "Running"
  4. Set Startup type to Automatic (or Manual)

Remote Registry Service
Example: Remote Registry service running.

Using PowerShell:

Terminal window
# Check service status on remote server
Get-Service -Name RemoteRegistry -ComputerName RemoteServerName
# Start the service if stopped
Start-Service -Name RemoteRegistry -ComputerName RemoteServerName
# Set to Automatic startup
Set-Service -Name RemoteRegistry -ComputerName RemoteServerName -StartupType Automatic

Windows Firewall must allow Remote Scheduled Task Management and related RPC traffic.

On the remote server, enable these inbound firewall rules:

  1. Open Windows Defender Firewall with Advanced Security (wf.msc)
  2. Click Inbound Rules
  3. Enable the following rules (if disabled):
    • Remote Scheduled Tasks Management (RPC)
    • Remote Scheduled Tasks Management (RPC-EPMAP)
    • File and Printer Sharing (SMB-In) (if needed for file shares)

Firewall Rules
Example: Required firewall rules enabled.

Terminal window
# Enable Remote Scheduled Tasks Management rules
Enable-NetFirewallRule -DisplayGroup "Remote Scheduled Tasks Management"
# Verify rules are enabled
Get-NetFirewallRule -DisplayGroup "Remote Scheduled Tasks Management"|
Select-Object DisplayName, Enabled, Direction

Expected output:

Terminal window
DisplayName Enabled Direction
----------- ------- ---------
Remote Scheduled Tasks Management (RPC) True Inbound
Remote Scheduled Tasks Management (RPC-EPMAP) True Inbound

To view the history of scheduled tasks on remote servers (via the View History action), you must also enable Remote Event Log Management firewall rules:

On the remote server:

Terminal window
# Enable Remote Event Log Management firewall rules
Enable-NetFirewallRule -DisplayGroup "Remote Event Log Management"
# Verify rules are enabled
Get-NetFirewallRule -DisplayGroup "Remote Event Log Management"|
Select-Object DisplayName, Enabled, Direction

Expected output:

Terminal window
DisplayName Enabled Direction
----------- ------- ---------
Remote Event Log Management (NP-In) True Inbound
Remote Event Log Management (RPC) True Inbound
Remote Event Log Management (RPC-EPMAP) True Inbound

If remote servers are in different network segments or behind corporate firewalls:

  • Allow RPC (TCP 135 and the dynamic RPC range) and SMB from the agent server; the firewall settings list every port.

Consult your network team to ensure these ports are allowed between the Nodinite agent server and remote servers.


File and Printer Sharing must be enabled for remote management operations.

On the remote server:

  1. Open Network and Sharing Center
  2. Click Change advanced sharing settings
  3. Expand the Domain profile (or Private if not domain-joined)
  4. Under File and printer sharing, select Turn on file and printer sharing
  5. Click Save changes

File and Printer Sharing
Example: File and printer sharing enabled.

Terminal window
# Enable File and Printer Sharing firewall rules
Set-NetFirewallRule -DisplayGroup "File and Printer Sharing" -Enabled True -Profile Domain

The Task Scheduler service (Schedule) must be running on the remote server.

On the remote server:

  1. Open Services (services.msc)
  2. Locate Task Scheduler
  3. Verify Status is "Running"
  4. Verify Startup type is Automatic

Using PowerShell:

Terminal window
# Check Task Scheduler service status
Get-Service -Name Schedule -ComputerName RemoteServerName
# Start the service if stopped
Start-Service -Name Schedule -ComputerName RemoteServerName

Remote Task Scheduler enumeration uses RPC (Remote Procedure Call) over TCP.

From the agent server, test RPC connectivity to the remote server:

Terminal window
# Test RPC connectivity using portqry (download from Microsoft)
portqry.exe -n RemoteServerName -e 135
# Alternative: Test WMI connectivity (uses RPC)
Get-WmiObject -Class Win32_OperatingSystem -ComputerName RemoteServerName

Expected result: If RPC is working, you'll see the remote OS details.

By default, Windows uses dynamic RPC ports (49152-65535 on modern Windows). For locked-down environments, you can configure a restricted RPC port range:

On the remote server (requires restart):

Terminal window
# Set RPC port range to 50000-50100 (example)
netsh int ipv4 set dynamicport tcp start=50000 num=100

Then update firewall rules to allow this specific range.


If you get "0 tasks and 0 subfolders" but no explicit "Access Denied", the service account may lack permissions on the Task Scheduler folder tree.

On the remote server, check ACLs on the Task Scheduler folder:

  1. Navigate to C:\Windows\System32\Tasks\
  2. Right-click the Tasks folder → Properties → Security tab
  3. Verify Administrators group has Full Control
  4. Verify the Nodinite service account (or Administrators group) is listed

Task Folder Permissions
Example: Administrators have Full Control on Tasks folder.

Terminal window
# Check ACL on Tasks folder (run on remote server)
Get-Acl "C:\Windows\System32\Tasks"|Format-List
# Check specific account permissions
(Get-Acl "C:\Windows\System32\Tasks").Access|
Where-Object { $_.IdentityReference -like "*NodiniteAgent*" }

Task metadata is stored in the registry under:

HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\

On the remote server:

  1. Open Registry Editor (regedit.exe)
  2. Navigate to the path above
  3. Right-click Tree → Permissions
  4. Verify Administrators group has Full Control

Using PowerShell:

Terminal window
# Check registry ACL (run on remote server)
Get-Acl "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree"|
Format-List

If permissions are missing or corrupted:

Option 1: Reset to Default (run on remote server as Administrator):

Terminal window
# Reset Tasks folder permissions to default
icacls "C:\Windows\System32\Tasks" /reset /T /C
# Reset registry permissions to default
# (Manual via regedit: right-click → Permissions → Advanced → Replace all child permissions)

Option 2: Grant Explicit Permissions:

Terminal window
# Grant Administrators Full Control on Tasks folder
icacls "C:\Windows\System32\Tasks" /grant "Administrators:(OI)(CI)F" /T

From the agent server, test if you can enumerate scheduled tasks remotely using the same service account credentials:

Terminal window
# Test remote enumeration using PowerShell Remoting
$cred = Get-Credential # Enter service account credentials
Invoke-Command -ComputerName RemoteServerName -Credential $cred -ScriptBlock {
Get-ScheduledTask | Select-Object TaskName, State, TaskPath | Format-Table
}

Expected result: If this returns tasks, remote access is working. If it fails, review permissions and firewall settings.

From the agent server (logged in as the service account or using Run As):

  1. Open Task Scheduler (taskschd.msc)
  2. Right-click Task Scheduler (Local) → Connect to Another Computer
  3. Enter the remote server name (e.g., RemoteServerName)
  4. Click OK

MMC Connect
Example: Connecting to remote Task Scheduler via MMC.

Expected result: If you can see tasks in the MMC, the Nodinite agent should also succeed.


When monitoring scheduled tasks on domain controllers, additional restrictions apply.

  • Local accounts disabled: Domain controllers typically don't allow local accounts. Use a domain account for the Nodinite service.
  • Higher privilege requirements: Service account may need Domain Admins or Enterprise Admins membership.
  • Group Policy restrictions: Some organizations disable remote task enumeration on DCs via Group Policy.
  • Remote UAC filtering: Domain controllers apply stricter UAC filtering for remote connections.

For domain controllers, confirm the service account is in the Domain Admins group:

Terminal window
# Check Domain Admins membership
Get-ADGroupMember -Identity "Domain Admins"|
Where-Object { $_.SamAccountName -like "*NodiniteAgent*" }

On the domain controller, verify these Group Policy settings:

  1. Open Group Policy Management (gpmc.msc)

  2. Edit the Default Domain Controllers Policy

  3. Navigate to:

    Computer Configuration → Policies → Windows Settings → Security Settings →
    System Services → Task Scheduler
  4. Verify Task Scheduler is set to Automatic (not disabled)

Also check:

Computer Configuration → Policies → Windows Settings → Security Settings →
Local Policies → User Rights Assignment → Access this computer from the network

Verify the service account (or Administrators group) is listed.


On the remote server, enable detailed Task Scheduler logging:

  1. Open Event Viewer (eventvwr.msc)

  2. Navigate to:

    Applications and Services Logs → Microsoft → Windows → TaskScheduler → Operational
  3. Right-click Operational → Properties

  4. Set Maximum log size to a larger value (e.g., 10 MB)

  5. Check Enable logging

Task Scheduler Log
Example: Task Scheduler Operational log enabled.

  • Event ID 103: Task Scheduler failed to start task
  • Event ID 322: Task Scheduler launch failure
  • Event ID 411: User did not have required privileges

Remote Task Scheduler enumeration uses DCOM. Verify DCOM permissions:

On the remote server:

  1. Run dcomcnfg.exe (Component Services)
  2. Expand Component Services → Computers → My Computer
  3. Right-click My Computer → Properties
  4. Click the COM Security tab
  5. Under Access Permissions, click Edit Default
  6. Verify Administrators group has Local Access and Remote Access

DCOM Permissions
Example: DCOM permissions for remote access.

Task Scheduler enumeration may use WMI. Test WMI connectivity:

Terminal window
# Test WMI from agent server to remote server
Get-WmiObject -Class Win32_ScheduledJob -ComputerName RemoteServerName

If WMI fails, review:


Some Windows system tasks are hidden and only visible to:

  • SYSTEM account
  • TrustedInstaller account
  • High-privilege accounts (Domain Admins, Enterprise Admins)

If you expect more tasks than Nodinite displays, this may be the cause. Hidden tasks include many under \Microsoft\Windows\ folders.

Workaround: Use a highly privileged service account (Domain Admin) or accept that hidden system tasks won't be monitored.

Older Windows versions may have compatibility issues:

  • PowerShell WMF 5.1 required for some features
  • IIS 6 Metabase Compatibility required (see Prerequisites)
  • Legacy API differences may cause enumeration failures

Recommendation: Upgrade to Windows Server 2016 or later for best compatibility.

Monitoring scheduled tasks on failover clusters requires special configuration. See How to Monitor a Clustered Windows Service for guidance (similar principles apply).



Return to Scheduled Tasks Monitoring

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...