Cannot install language from CLI: ErrorCode: -2147418113

Abstract: Resolve RPC_S_SERVER_UNAVAILABLE error when installing language packs via CLI by verifying WMI and Trusted Installer services, repairing system files with SFC and DISM, and ensuring proper administrative permissions.

Created: 2026-09-30 by
The error code -2147418113 (RPC_S_SERVER_UNAVAILABLE) when installing a language pack via CLI indicates that the Windows Management Instrumentation (WMI) service or the underlying installation engine is unreachable or blocked. This typically stems from corrupted system files, disabled services, or permission issues rather than network connectivity problems. Resolving it requires verifying service states, repairing system integrity, and ensuring the correct execution context for administrative tasks.

Understanding the Error Code

The hexadecimal value -2147418113 translates to 0x8001010F, which maps to the COM error RPC_S_SERVER_UNAVAILABLE. In the context of Windows 10 language pack installation, this does not mean your computer is disconnected from the internet. Instead, it signifies that the client-side command cannot communicate with the server-side component responsible for processing the request.

When you use commands like Add-WindowsPackage in PowerShell or dism.exe in Command Prompt, these tools rely on WMI providers and specific Windows services to interact with the operating system's package manager. If any of these intermediaries are hung, disabled, or corrupted, the RPC call fails, resulting in this generic "server unavailable" message. It is crucial to distinguish this from actual network errors; the issue is local to the system's internal communication channels.

Verify Critical Services Are Running

The most common cause for this specific error is that the Windows Management Instrumentation (WMI) service or the Trusted Installer service has stopped responding or is set to manual startup. You must ensure these services are active before attempting installation again.

  • Press Win + R, type services.msc, and press Enter.
  • Locate Windows Management Instrumentation. Right-click it and select Properties.
  • Ensure the Startup type is set to Automatic. If the service status is Stopped, click Start.
  • Next, find TrustedInstaller (often named "Windows Modules Installer"). Repeat the process to ensure it is running and set to Automatic.

If you are unable to start these services due to access denied errors, it may indicate deeper permission corruption, which we will address in subsequent steps. Restarting your computer after adjusting these settings can sometimes clear temporary hangs in the service control manager.

Repair System File Corruption

Corrupted system files can break the RPC interface used by DISM and PowerShell. The System File Checker (SFC) utility scans protected Windows files and replaces incorrect versions with correct Microsoft versions. This is a standard first-line defense for unexplained CLI errors.

  1. Open the Start menu, type cmd, right-click Command Prompt, and select Run as administrator.
  2. Type the following command and press Enter: sfc /scannow
  3. Wait for the process to complete. This may take several minutes. Do not interrupt it.

If SFC finds and repairs files, restart your PC and try the language installation again. If SFC reports that it cannot fix some problems, proceed to the Deployment Image Servicing and Management (DISM) tool. DISM can repair the Windows image itself, which SFC relies upon. Run DISM /Online /Cleanup-Image /RestoreHealth in the same elevated Command Prompt window. This step downloads fresh copies of corrupted components from Windows Update if necessary.

Check Execution Context and Permissions

Language pack installation requires strict administrative privileges. If you are running the script from a non-elevated user account or through a scheduled task without the highest privilege level, the RPC connection may be rejected. Additionally, group policy settings might restrict access to the TrustedInstaller service for standard users.

Ensure you are launching PowerShell or CMD with explicit elevation. Right-click the application icon and choose Run as administrator. If you are using a script, verify that the execution policy allows the script to run with full trust. For enterprise environments, check if Group Policy Objects (GPOs) are blocking the installation of optional features or language packs. You can view applied policies by running gpresult /r in an elevated command prompt.

Alternative Installation Methods

If the CLI methods continue to fail despite repairing services and system files, the issue may be isolated to the specific DISM provider. In such cases, using the graphical User Interface (UI) can bypass the broken CLI pathway. Navigate to Settings > Time & Language > Language, click Add a language, and install the desired pack. The UI uses different background processes that may remain functional even when the CLI RPC channel is compromised.

For advanced users, extracting the language pack from the original Windows ISO and installing it offline can also circumvent online dependency issues. See How to Extract All Existing Languages Pack from Windows Installation Image for detailed instructions on preparing offline sources. This method ensures that all dependencies are present locally, removing potential conflicts with dynamic updates or cloud-based installation services.

