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: There is no disconnected command associated with the runspace
  • How to Manage Azure Virtual Machines with Windows Admin Center and Serial Console​
    Manage Azure Virtual Machine with Windows Admin Center and Serial Console AWS/Azure/OpenShift
  • image 78
    How to enable LDAP over SSL with a third-party Certificate such as DigiCert Windows
  • Create S3 Bucket with Terraform
    Create an S3 Bucket with Terraform AWS/Azure/OpenShift
  • Internet Explorer
    How to uninstall Internet Explorer from your Windows Device Windows
  • delete5
    How to Delete Diagnostic Data in Windows 10 and Windows 11 Windows
  • screenshot 2020 02 08 at 15.53.31
    Auto Logon Error “Username and password specified is not valid” Windows
  • windows update 03
    How to target WSUS clients with the registry keys Windows Server
  • cloudqueryfeature
    How to Manage Cloud Assets in AWS with CloudQuery AWS/Azure/OpenShift

Failed to create a scheduled task: There is no disconnected command associated with the runspace

Posted on 26/03/202002/06/2023 Christian By Christian No Comments on Failed to create a scheduled task: There is no disconnected command associated with the runspace

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.

Rate this post

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: How to install or update and uninstall extensions in Windows Admin Center
Next Post: Failed to create a scheduled task: Cannot perform the operation because the runspace pool is not in the open state

Related Posts

  • The evolution of Windows authentication   NTLM to Keberos
    Bidding Farewell to NTLM in favour of Kerberos Windows
  • App Locker
    Harden your Veeam Backup Server with Microsoft AppLocker Windows
  • Fixed drives not encrypted by BitLocker via MBAM
    Why is BitLocker unable to encrypt Removable Drives via MBAM? Windows
  • Perform Site Maintenance or reset this site greyed out
    Fix “Perform Site Maintenance or reset this site” greyed out Windows Server
  • Active Directory Setup
    Active Directory: How to Setup a Domain Controller Windows Server
  • add or remove features on the specified server failed
    Error 0x80073701: The request to add or remove features on the specified server failed Windows Server

More Related Articles

The evolution of Windows authentication   NTLM to Keberos Bidding Farewell to NTLM in favour of Kerberos Windows
App Locker Harden your Veeam Backup Server with Microsoft AppLocker Windows
Fixed drives not encrypted by BitLocker via MBAM Why is BitLocker unable to encrypt Removable Drives via MBAM? Windows
Perform Site Maintenance or reset this site greyed out Fix “Perform Site Maintenance or reset this site” greyed out Windows Server
Active Directory Setup Active Directory: How to Setup a Domain Controller Windows Server
add or remove features on the specified server failed Error 0x80073701: The request to add or remove features on the specified server failed 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
 
  • How to Manage Azure Virtual Machines with Windows Admin Center and Serial Console​
    Manage Azure Virtual Machine with Windows Admin Center and Serial Console AWS/Azure/OpenShift
  • image 78
    How to enable LDAP over SSL with a third-party Certificate such as DigiCert Windows
  • Create S3 Bucket with Terraform
    Create an S3 Bucket with Terraform AWS/Azure/OpenShift
  • Internet Explorer
    How to uninstall Internet Explorer from your Windows Device Windows
  • delete5
    How to Delete Diagnostic Data in Windows 10 and Windows 11 Windows
  • screenshot 2020 02 08 at 15.53.31
    Auto Logon Error “Username and password specified is not valid” Windows
  • windows update 03
    How to target WSUS clients with the registry keys Windows Server
  • cloudqueryfeature
    How to Manage Cloud Assets in AWS with CloudQuery AWS/Azure/OpenShift

Subscribe to Blog via Email

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

Join 1,840 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

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

Copyright © 2025 TechDirectArchive

 

Loading Comments...
 

You must be logged in to post a comment.