Mapping a network drive from BigFix

Ah, a little bit more digging. When I used ‘Take Custom Action’ along with the ‘password=required’ parameter, the Console sends the action but hasn’t evaluated that a secure parameter is needed. When the client fails to execute the command, it gives an error message with a clue in it -

   Command succeeded override wait (action:3200)
   Command succeeded override runas=localuser (action:3200)
   Command succeeded override user=D\TestUser1 (action:3200)
   Command succeeded override password=required (action:3200)
   Command failed (Cannot find needed SecureParameter 'action override password') wait cmd.exe /c "cd C:\temp & c:\temp\test.cmd" (action:3200)

Based on that, I tried sending a parameter named ‘action override password’

parameter "action override password"="MyAccountPassword"
override wait
runas=localuser
user=D\TestUser1
password=required
wait cmd.exe /c "cd C:\temp & c:\temp\test.cmd"

This worked! It gave a warning though

'action override password' should be SecureParameter but it is not! wait cmd.exe /c "cd C:\temp & c:\temp\test.cmd" (action:3203)

Based on this, I’m fairly sure you could get the behavior you want with a Secure Parameter, but you must name the parameter “action override password”

3 Likes