How to Monitor Remote Scheduled Tasks
Section titled “ How to Monitor Remote Scheduled Tasks”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.
Quick Checklist
Section titled “ Quick Checklist”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) |
Common Error Messages
Section titled “ Common Error Messages”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: 0x80070032This 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: 0x80070005What 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: 0x800706BAWhat this means: Network connectivity issue or firewall blocking RPC communication.
Resolution: Follow steps in Firewall Configuration and RPC Connectivity.
Service Account Permissions
Section titled “ Service Account Permissions”The Nodinite Windows Server Monitoring Agent service account must have Administrator rights on every remote server being monitored.
Verify Administrator Membership
Section titled “Verify Administrator Membership”On the remote server, confirm the service account is in the local Administrators group:
- Open Computer Management (
compmgmt.msc) - Navigate to System Tools → Local Users and Groups → Groups
- Double-click Administrators
- Verify the Nodinite service account is listed (e.g.,
DOMAIN\NodiniteAgent)

Example: Service account in local Administrators group.
# Check if account is in Administrators group on remote serverInvoke-Command -ComputerName RemoteServerName -ScriptBlock { Get-LocalGroupMember -Group "Administrators" | Where-Object { $_.Name -like "*NodiniteAgent*" }}UAC Remote Token Filtering
Section titled “UAC Remote Token Filtering”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 TasksorFailed to get windows services - Service account is in Administrators group but still denied
Solution Options
Section titled “Solution Options”Option 1: Use Domain Administrator Account (Recommended)
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):
# Set LocalAccountTokenFilterPolicy to disable UAC filteringSet-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" ` -Name "LocalAccountTokenFilterPolicy" -Value 1 -PropertyType DWord -Force
# Verify the settingGet-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System" ` -Name "LocalAccountTokenFilterPolicy"Registry details:
Path: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\SystemName: LocalAccountTokenFilterPolicyType: DWORDValue: 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
Remote Registry Service
Section titled “ Remote Registry Service”The RemoteRegistry service must be running on the remote server for Task Scheduler enumeration.
Check and Start Remote Registry Service
Section titled “Check and Start Remote Registry Service”On the remote server:
- Open Services (
services.msc) - Locate Remote Registry
- Verify Status is "Running"
- Set Startup type to Automatic (or Manual)

Example: Remote Registry service running.
Using PowerShell:
# Check service status on remote serverGet-Service -Name RemoteRegistry -ComputerName RemoteServerName
# Start the service if stoppedStart-Service -Name RemoteRegistry -ComputerName RemoteServerName
# Set to Automatic startupSet-Service -Name RemoteRegistry -ComputerName RemoteServerName -StartupType AutomaticFirewall Configuration
Section titled “ Firewall Configuration”Windows Firewall must allow Remote Scheduled Task Management and related RPC traffic.
Enable Required Firewall Rules
Section titled “Enable Required Firewall Rules”On the remote server, enable these inbound firewall rules:
- Open Windows Defender Firewall with Advanced Security (
wf.msc) - Click Inbound Rules
- 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)

Example: Required firewall rules enabled.
# Enable Remote Scheduled Tasks Management rulesEnable-NetFirewallRule -DisplayGroup "Remote Scheduled Tasks Management"
# Verify rules are enabledGet-NetFirewallRule -DisplayGroup "Remote Scheduled Tasks Management"| Select-Object DisplayName, Enabled, DirectionExpected output:
DisplayName Enabled Direction----------- ------- ---------Remote Scheduled Tasks Management (RPC) True InboundRemote Scheduled Tasks Management (RPC-EPMAP) True InboundViewing Scheduled Task History
Section titled “Viewing Scheduled Task History”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:
# Enable Remote Event Log Management firewall rulesEnable-NetFirewallRule -DisplayGroup "Remote Event Log Management"
# Verify rules are enabledGet-NetFirewallRule -DisplayGroup "Remote Event Log Management"| Select-Object DisplayName, Enabled, DirectionExpected output:
DisplayName Enabled Direction----------- ------- ---------Remote Event Log Management (NP-In) True InboundRemote Event Log Management (RPC) True InboundRemote Event Log Management (RPC-EPMAP) True InboundCorporate Firewall Considerations
Section titled “Corporate Firewall Considerations”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
Section titled “ File and Printer Sharing”File and Printer Sharing must be enabled for remote management operations.
Enable File and Printer Sharing
Section titled “Enable File and Printer Sharing”On the remote server:
- Open Network and Sharing Center
- Click Change advanced sharing settings
- Expand the Domain profile (or Private if not domain-joined)
- Under File and printer sharing, select Turn on file and printer sharing
- Click Save changes

Example: File and printer sharing enabled.
# Enable File and Printer Sharing firewall rulesSet-NetFirewallRule -DisplayGroup "File and Printer Sharing" -Enabled True -Profile DomainTask Scheduler Service
Section titled “ Task Scheduler Service”The Task Scheduler service (Schedule) must be running on the remote server.
Verify Task Scheduler Service
Section titled “Verify Task Scheduler Service”On the remote server:
- Open Services (
services.msc) - Locate Task Scheduler
- Verify Status is "Running"
- Verify Startup type is Automatic
Using PowerShell:
# Check Task Scheduler service statusGet-Service -Name Schedule -ComputerName RemoteServerName
# Start the service if stoppedStart-Service -Name Schedule -ComputerName RemoteServerNameRPC Connectivity
Section titled “ RPC Connectivity”Remote Task Scheduler enumeration uses RPC (Remote Procedure Call) over TCP.
Test RPC Connectivity
Section titled “Test RPC Connectivity”From the agent server, test RPC connectivity to the remote server:
# 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 RemoteServerNameExpected result: If RPC is working, you'll see the remote OS details.
RPC Port Configuration
Section titled “RPC Port Configuration”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):
# Set RPC port range to 50000-50100 (example)netsh int ipv4 set dynamicport tcp start=50000 num=100Then update firewall rules to allow this specific range.
Folder Enumeration Permissions
Section titled “ Folder Enumeration Permissions”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.
Verify Folder Permissions
Section titled “Verify Folder Permissions”On the remote server, check ACLs on the Task Scheduler folder:
- Navigate to
C:\Windows\System32\Tasks\ - Right-click the Tasks folder → Properties → Security tab
- Verify Administrators group has Full Control
- Verify the Nodinite service account (or Administrators group) is listed

