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:
- 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. - Recent system updates may cause some services or drivers to be incompatible. Check for recent updates and consider rolling back or uninstalling them.
- 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. - 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. - 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