Flexnet inventory Agent adoption giving error
We are planning adoption strategy for agent deployment however getting below error
<TaskStatus Result="Failed" StartDateTime="2022-06-03T15:07:43" Type="Adoption" Status="RemoteExecutionFailed" Duration="51.01">
<Step Result="Failed" Type="RPCCommand" Status="RPCStartServiceFailed" Duration="51.01" Credential="GCP-admin-domain">
<CommandLine>\\Beaconserver\mgsRET$\Adoption\ndinstlr.exe -r "https://Beaconserver/ManageSoftDL/Packages/Flexera/Adoption/18.0.0/Rev1.0/Managed%20Device%20Adoption/Managed%20Device%20Adoption.osd" -o DeployServerURL="https://Beaconserver/ManageSoftDL" -o MsiInstallArgs="/L*v ManageSoft.msi.log DEPLOYSERVERURL=\"https://Beaconserver/ManageSoftDL\" ALLUSERS=1 REBOOT=ReallySuppress POLICYSOURCE=Server INSTALLMACHINEPOLICY=1 POLICYARGS=\"-o InstallDefaultSchedule=TRUE -o UserInteractionLevel=Quiet\"" -o INSTALLMACHINEPOLICY="1"</CommandLine>
<LastError Result="2">The system cannot find the file specified.
Things to test:
- Is the name 'Beaconserver' resolved to the correct IP address from the computer(s) where you are trying to deploy the agent?
You can test by opening the URL 'https://Beaconserver' in a browser on the target computer(s). You should see the IIS home page, and there should not be any certificate error shown in the browser.
- Can you open the UNC path \Beaconserver\mgsRET$ in Windows explorer on the target computer(s)? You should see a the contents of a file share on the Beacon containing the 'mgsreservice.exe' and two subfolders.
The "The system cannot find the file specified" error suggests that the SYSTEM account on the target computer is unable to access the UNC path \\Beaconserver\mgsRET$\Adoption\ndinstlr.exe. Being able to access that path is required in order for adoption using remote execution functionality from the beacon to work.