How the agent-start command is quoted for the login shell OpenSSH uses on the Windows agent (its DefaultShell registry value). Jenkins starts the agent with a cd "<dir>" && java ... command; && is valid in Command Prompt and PowerShell 7 but not in Windows PowerShell 5.x. Only applies to Windows agents.