Windows server 2022, ftpsvc win32 error after server update

Anonymous
2024-11-19T20:14:13+00:00

The ftpsvc service terminated with the following error: 

ftpsvc is not a valid Win32 application.

Windows for business | Windows Server | Networking | Network connectivity and file sharing

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question. To protect privacy, user profiles for migrated questions are anonymized.

0 comments No comments
{count} votes

4 answers

Sort by: Most helpful
  1. Anonymous
    2024-11-20T01:41:39+00:00

    Hello ,

    Thank you for posting in Microsoft Community forum.
    Encountering FTPSVC service termination with a "ftpsvc is not a valid Win32 application" error on Windows Server 2022 is typically due to several reasons:

    1. The executable file of the FTPSVC service may be corrupted or missing. You can try reinstalling or repairing the FTP service:
      Open Server Manager. Select Add roles and features. Locate the FTP service and reinstall it.
    2. Recent system updates may cause some services or drivers to be incompatible. Check for recent updates and consider rolling back or uninstalling them.
    3. Ensure that the user running the FTPSVC service has sufficient permissions. You can open the Services management tool.
      Locate the FTPSVC service, right-click and select "Properties". In the Login tab, check the account you are using to make sure that the account you are using has the appropriate permissions.
    4. The registry key of FTPSVC may be corrupted. You can try repairing the registry key to make sure it points to the correct executable.
      Press Win + R, type regedit to open the registry editor.
      Navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesFTPSVC and check the related items.
    5. FTPSVC may rely on other services (such as IIS or other network services). In the Services management tool, review the dependencies for FTPSVC to ensure that all dependent services are started.

    I hope the information above is helpful.
    If you have any questions or concerns, please feel free to let us know.

    Regards,
    Jill Zhou

    0 comments No comments
  2. Anonymous
    2024-11-20T13:25:00+00:00

    Hi,

    Thank you for your reply.

    I have done all this except rolling back the recent server updates.

    This ftp service has been working for more than 5 years as it is. Now it suddenly stopped working after the update without any other change. The ftpsvc is part of the IIS feature. All other related services appear to be running fine.

    Any other ideas?

    Jose

    0 comments No comments
  3. Anonymous
    2024-11-25T00:16:27+00:00

    First of all, I am very sorry that I missed your reply.

    Thank you for your feedback.

    According to your description, if all other related services are running normally and the problem occurs after the update, you can try the following methods:

    1. Try to roll back the recently installed updates, especially those related to IIS or network.
    2. Make sure that the FTP-related components in the IIS feature are not damaged: Open "Server Manager" > "Add Roles and Features" > Verify that the FTP service of IIS is enabled and fully installed.
    3. Run the following commands to re-register the DLL files that may be affected: regsvr32 inetmgr.dll regsvr32 ftpsvc2.dll
    4. Check the system log and IIS's FTP log: Check whether there are more specific error prompts through Event Viewer. Make sure the logging function is enabled and check the log path: C:\inetpub\logs\LogFiles\FTPSVCx.

    If other methods do not work, it is recommended to try to uninstall the FTP service first, restart and reinstall the feature.

    Jill Zhou

    0 comments No comments
  4. Anonymous
    2024-11-26T18:41:55+00:00

    Hi,

    Thanks for your answer again.

    I uninstalled and re-installed the ftp service and again same error.

    I looked for the ftpsvc dlls under windows32 and WoW64 and they are simply not anywhere.

    Any ideas? I am running windows server 2022 standard.

    The ftpsvc has been running for years as part of IIS, until the very recent system update.

    Thank you.

    Jose

    0 comments No comments