Tag Archives: remote commands

Remotely Deleting Files and Folders on Multiple Computers

Below I’ll show you the commands that you can insert into BatchPatch if you need/want to delete a file or folder on numerous target computers. I’d also like to use this as an opportunity to discuss the differences between executing remote executables as compared to remote shell commands. In BatchPatch we provide multiple different ways […]

Posted in Blog, General, Tutorials | Also tagged , , | Comments closed

Remotely Executing Windows Console or Shell Commands vs Windows Executables in BatchPatch

Today I’d like to discuss a topic that comes up sometimes that can be confusing when you don’t know anything about what is happening “under the hood” in BatchPatch. BatchPatch Remote Commands In BatchPatch we provide two primary ways for executing remote commands– ‘Remote command 1/2‘ and ‘Remote command 3/4 (logged output)‘. What some of […]

Posted in Blog, General, Tutorials | Also tagged , | Comments closed

BatchPatch Remote Command Execution Options

BatchPatch has a number of commands and actions that are built-in and come with the software… Windows update commands, reboot and shutdown commands, wake on LAN, commands to get information from target computers about disk space usage, uptime, logged-on users, file version information, registry values, commands to review/modify services and processes, and a lot more. […]

Posted in Blog, General | Also tagged , | Comments closed

Running the Disk Cleanup Tool (cleanmgr.exe) Remotely on Multiple Computers

We recently received a question about how to successfully run the Windows Disk Cleanup Tool remotely using BatchPatch. The user noted that when running cleanmgr.exe in BatchPatch on a target computer, the cleanmgr.exe would stay running indefinitely. This is essentially the same problem that we discuss in numerous places on this website when it comes […]

Posted in Blog, General, Tutorials | Also tagged , , , , , , | Comments closed

Remote Execution Context

In the most recent release of BatchPatch (20160914) we added a new setting for ‘Remote Execution Context’ under ‘Tools > Settings > Remote Execution.’ This setting determines the execution context used for remote commands and deployments. SYSTEM: Run the remote process in the SYSTEM account Elevated token: Run the remote process with the account’s elevated […]

Posted in Blog, General, Tutorials | Also tagged , , | Comments closed