Fix WSUS Administration Console Unable to Connect WSUS Server via Remote API

Fix WSUS Administration Console Unable to Connect WSUS Server via Remote API

Managing a Business or any professional work that requires many hands to collaborate can be a challenging task. To ease you with the work, a service named WSUS or Windows Server Update Services is developed. It is a Windows server that helps to plan, manage, and deploy the updates, patches, and hotfixes for Windows servers, client operating systems, and other Microsoft software. However, WSUS administration console unable to connect WSUS server via remote error, which occurs if the Windows Update Services Console is crashing, may disturb the intended activities. In this case, WSUS console error unable to connect via the remote may remain unresolved and it might be difficult to access the operations using the console. The article advises on fixing apiwsus console error unable to connect error. The error message would be displayed as follows, Error: Connection Error. An error occurred trying to connect the WSUS server. Continue reading!

Fix WSUS Administration Console Unable to Connect WSUS Server via Remote API

How to Fix WSUS Administration Console Unable to Connect WSUS Server via Remote API

Here is the list of troubleshooting methods to fix apiwsus console error unable to connect error on your Windows PC.

Method 1: Delete WSUS File

The foremost method to fix the error is to delete the instances of the wsus file on the AppData folder. The System.IO.IOException error may occur if the handshake failed due to an unexpected packet format, and this can be formatted in this method.

1. Use the search bar at the bottom to search for the %appdata% folder and click on Open.

Open AppData Roaming folder

2. Navigate to the MMC folder using the Microsoft\MMC directory in File Explorer.

3. Right-click on the System.IO.IO.Exception file and click on the Delete option in the drop-down list.

Right click on the wsus file and click on the Delete option

Method 2: Enhance Storage Space

If the storage space on your PC is not sufficient, the WSUS administration console is unable to connect WSUS server via remote error may occur as it may have difficulty in retrieving the information and performing the functions. To fix apiwsus console error unable to connect, you can try following the instructions in the link given here to enhance the storage space of your PC.

Free up some storage space on your PC

Also Read: Enable or Disable Reserved Storage on Windows 10

Method 3: Restart Administrative Console

Another method to fix the error is to restart the administrative console. This would clear all the glitches and issues in the console. The methods to restart the console using the Linux system are explained in this section.

Option I: Debian or Ubuntu

The method to use the Debian or Ubuntu OS to restart the administrative console is described in this section.

1. Open the Terminal on your Linux PC from the Start menu.

Ubuntu linux terminal

2. Type the following commands one by one and press the Enter key to restart the administrative console and its corresponding components.

sudo service replicated restart
sudo service replicated-ui restart
sudo service replicated-operator restart

3. Log in to your admin account on the restarted page.

Option II: CentOS or RHEL or Fedora

If you are using a CentOS or RHEL or Fedora OS, you can try following the instructions given in this section to fix WSUS console error unable to connect via the remote.

1. From the start menu, open the Terminal app on your Linux PC.

2. Type the following command and press the Enter key to restart the administrative console.

sudo systemctl restart replicated replicated-ui replicated-operator

3. Use your login credentials to login into your admin account.

Method 4: Restart Node in Console

As an alternative approach to clear all the glitches and issues in the connection and to fix WSUS administration console unable to connect WSUS server via remote error, you can try restarting the node in the console using your PC.

1. Click on the Start icon on your WSUS Server and click on the All Programs option.

2. Click on the Administrative Tools option and then click on the Windows Server Update Services to access the Wsus Administrative Console.

Microsoft Windows Server Update Services

3. Move to the System Health page and then move to the Nodes page.

4. Select the particular PPM Server node and click on the Restart button.

5. You can select the optional features such as redeploy content folder and click on the OK button to restart the node.

Also Read: Fix We Couldn’t Connect to the Update Service in Windows 10

Method 5: Restart Service

To fix apiwsus console error unable to connect, you can try restarting the service related to the Windows Update Services.

Option I: IIS Service

As a first option, you can try restarting the IIS or Internet Information Service on your PC.

1. Press the Windows key, search for the Control Panel app and click on Open.

launch the Control Panel app

2. Select the Category option in the View by drop-down menu and click on the Programs option.

click on the Programs option

3. Click on the Programs and Features option.

Click on the Programs and Features option. Fix WSUS Administration Console Unable to Connect WSUS Server via Remote API

4. Click on the Turn Windows features on or off option in the left pane of the window.

Click on the Turn Windows features on or off option

5. Select the Internet Information Services feature, expand and select all the folders in the feature, and click on the OK button.

internet information services

Option II: Update Services

The second option to fix WSUS administration console unable to connect WSUS server via remote error is to update the services using the elevated command prompt on your PC using the Tools directory.

1. Use the search bar to search for the Command Prompt app and click on the Run as administrator option.

Use the search bar to search for Command Prompt and click on the Run as administrator option

2. Click on the Yes button on the UAC prompt window to run the program with administrative privileges.

3. Type the following command and press the Enter key to change the directory to the Tools directory.

CD “C:\Program Files\Update Services\Tools”

change the directory to the Tools directory

4. Type the following command and press the Enter key to install the WSUS utility service.

wsusutil.exe postinstall /servicing

