If you're experiencing the error code 1904 when you install QuickBooks Desktop. You need to run the QuickBooks Install Diagnostic tool from the Tool Hub, change windows account settings, and Reinstall QuickBooks to fix this issue https://www.askforaccounting.com/quickbooks-error-1904-2-failed-to-register-when-installing/