Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security, Veeam & DevOps

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form

Failed to create a scheduled task: Cannot perform the operation because the runspace pool is not in the open state

Posted on 26/03/202016/09/2026 Christian By Christian No Comments on Failed to create a scheduled task: Cannot perform the operation because the runspace pool is not in the open state
  1. Home
  2. Windows Server
  3. Failed to create a scheduled task: Cannot perform the operation because the runspace pool is not in the open state
Logo of Windows Admin Center, featuring a server icon, toolbox, and various management tool icons on a blue background.

Windows Admin Center is a locally deployed, browser-based app for managing Windows servers, clusters, hyper-converged infrastructure, as well as Windows 10 PCs. In this guide, you will learn how to fix Failed to create a scheduled task: Cannot perform the operation because the runspace pool is not in the open state. Please see how to install Winglet and how to install applications with Winglet CLI. 

Windows Admin Center is a free product and is ready to use in production. When prompted with an error when trying to access WAC from other browsers saying the site is not secure.

See the following links for “How to setup Windows Admin Center, “How to install Chocolatey” and “How to install, upgrade and uninstall software with Chocolatey“.

Reason for the error “Cannot perform the operation because the runspace pool is not in the open state”

This problem occurs because there is no firewall rule that will allow Windows Admin Center access on the remote server.

Screenshot of Windows Admin Center displaying error notification for failed scheduled task creation with details of the error message.

To fix this issue, temporarily turn off the firewall on your device.

Note: This act is very UNSAFE
Windows Security interface displaying 'Firewall & network protection' settings with alerts indicating that Windows Defender Firewall is using potentially unsafe settings and that firewalls are turned off for both 'Domain network' and 'Private network'.

Then try to create your scheduled task. When the scheduled task is created successfully, then you have two methods to set up the firewall.

Please see “Failed to create a scheduled task: There is no disconnected command associated with the runspace“. Also, see the fix for “The following servers in this deployment are not part of the deployment Pool: Create an RDS Session Host and Collection“.

Method 1 to fix the Runspace Pool Issue

Create an Inbound Firewall rule via PowerShell.

New-NetFirewallRule -DisplayName „SmeInbounOpenException“ -Description „Windows Admin Center inbound port exception“ -Localport 6516 -Protocol TCP

Ensure to run PowerShell with Admin privilege, else it will FAIL 🙂

Screenshot of Windows PowerShell showing a command to create a new firewall rule named 'SmeInboundOpenException' for TCP protocol on port 6516, along with details of the rule configuration.

Here is the fix for “Application pool has been disabled or Changing identity user for IIS Application Pool (Event ID 5059)“, and the “Fix Error 183: The specified image is currently being serviced by another DISM operation“.

Method 2 to fix

