What does Windows error code 1640 (ERROR_INSTALL_REMOTE_DISALLOWED) mean?

 
Previous Next
ERROR_INVALID_COMMAND_LINE ERROR_SUCCESS_REBOOT_INITIATED

ERROR_INSTALL_REMOTE_DISALLOWED

ERROR_INSTALL_REMOTE_DISALLOWED means Windows Installer rejected an add, remove, or configuration action for server software in the current Remote Desktop or Terminal Services session.

It is an installation-context restriction. The exact action and session type should be confirmed in the installer log before changing deployment settings.

What to check

  • Confirm whether the operation is running in a Remote Desktop session and whether the account has the required administrative privileges.
  • Use the organization-approved local console, deployment system, or maintenance workflow for server software.
  • Capture a verbose MSI log to identify the product action that was blocked and whether another policy also applies.

Microsoft: Windows Installer error codes

Microsoft: Windows Installer logging

Microsoft: Standard Installer command-line options


Looking for a different code? Search another status or error code.