Frequently Asked Questions

Why does my computer show RPC errors but internet works?

RPC errors in this context refer to internal inter-process communication within Windows, not external network traffic. Your internet connection handles downloading the files, while RPC handles the handshakes between PowerShell, DISM, and the Windows Modules Installer. A working internet connection does not guarantee that local services are communicating correctly.

Can I fix this error by reinstalling PowerShell?

No, reinstalling PowerShell is rarely effective because the error originates from the underlying Windows services (WMI and TrustedInstaller) that PowerShell calls, not PowerShell itself. The core issue lies in the OS-level components managing packages. Focusing on service restoration and system file repair is the correct diagnostic path.

What if SFC and DISM both report no errors?

If both tools report success but the error persists, the problem may be related to registry permissions or a stuck update transaction. Check the C:\Windows\SoftwareDistribution folder for locks or corrupted download caches. Clearing this cache and restarting the Windows Update service often resolves stubborn installation blocks.

Is it safe to disable UAC to fix this?

Disabling User Account Control (UAC) is not recommended and will likely not solve the root cause. While UAC prompts for elevation, the RPC failure occurs because the service is unreachable, not because of a permission denial. Disabling UAC reduces security without fixing the hung service state.

Does this error affect other Windows updates?

Yes, if the TrustedInstaller or WMI services are corrupted, general Windows Updates may also fail. However, minor updates sometimes use different pathways. If only language packs fail, the issue is likely specific to the DISM provider for optional features. If all updates fail, prioritize repairing the Windows Update service stack first.

Latest News

How to Display Output of xterm Command in Terminal Screen using Cron

Resolve the inability to display xterm output in a terminal screen from cron by redirecting logs or using wall instead of insecure X11 workarounds.

Read More
Expose Local Server on VPS Preserving Real Client IPs (OS Level)

Resolve VPS logging showing only gateway IPs by configuring reverse proxies to forward real client addresses via X-Forwarded-For headers.

Read More
How to Clear Recent Files History in Linux without Deleting Actual Files?

Clear recent files history in Linux by deleting ~/.local/share/recently-used.xbel without removing the actual files.

Read More
Best HDD Copy Strategy: Manually Syncing and Rewriting Scratch

Resolve data drift between two 4TB hard drives by using rsync with the --delete flag to manually sync and rewrite scratch data for an exact mirror.

Read More
Understanding Bash Prompt Abbreviations: An Overview

Resolve repetitive typing errors by creating and persisting Bash aliases in the .bashrc file for improved command-line efficiency.

Read More
Free Tools and Methods to Log Real-Time Performance Details in Task Manager

Log real-time CPU and memory metrics to CSV files using Windows Performance Monitor Data Collector Sets to troubleshoot system slowness.

Read More
Contact Qatar Airways Customer Service: Phone Number, Help Center, and More

Resolve urgent Qatar Airways reservation issues like flight changes and baggage claims using the US phone number +1801-855-5905 or online self-service tools.

Read More
Windows 11: Alt Codes Displaying Wrong Characters - Solutions

Resolve Windows 11 Alt codes showing wrong characters by verifying the US keyboard layout and enabling Num Lock.

Read More
Run Programs with Elevated Privileges: A Comprehensive Guide

Eliminates the need to type sudo for frequent administrative tasks by configuring .bashrc aliases or functions.

Read More
Dynamically Changing Dates in Excel Formulas Using Cells

Eliminate manual date updates in Excel by using cell references to create dynamic formulas that automatically adjust calculations when input dates change.

Read More
Granting Edit Access to a Specific Excel Sheet in an Office 365 User Email ID-Based Login

Excel Online lacks native sheet-level permissions, so users must split workbooks or use worksheet protection to isolate edit access for specific tabs.

Read More
Creating Network Load on Local Wi-Fi from One PC

Generate sustained Wi-Fi bandwidth load from a single PC using a VM SFTP server to test router stability and throughput.

Read More
Changing the Default Editor for Batch Files in Windows 11's File Explorer

Resolve the issue of batch files opening in Notepad by changing the default editor to a preferred application like VS Code.

Read More
Gain WiFi Connection Minutes Before Losing it by Changing MAC Address

Bypass MAC address filtering to restore WiFi connectivity temporarily when a device is blocked by network administrators.

Read More
Photos Folders Turned Black: Troubleshooting Picture Applications on Windows