You can also create this rule via the Windows Firewall (Windows Defender Firewall and Advanced Security. The firewall windows can be accessed via the following path

  • Control Panel
  • System and Security
  • Windows Defender Firewall
Windows Defender Firewall settings page showing options to update and configure firewall protection on a Windows PC.

This will open the Windows Firewall “Advanced Settings and Advanced Security” as shown below. In this method, you have got two options

You can choose to exclude WAC from the firewall or create a firewall rule with for the TCP/IP

Screenshot of Windows Defender Firewall with Advanced Security showing the New Inbound Rule Wizard. The 'Rule Type' options for 'Program' and 'Port' are highlighted.

I will opt to go with the option to exclude the program option and select the the

%ProgramFiles%\Windows Admin Center\sme.exe
Screenshot of the New Inbound Rule Wizard in Windows, showing options for selecting a program path and executable name.

Click to allow connections to the program as shown below

Screenshot of the 'New Inbound Rule Wizard' in a network security configuration, highlighting the option 'Allow the connection' with a description of its implications, alongside options to allow secure connections or block connections.

Select the profile it should apply to. Since this is a test environment. I will select all the profiles as shown below.

Screenshot of the 'New Inbound Rule Wizard' in a firewall application, showing the 'Profile' step with options for Domain, Private, and Public network locations selected.

Enter the firewall name and description of the rule and click on Finish

Screenshot of the 'New Inbound Rule Wizard' in a Windows application, showing a form to specify the rule name and an optional description field.

Either of the options you chose, you will and the same end result.

I hope you found this blog post helpful on how to fix Failed to create a scheduled task: Cannot perform the operation because the runspace pool is not in the open state. If you have any questions, please let me know in the comment session.

Thank you for reading this post. Kindly share it with others.

  • Share on X (Opens in new window) X
  • Share on Reddit (Opens in new window) Reddit
  • Share on LinkedIn (Opens in new window) LinkedIn
  • Share on Facebook (Opens in new window) Facebook
  • Share on Pinterest (Opens in new window) Pinterest
  • Share on Tumblr (Opens in new window) Tumblr
  • Share on Telegram (Opens in new window) Telegram
  • Share on WhatsApp (Opens in new window) WhatsApp
  • Share on Mastodon (Opens in new window) Mastodon
  • Share on Bluesky (Opens in new window) Bluesky
Windows Server Tags:Microsoft Windows, WAC, Windows 10, Windows Server 2016

Post navigation

Previous Post: Failed to create a scheduled task: There is no disconnected command associated with the runspace
Next Post: How to create a scheduled task with Windows Admin Center

Related Posts

  • sid5
    How to Find Security Identifier on Windows [Part 2] Windows
  • images 3 4
    What are the differences between an ADM and ADMX file Windows Server
  • Screenshot 2020 08 28 at 12.51.10
    The service could not be started either because it is disabled or because it has no enabled devices associated with it Windows Server
  • Raise or Downgrade AD Domain and Forest Functional Level
    Raise or Downgrade AD Domain and Forest Functional Level Windows Server
  • dns error
    Domain Name System Protocol: Client Registration Issue Windows Server
  • update powershell in Windows
    Upgrade PowerShell Core Windows or Mac and Linux System Windows

More Related Articles

images 1 3 Failed to create a new scheduled task name RemoteException: Cannot create the file when that file already exists Windows Server
Windows server 2016 606x400 1 How to install Windows Server 2016 Operating System on VirtualBox Windows Server
how to update WinPE Boot Images with Windows UEFI CA Cert e1778595575234 Update WinPE Boot Images with Windows UEFI CA Certificates [Part 2] Windows Server
Netstat Network statistics: How to save netstat command output to a text Web Server
VHDX resizing and veeam back Hyper V Disk allocation: Why Veeam reports full size after Shrinking Windows Server
Add additional Windows drives How to Add Another Hard Drive to a Virtual Machine in HyperV  Virtualization

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

vexpert-badge-stars-5

Virtual Background

VEEAMLEGEND

Categories

Top 30 Sysadmin blog

veeaam100

Veeam Vanguard

  • acctlockout 1
    Configure Local Administrators Account lockout Windows
  • Configure Data Deduplication on Windows Server
    How to Configure Data Deduplication on Windows Server 2022 Windows Server
  • MachineAccountQuota
    Change the number of MachineAccountQuota a user can add to AD Windows Server
  • Featured image 2
    5 Steps to Fix Outlook continually prompts for passwords Windows
  • screenshot 2020 04 22 at 23.28.23
    Remove saved RDP connections in Windows Windows
  • microsoft logo rgb wht
    All about Group Policies: Group Policy GPUpdate Commands Windows Server
  • Microsoft 365 Developer Program instant
    Get your free Microsoft 365 E5 Sandbox today AWS/Azure/OpenShift
  • VeeamOn 2023 Miami
    Why you should attend VeeamOn 2023 Backup

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.

Join 1,738 other subscribers
  • RSS - Posts
  • RSS - Comments
  • About
  • Authors
  • Write for us
  • Contact
  • Advertise with us
  • General Terms and Conditions
  • Privacy policy
  • Feedly
  • Telegram
  • Youtube
  • Facebook
  • Instagram
  • LinkedIn
  • Tumblr
  • Pinterest
  • Twitter
  • mastodon
  • Bsky

Tags

Active Directory Azure Bitlocker Microsoft Windows PowerShell WDS Windows 10 Windows 11 Windows Deployment Services Windows Server 2016

Copyright © 2026 TechDirectArchive

Loading Comments...

You must be logged in to post a comment.