Custom Script – Retrieve Local Admins Fails

BatchPatch Forums Home Forums BatchPatch Support Forum Custom Script – Retrieve Local Admins Fails

  • This topic has 1 reply, 2 voices, and was last updated 3 years ago by doug.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #13391
    doug
    Moderator

    Are you using integrated security or alternate credentials in the rows that connect to target computers? After just looking at the tutorial and script, I think it would only work for integrated security and would not work if the account that is being used to run the BatchPatch.exe does not also have permissions on the target computers.

    We’ll look at updating the tutorial at some point in the future to account for this, but the best workaround right now is to NOT write the output to a single local file (because you won’t be able to with this method), but instead create a BatchPatch deployment that deploys the VBS script to the target computer. In the ‘Deployment’ configuration window check the box that says “Retrieve console output”, and type $computer in the parameters field. Then when you execute the deployment, the script will be copied to the target computer for execution, and the results will be reported in BatchPatch in the ‘Deployment output log’ column.

Viewing 1 post (of 1 total)
  • You must be logged in to reply to this topic.