Important Notice: On February 29th, this community was put into read-only mode. All existing posts will remain but customers are unable to add new posts or comment on existing. Please feel to join our Community Discord for any questions and discussions.

VB Scripts

I was reading the version documentation and one of the file types is VBscripts. I have a working Vbscript that I want to push out and run. I am just looking for some assistance with how to run it within PDQ Deploy.

0

Comments

1 comment
Date Votes
  • Hi,

    If you want to run a vbscript on target machines simply select the script as your Installer File (just like you would an MSI or EXE file). This will cause the script to be copied down to the targets and then executed via cscript.exe.

    Keep in mind that the success depends upon a few factors: 

    1) Return Codes. If you have custom return codes (Error Codes) and any of these non-zero codes mean SUCCESS you will want to add these codes to the Success Codes field in your installer.

    2) If you edit the HKEY_CURRENT_USER hive in the registry you will only be modifying the deployment user hive not necessarily the logged on user.

    0