Agent install with custom setting

Hello,

We have Microsoft Intune to image machine and installing Bigfix agent during imaging but we want to use .cfg file to set some client setting which is not work with below tried lines in the cfg file, please advice.

DeployImageType=21H2
DeployImageStage=0

setting “DeployImageType”=“21H2” on “{now}” for client
setting “DeployImageStage”=“0” on “{now}” for client

How are you installing the client?

we keeping below files on the local drive and install exe.
besclient.exe
masthead.afmx
clientsetting.cfg

Ok, good, wanted to be sure you were using the .EXE installer (the MSI installer doesn’t use client settings.cfg).

You should only need the first two lines above, and it looks like you’re using the right format for those two, I.e.

DeployImageType=21H2
DeployImageStage=0
1 Like

I tried in cfg file with below settings but no luck

DeployImageType=21H2
DeployImageStage=0

The BESClient is not already installed in the source image, right? I believe the clientsettings.cfg is only used for first-time setup.
If this is a first-time setup you may need to open a support ticket to check the live system

correct besclient not installed in the source image its first time client install with cfg, let me dig more on it.

I would suggest using the BES Remove tool to make sure you don’t have remnants of an older install.

Small correction here before I was using clientsetting.cfg which I have renamed into clientsettings.cfg its work now.

1 Like

Yup, that would do it. It happens to the best of us.

1 Like