Example: Administrators have Full Control on Tasks folder.
# 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*" }Verify Registry Permissions
Section titled “Verify Registry Permissions”Task metadata is stored in the registry under:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree\On the remote server:
- Open Registry Editor (
regedit.exe) - Navigate to the path above
- Right-click Tree → Permissions
- Verify Administrators group has Full Control
Using PowerShell:
# Check registry ACL (run on remote server)Get-Acl "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tree"| Format-ListRepair Corrupted Permissions
Section titled “Repair Corrupted Permissions”If permissions are missing or corrupted:
Option 1: Reset to Default (run on remote server as Administrator):
# Reset Tasks folder permissions to defaulticacls "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:
# Grant Administrators Full Control on Tasks foldericacls "C:\Windows\System32\Tasks" /grant "Administrators:(OI)(CI)F" /TTesting Remote Enumeration
Section titled “ Testing Remote Enumeration”Test with PowerShell Remoting
Section titled “Test with PowerShell Remoting”From the agent server, test if you can enumerate scheduled tasks remotely using the same service account credentials:
# Test remote enumeration using PowerShell Remoting$cred = Get-Credential # Enter service account credentialsInvoke-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.
Test with MMC Task Scheduler Snap-in
Section titled “Test with MMC Task Scheduler Snap-in”From the agent server (logged in as the service account or using Run As):
- Open Task Scheduler (
taskschd.msc) - Right-click Task Scheduler (Local) → Connect to Another Computer
- Enter the remote server name (e.g.,
RemoteServerName) - Click OK

Example: Connecting to remote Task Scheduler via MMC.
Expected result: If you can see tasks in the MMC, the Nodinite agent should also succeed.
Domain Controller Specific Issues
Section titled “ Domain Controller Specific Issues”When monitoring scheduled tasks on domain controllers, additional restrictions apply.
Domain Controller Considerations
Section titled “Domain Controller Considerations”- 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.
Verify Domain Admin Membership
Section titled “Verify Domain Admin Membership”For domain controllers, confirm the service account is in the Domain Admins group:
# Check Domain Admins membershipGet-ADGroupMember -Identity "Domain Admins"| Where-Object { $_.SamAccountName -like "*NodiniteAgent*" }Check Group Policy Settings
Section titled “Check Group Policy Settings”On the domain controller, verify these Group Policy settings:
-
Open Group Policy Management (
gpmc.msc) -
Edit the Default Domain Controllers Policy
-
Navigate to:
Computer Configuration → Policies → Windows Settings → Security Settings →System Services → Task Scheduler -
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 networkVerify the service account (or Administrators group) is listed.
Advanced Diagnostics
Section titled “ Advanced Diagnostics”Enable Task Scheduler Logging
Section titled “Enable Task Scheduler Logging”On the remote server, enable detailed Task Scheduler logging:
-
Open Event Viewer (
eventvwr.msc) -
Navigate to:
Applications and Services Logs → Microsoft → Windows → TaskScheduler → Operational -
Right-click Operational → Properties
-
Set Maximum log size to a larger value (e.g., 10 MB)
-
Check Enable logging

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
Check DCOM Permissions
Section titled “Check DCOM Permissions”Remote Task Scheduler enumeration uses DCOM. Verify DCOM permissions:
On the remote server:
- Run
dcomcnfg.exe(Component Services) - Expand Component Services → Computers → My Computer
- Right-click My Computer → Properties
- Click the COM Security tab
- Under Access Permissions, click Edit Default
- Verify Administrators group has Local Access and Remote Access

Example: DCOM permissions for remote access.
Verify WMI Connectivity
Section titled “Verify WMI Connectivity”Task Scheduler enumeration may use WMI. Test WMI connectivity:
# Test WMI from agent server to remote serverGet-WmiObject -Class Win32_ScheduledJob -ComputerName RemoteServerNameIf WMI fails, review:
- WMI troubleshooting guide
- Firewall rules for Windows Management Instrumentation (WMI-In)
Known Limitations
Section titled “ Known Limitations”Hidden System Tasks
Section titled “Hidden System Tasks”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.
Windows Server 2012 R2 and Earlier
Section titled “Windows Server 2012 R2 and Earlier”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.
Cluster and Failover Scheduled Tasks
Section titled “Cluster and Failover Scheduled Tasks”Monitoring scheduled tasks on failover clusters requires special configuration. See How to Monitor a Clustered Windows Service for guidance (similar principles apply).
Additional Resources
Section titled “ Additional Resources”Microsoft Documentation
Section titled “Microsoft Documentation”- Troubleshooting Task Scheduler "Access Denied" Error
- Task Scheduler Error Codes
- Setting DCOM Security to Allow Remote Access
- Securing a Remote WMI Connection
Community Resources
Section titled “Community Resources”- Remotely Managing Scheduled Tasks - Super User
- Connect Remote Task Scheduler using C# - Stack Overflow
- Fix Broken Permissions for Scheduled Tasks - Super User
Next Steps
Section titled “ Next Steps”Return to Scheduled Tasks Monitoring