The Request to add or remove features on the specified

Taha Sessevmez 0 Reputation points

Firstly I try Server Manager Add roles and features then check Ftp but installing error

the request to add or remove features on the specified server failed

User's image

And I try with powershell

Install-WindowsFeature -Name Web-Ftp-Server

And error this

User's image

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,517 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Zunhui Han 315 Reputation points Microsoft Vendor


    Based on my understanding of your issue, I suspect that your system files may have been damaged. SFC (System File Checker) is a cmd-based system repair program that can scan problematic files in Windows system files and replace them with A healthy file in a known correct version.

    To repair your system using SFC command prompt, do the following:

    Open "Start", search for "cmd", select it and run Windows Server 2019 Command Prompt as administrator to repair the system.

    Then enter the command: "sfc /scannow" and press "Enter".


    If SFC cannot resolve the issue, SFC may not be able to obtain the files it needs and your system may be damaged. In this case, you can try to use DISM to repair your Windows system.

    To use the DISM command prompt to repair the system image file in Windows Server 2019 , please do the following:

    Windows Server 2019 includes a cmd command-based application called DISM (Deployment Image Servicing and Management) for system repair. To repair Windows Server 2019 using DISM command, please do the following:

    To check if any files are corrupted, run cmd as administrator and enter the following command and press "Enter".

    DISM /Online /Cleanup-Image /CheckHealth


    To repair Windows image, run cmd as administrator and enter the following command and press "Enter".



    Reference links:

    If the above response helps answer your question, remember to "Accept Answer" so that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.

    Best regards


  2. Taha Sessevmez 0 Reputation points


    1.Go to C:\Windows\Logs

    1. Rename the CBS file to CBS_OLD (if it cannot be renamed, restart your PC and then rename it)
    2. Enter the CBS folder and locate the errors: "Failed to pin deployment while resolving Update: Package_....KB***" and "Failed to bulk stage deployment manifest and pin deployment for package: Package_"
    3. Search for the package at as Windows 2019 and download it
    4. Create a folder named C:\kb
    5. Inside the kb folder, create as many subfolders as the number of packages you downloaded, for example, if two packages then create kb1 and kb2
    6. Open the command prompt as admin and type the directory and package name here, then install with: expand -f:* c:\kb\windows10.0-PACKAGE NAME-x64_9739e9efd8aafacbd921e14ba1c701da2012464a.msu c:\kb\kb1
    7. If there are more, do the same for those
    8. Install the packages using: dism /online /add-package /packagepath:c:\kb\kb1\ and similarly for others if any
    9. Restart your PC
    10. Complete the installation