Skip to content

TechDirectArchive

Hands-on IT, Cloud, Security & DevOps Insights

  • Home
  • About
  • Advertise With US
  • Reviews
  • Contact
  • Toggle search form
Home » Windows Server » Failed to create a scheduled task: Cannot perform the operation because the runspace pool is not in the open state
  • images 1 1
    How To Use Pleasant Password Private Folder Password Manager
  • How to Convert Google Forms Into Microsoft Forms banner
    Convert Google Forms Into Microsoft Forms Microsoft Exchange/Office/365
  • Screenshot 2020 05 13 at 19.23.25
    AWS Command-Line Interface: How to configure AWS CLI [Part 1] AWS/Azure/OpenShift
  • Fixed Sysprep Generalize 1
    How to Fix The Virtual Desktop is Not Sysprep Generalized Virtualization
  • https   specials images.forbesimg.com imageserve 4c098735a05b4251a85e8505c91f1837 0x0
    Fix insufficient access rights to perform this operation when trying to enable Active Directory Recycle Bin Windows Server
  • RE4ncJa
    How to configure favorites on Microsoft Edge via Group Policy Windows
  • SUBVERSION FEATURE
    How to Install Apache Subversion on a Linux System Linux
  • 71PSZcv0RL. AC SX425
    How to disable unused Cisco Access Ports Network | Monitoring

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

Posted on 26/03/202010/10/2024 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

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.

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

Note: This act is very UNSAFE

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 🙂

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

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

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

%ProgramFiles%\Windows Admin Center\sme.exe

Click to allow connections to the program as shown below

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

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

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.

5/5 - (1 vote)

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

  • Click to share on X (Opens in new window) X
  • Click to share on Reddit (Opens in new window) Reddit
  • Click to share on LinkedIn (Opens in new window) LinkedIn
  • Click to share on Facebook (Opens in new window) Facebook
  • Click to share on Pinterest (Opens in new window) Pinterest
  • Click to share on Tumblr (Opens in new window) Tumblr
  • Click to share on Telegram (Opens in new window) Telegram
  • Click to share on WhatsApp (Opens in new window) WhatsApp
  • Click to share on Pocket (Opens in new window) Pocket
  • Click to share on Mastodon (Opens in new window) Mastodon
  • Click to share on Bluesky (Opens in new window) Bluesky
  • Click to share on Threads (Opens in new window) Threads
  • Click to share on Nextdoor (Opens in new window) Nextdoor
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

  • How to Install Windows Admin Center on Windows 10 11​
    Install Windows Admin Center on Windows 10 and Windows 11 Windows
  • yxxycx yx
    How to change the Default First-Site-Name in Active Directory Windows Server
  • Uninstall SQL Server 2025
    Uninstall Microsoft SQL Server 2025 from Windows Oracle/MSSQL/MySQL
  • settings app not working featured 800x400 1
    How to search through the Windows registry Windows Server
  • Grant Non Domain Admin Privileges to Manage Workstation
    Grant Non-Domain Admin Privileges to Manage Workstation Windows
  • PSD
    PowerShell Deployment Extension for MDT: How to deploy Windows using PSD, Microsoft Deployment Toolkit, and Windows Deployment Services Windows Server

More Related Articles

How to Install Windows Admin Center on Windows 10 11​ Install Windows Admin Center on Windows 10 and Windows 11 Windows
yxxycx yx How to change the Default First-Site-Name in Active Directory Windows Server
Uninstall SQL Server 2025 Uninstall Microsoft SQL Server 2025 from Windows Oracle/MSSQL/MySQL
settings app not working featured 800x400 1 How to search through the Windows registry Windows Server
Grant Non Domain Admin Privileges to Manage Workstation Grant Non-Domain Admin Privileges to Manage Workstation Windows
PSD PowerShell Deployment Extension for MDT: How to deploy Windows using PSD, Microsoft Deployment Toolkit, and Windows Deployment Services Windows Server

Leave a Reply Cancel reply

You must be logged in to post a comment.

Microsoft MVP

VEEAMLEGEND

vexpert-badge-stars-5

Virtual Background

GoogleNews

Categories

veeaam100

sysadmin top30a

  • images 1 1
    How To Use Pleasant Password Private Folder Password Manager
  • How to Convert Google Forms Into Microsoft Forms banner
    Convert Google Forms Into Microsoft Forms Microsoft Exchange/Office/365
  • Screenshot 2020 05 13 at 19.23.25
    AWS Command-Line Interface: How to configure AWS CLI [Part 1] AWS/Azure/OpenShift
  • Fixed Sysprep Generalize 1
    How to Fix The Virtual Desktop is Not Sysprep Generalized Virtualization
  • https   specials images.forbesimg.com imageserve 4c098735a05b4251a85e8505c91f1837 0x0
    Fix insufficient access rights to perform this operation when trying to enable Active Directory Recycle Bin Windows Server
  • RE4ncJa
    How to configure favorites on Microsoft Edge via Group Policy Windows
  • SUBVERSION FEATURE
    How to Install Apache Subversion on a Linux System Linux
  • 71PSZcv0RL. AC SX425
    How to disable unused Cisco Access Ports Network | Monitoring

Subscribe to Blog via Email

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

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

Tags

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

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.