Running .bat File from Local PC
Roth Seng
I would like to use PDQ Deploy to run a .bat file that's located in the C:\ drive of a given PC.
I have a step setup in PDQ Deploy to copy a folder with the .bat included to copy to various PCs. Once copied, I would like PDQ Deploy to run that .bat file from that local machine and not from a server or share.
How is this done?
0
Comments
Hi,
forget C:\ and the copy step, the only thing you need is a Install Step with the .bat.
The .bat gets copied automatically to the target PC (\computer\Admin$\AdminArsenal....) and executed local on the PC.
Or Create a "Command" step and put your full .bat code in.
If you stay by your way, (copy a folder to c:\ and execute from there) just create a "Command" step after the copy and put the path to the .bat in
"C:\your_Folder\your_bat.bat"
(the " " to eliminate errors with spaces in the path or filename"
Thank you! The first method you pointed out worked for me. There was no need to copy the files to the local C:\ of the PC and all was needed was the install step with the location of the appropriate files.
Now using HP BIOS Configuration Utility and PDQ, we can make remote BIOS changes to our PCs.
I know, and remote Bios updates are possible too 😉
The "Including Entire Directory" option makes a extra copy step unnecessary