Summary
How to check the SYSTEM user permissions on the new Data Service private key, in Sage 50 Accounts v28 and above.
Description
As part of security improvements in Sage 50 Accounts v28, the Data Service now installs a private key to:
C:\Program Data \Microsoft\Crypto\RSA\S-1-5-18
Only the local SYSTEM user can access this private key. If you remove the access, the Data Service cannot start, and the following issues occur:
-
During install you see the error 'Failed to install because the Data Service could not be started'
-
If already installed, you can see the error 'Data Service could not be started'
If you're troubleshooting one of these errors in Sage 50 Accounts v28 or above, check the key permissions as an additional step.
Resolution
Check permissions for Data Service key
- Press the Windows key + E then browse to C:\Program Data \Microsoft\Crypto\
- Right-click the RSA folder, select Properties, then Security.
- Under Group or user names, press SYSTEM.
- Under Permissions for SYSTEM, check that the SYSTEM has full control.
- If the SYSTEM has full control, press OK. You've now checked the permissions are correct
- If the SYSTEM doesn’t exist, contact your IT support to get this created
- If the SYSTEM doesn’t have full control, proceed to step 5
- Press Edit, then in the Allow column, select Full control, then press OK.
- Press Advanced, if a Change permissions option appears in this window, click it.
- Select the Replace all child objects permissions with inheritable permissions from this object checkbox.
- Press OK, then Yes, then OK.
-
After changing the SYSTEM permissions, now:
- Try installing again if the error occurred on installation
- If the error occurred after installation / on opening the software, try starting the Data Service and Control service again. If the issue still occurs, reinstall the Data Service