Passwords with special characters or blank spaces
If your password contains special characters or blank spaces, enclose it in quotation marks when you type it on the command line.
For example, in Windows, run this command:
Command template:
"%ProgramFiles%\BackupClient\RegisterAgentTool\register_agent.exe" -o register -t cloud -a <service address> -u <user name> -p <"password">
Command example:
"C:\ProgramFiles\BackupClient\RegisterAgentTool\register_agent.exe" -o register -t cloud -a https://cloud.company.com -u johndoe -p "johns password"
If this command fails, encode your password into base64 format at https://www.base64encode.org/. Then, at the command line, specify the encoded password by using the -b or --base64 parameter.
For example, in Windows, run this command:
Command template:
"%ProgramFiles%\BackupClient\RegisterAgentTool\register_agent.exe" -o register -t cloud -a <service address> -u <user name> -b -p <encoded password>
Command example:
"C:\ProgramFiles%\BackupClient\RegisterAgentTool\register_agent.exe" -o register -t cloud -a https://cloud.company.com -u johndoe -b -p am9obnNwYXNzd29yZA==