
Windows Admin Center (WAC) is a server and client management platform. It that is designed to help you administer your machines in a more efficient manner. This is a browser-based tool, meaning that, once installed, you access WAC from a web browser, which is great. No need to install a management tool or application onto your workstation. Simply sit down and tap into it with a URL. If you would like to install, uninstall and upgrade your applications using Windows Package Manager “Chocolatey”. In this article, you will learn about how to fix Failed to create a scheduled task: There is no disconnected command associated with the runspace. Please see How to disconnect a Remote Desktop User, and how to Associate SSH Public key with Azure Linux VM.
This error below was a result of not having the right path to the PowerShell executable. To fix this issue, enter the full path to the PowerShell executable. Please see the following articles “How to install Chocolatey” and “How to install, upgrade and uninstall software with Chocolatey“. You may also be interested in Winglet, which is also a Windows Package manager “Winglet”. See how to install Winglet and how to install applications with Winglet CLI.

Please show to fix Failed to create a scheduled task: Cannot perform the operation because the runspace pool is not in the open state. Also, see how to fix DNS Bad key 9017: The Cluster Name registration failed of one or more associated DNS names. Lastly, here is an interesting guide on how to fix the issue “The remote session was disconnected because there are no Remote Desktop License Servers available to provide a license”.
Populate the PowerShell Arguement Field
In the Argument field in Windows Admin Center, enter the full path as shown below
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe
When this complete path is entered as stated. Click on submit to create a scheduled task. The following result will be displayed below.

I hope you found this blog post helpful on how to fix Failed to create a scheduled task: There is no disconnected command associated with the runspace. If you have any questions, please let me know in the comment session.