I have installed the Grafana Agent on C drive in windows (C:\Program Files\Grafana Agent)
Created a director D:\Program Files\Grafana Agent and moved all the configurations from C drive to D Drive
Executed the below command
sc.exe config “Grafana Agent” binpath= “D:\Program Files\Grafana Agent\agent-windows-amd64.exe -config.file="D:\Program Files\Grafana Agent\agent-config.yaml"”
However not able to start the Grafana Agent service and getting the below error: