SAS® Deployment Agent Client installations fail with "The characters around the executable and arguments are not part of the command"


When you install SAS® 9.4M9 (TS1M9) on Microsoft Windows operating systems, the SAS Deployment Agent Client might fail to install.  

In the deployagtclt_wx6_install_yyyy-mm-dd.hh.mm.ss.log file, the following message might occur:

[exec] Executing 'icacls.exe' with arguments:
     [exec] 'C:\SAS\sashome\SASRemoteDeploymentAgentClient\2.1\config/deployagtclt.properties'
     [exec] '/grant'
     [exec] 'BUILTIN\Administrators:(F)'
     [exec] 
     [exec] The ' characters around the executable and arguments are
     [exec] not part of the command.
     [exec] 0 fichiers correctement trait‚sÿ; ‚chec du traitement de 1 fichiers
     [exec] BUILTIN\Administrators: Le mappage entre les noms de compte et les ID de s‚curit‚ n'a pas ‚t‚ effectu‚.

BUILD FAILED
C:\SAS\sashome\SASRemoteDeploymentAgentClient\2.1\deployagtclt_install.xml:334: The following error occurred while executing this line:
C:\SAS\sashome\SASRemoteDeploymentAgentClient\2.1\deployagtclt_install.xml:28: The following error occurred while executing this line:
C:\SAS\sashome\SASRemoteDeploymentAgentClient\2.1\deployagtclt_install.xml:64: exec returned: 1332

This issue occurs on Windows operating systems where a language other than English is installed and the Administrators group is not spelled in English.

Workaround

To work around this issue, rename the Administrators group to English using the PowerShell command below. In this example, the French spelling "Administrateurs" is renamed to the English spelling "Administrators".  

Rename-LocalGroup -Name "Administrateurs" -NewName "Administrators"  

After issuing the PowerShell command, click Retry on the SAS® Deployment Wizard. If you have already exited the SAS Deployment Wizard, re-run it to install the software again.