Resolve black screens in Windows Photos by resetting the app, updating graphics drivers, and repairing system files.

Read More
Troubleshooting High CPU Temperature Values: A Step-by-Step Guide

Resolve high CPU temperatures and thermal throttling by monitoring with Speedfan, cleaning dust from cooling components, and replacing degraded thermal paste.

Read More
Make cURL establish TLS connection with CA unknown

Resolve cURL TLS connection failures with unknown or self-signed certificates by using the --insecure flag to bypass CA validation.

Read More
Troubleshooting Incorrect Network Metrics Values in Grafana, Prometheus, InfluxDB, and Telegraf

Fix incorrect network metrics in Grafana, Prometheus, InfluxDB, and Telegraf by verifying interface selection, resolving unit mismatches, and handling counter resets.

Read More
Start Another Terminal Window (cmd.exe) Windows Repair/Troubleshoot

Provides step-by-step instructions to access the Windows Command Prompt via bootable media for advanced system repair and troubleshooting.

Read More
Thinkpad P1 Gen 6: Sudden Thunderbolt 3 Dock USB-C Charging Stopped Working

Resolve sudden Thunderbolt 3 dock USB-C charging and internet failure on ThinkPad P1 Gen 6 by updating firmware, resetting the dock, and adjusting power settings.

Read More
ASUS Windows 11 Laptop: Internet Connection Issue with Hotspot

Resolve ASUS Windows 11 laptop spinning wheel issue when connecting to mobile hotspot by resetting network stack, disabling IPv6, and adjusting power settings.

Read More
Developing iOS Project with Firebase: Logging in and Sending Push Notifications

Integrates Firebase to enable secure user authentication and push notifications in iOS applications.

Read More
Troubleshooting Bash Script with Suspected Issues of Spaces, Dashes, Filenames and Quoting

Resolve Bash script failures caused by word splitting, globbing, and special characters in filenames by applying proper quoting techniques.

Read More
Populating OneDrive Folder for Local Backup without Affecting Remote Files

Prevent OneDrive from deleting remote files during Windows reinstallation by unlinking the account or using symbolic links to isolate local data.

Read More
Force First Frame as Keyframe Without Re-encoding: A Quick Solution

Resolve inaccurate seeking and playback glitches by re-encoding video to ensure the first frame is a valid keyframe.

Read More
Find Information in Database Using WSL (Ubuntu) on Windows-10

Resolve database connection issues from WSL Ubuntu on Windows 10 by configuring client tools and network access to query remote or local servers.

Read More
Configuring a New Router with Different Networks: One Family, One Guest

Resolve IP conflicts and isolate guest traffic by configuring a second router with a distinct subnet via its WAN port.

Read More
Quickly Open Multiple Stock Websites with a Single Command

Solve the problem of manually opening multiple stock research websites by creating a single command to launch them simultaneously on Windows, macOS, or Linux.

Read More
Improved Adobe Acrobat Search Experience: Access Advanced Search with Ease

Access advanced search filters like case sensitivity and regex in Adobe Acrobat by clicking More Options in the Find bar.

Read More
Port Forwarding VM via OpenVPN: A Comprehensive Guide

Configure OpenVPN server and iptables to forward specific ports from VPN clients to a virtual machine's internal IP address.

Read More
Understanding Partitions in the 1980s: A Look Back at MS-DOS and Master Boot Record

Explains how the Master Boot Record and partition table enabled MS-DOS to manage multiple disk volumes on a single physical drive.

Read More
Windows 10 Enterprise: Keyboard Not Detected in Managed Organization with Admin Privileges

Resolve Windows 10 Enterprise keyboard detection failures caused by Group Policy restrictions, driver corruption, or USB enumeration errors.

Read More
Can't Find x86_64 Versions of Applications on MacOS arm64 (M1)

Resolve missing x86_64 app issues on M1 Macs by installing Rosetta 2 and reinstalling apps as universal binaries.

Read More
How to Hide Installation Source for an Android App

Manage Android app installation source visibility by using USB transfers or file managers to reduce browser traces and isolate data via work profiles.

Read More
Connecting Momentus 4200.2 ST9808210A Hard Drive via USB Cable

Resolve inability to access Seagate Momentus 4200.2 ST9808210A hard drive by connecting it via USB using a compatible SATA-to-USB adapter and configuring the disk in Windows.

Read More