install the WSUS utility service

5. Restart the administrative console by following the steps explained earlier.

Option III: SQL Service

The SQL server program on the PC may be corrupt and might need a restart to fix the error. Follow the instructions in the section to restart this service to fix WSUS console error unable to connect via the remote.

1. Click on the Start icon on the WSUS Server, select the All Programs option, and click on the Microsoft SQL Server program.

2. Navigate to the Configuration Tools option and click on the SQL Server Configuration Manager option.

Note: The SQL Server Configuration Manager is a snap-in for the Microsoft Management Console program.

3. Click on the Yes button on the UAC prompt window to grant permission.

4. Click on the SQL Server Services option in the left pane and right-click on the SQL Server (MSSQLServer) in the Results pane.

SQL Server services in SQL Server Configuration Mangager

5. Click on the Restart option and then click on the OK button after the service is restarted.

Also Read: 4 Ways to Split String by Delimiter in SQL

Method 6: Modify Registry Editor Keys

The keys ContentDir and TargetDir are the major reasons for the operation of the WSUS administrative console. You can try modifying or resetting the keys in the Registry Editor to fix WSUS administration console unable to connect WSUS server via remote error.

Note: Make a backup of registry keys to restore to previous settings in case of manual errors during modification.

1. Search for the Registry Editor using the search bar at the bottom.

open the Registry Editor app on your PC. Fix WSUS Administration Console Unable to Connect WSUS Server via Remote API

2. Navigate to the Setup directory by following the location path as given.

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Update Services\Server\Setup

Navigate to the Setup directory

3. Right-click on the Contentdir key and click on the Delete option.

Right click on the ContentDir key and click on the Delete option

4. Click on the Yes button on the Confirm Value Delete window.

Click on the Yes button on the Confirm Value Delete window. Fix WSUS Administration Console Unable to Connect WSUS Server via Remote API

5. Similarly, delete the TargetDir key value in the directory location by following the instructions given above.

delete the TargetDir key value in the directory location

Method 7: Grant Permissions to User Account

If the user account on your PC is not granted the control to alter the content of the server, the error, apiwsus console error unable to connect, might occur. You can try granting permission or Full Control to the user accounts to access the WSUSContent directory.

1. Press the Windows + E keys at once to open Windows Explorer and navigate to the WSUSContent folder by following the location path.

C:\Windows\WSUS\WSUSContent

open Windows Explorer and navigate to the WSUSContent folder. Fix WSUS Administration Console Unable to Connect WSUS Server via Remote API

2. Right-click on the WSUSContent folder and click on the Properties option in the list.

Right click on the WSUSContent folder and click on the Properties option. Fix WSUS Administration Console Unable to Connect WSUS Server via Remote API

3. Navigate to the Security tab, select the user account in the Group or username section and click on the Edit… button.

select the user account in the Group or username section and click on the Edit… button. Fix WSUS Administration Console Unable to Connect WSUS Server via Remote API

4. Tick the Full control option in the Allow section and click on the Apply button.

Tick the Full control option in the Allow section and click on the Apply button. Fix WSUS Administration Console Unable to Connect WSUS Server via Remote API

5. Click on the Yes button on the Windows Security window.

Click on the Yes button on the Windows Security window. Fix WSUS Administration Console Unable to Connect WSUS Server via Remote API

6. Click on the OK button on all windows to close them.

7. In a similar manner, follow the instructions to grant Full control permission to the following folders in their respective locations.

  • Temp folder in the C:\Windows\Temp location.
  • temp folder in the C:\temp location.
  • WebServices folder in the C:\Program Files\Update Services\WebServices location.

Also Read: What is DLNA Server & How to enable it on Windows 10?

Method 8: Increase Private Memory Limit

The private memory limit of the WsusPool has to be 10 GB or 3000 endpoints for effective functioning. To fix WSUS administration console unable to connect WSUS server via remote error, you can try removing the restriction of memory limit on the IIS Manager.

1. Open the IIS Manager on your PC using the search bar.

2. Navigate to the Application Pools option in the Connections list.

select WSUSPool service in Application Pools

3. Select the WsusPool service in the list and click on the Recycling… option in the Actions pane.

Note: Alternatively, you can right-click on the WsusPool service, click on the Advanced Settings… option, and set the memory limit to 0 to increase the limit to infinity value.

4. Untick the option Private memory usage (in KB) in the Memory Based Maximums section and click on the Next button.

5. Ensure that the Regular time intervals option is selected in the Configure recycling events section and click on the Finish button.

6. Right-click on the WsusPool item in the Application Pools page and click on the Start option in the drop-down menu.

7. Restart the WSUS console using the steps explained earlier.

Recommended:

The methods to fix WSUS administration console unable to connect WSUS server via remote issues are explained in the article. Let us know which of these methods helped in fixing WSUS console error unable to connect via the remote. Kindly drop your suggestions and queries in the comments section below for us to answer.

Posted by

Elon Decker

Elon is a tech writer at TechCult. He's been writing how-to guides for about 6 years now and has covered many topics. He loves to cover topics related to Windows, Android, and the latest tricks and tips.

Leave a Reply

Your email address will not be published. Required fields are marked *