Closing or starting a program on a remote computer

How can I close (or start) a program on a remote computer?

SyncBack includes an option to automatically close programs that are running, but it cannot close programs (or start programs) on remote computers. However, it is possible to do this:

  • Download the free programs psexec and pskill from the following page: http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx
  • Unzip them into a folder, e.g. C:\Windows\System32\
  • For the appropriate profiles Run Before setting use the following: pskill -t \\computername -u adminusername -p adminpassword processname
  • For example, if you wanted to close the program Outlook you would have something like: pskill -t \\computername -u adminusername -p adminpassword outlook
  • Tick the "Wait until the program has finished before running profile" option and set "Wait for 20 seconds for the program to finish"(or a higher value if required)
You may want to have the program restarted after the profile has run:
  • In the Run After profile setting add the following: psexec \\computername\ "path of program to run on remote computer"
  • For example, if you wanted to run the program Outlook you would have something like: psexec \\computername\ "C:\Program Files\Microsoft Office\OFFICE11\outlook.exe"


Technical Articles

  1. Information to include for technical support
  2. Bug Reporting
  3. Creating a debug information file
  4. SyncBack Touch Guide
  5. Why SyncBack Touch Does Not Work With iOS
  6. The Syncback Management System Guide
  7. Safe Computing
  8. Your Software Broke My Hardware
  9. Known bugs and problems with SyncBack
  10. Transferring profiles from one computer to another
  11. The Format of the Text Log File
  12. Running SyncBack from an external storage device
  13. Receiving the log email on profile run
  14. Access Denied Error Message
  15. Access Denied for folder System Volume
  16. The Differences Between File Systems
  17. Automatic backup and sync when files change
  18. Windows Task Scheduler Fails
  19. Assigning a drive letter to external USB
  20. The Windows Task Scheduler
  21. How to see the list of scheduled jobs
  22. Starting and Stopping the Windows Scheduler
  23. How to set up a different schedule at the weekends to that of a weekday
  24. Auto-shut down after running a schedule
  25. Variables
  26. Cannot see hidden folders
  27. How to set the error level for a batch file
  28. Scheduling Other Jobs with SyncBack
  29. Creating a network share to backup or synchronize
  30. HTML Help File Problems
  31. How to troubleshoot hibernation and standby issues in Windows
  32. The Difference Between FTPS and SFTP
  33. Programs or processes that are being used
  34. Example filters for SyncBack
  35. How to Quit a Frozen Program
  36. Cannot copy files or folders with full-stop
  37. Delayed Write Failed error message from Windows
  38. The difference between Active and Passive for FTP
  39. Files with a leading dot or period are hidden
  40. Mapped drive connections are lost
  41. Slow performance with a firewire device on Windows
  42. eml files have wrong last modification date time
  43. Anti-virus flags software as Suspicious
  44. Files to backup in an XP Mode virtual machine
  45. Failed to scan files- Cloud error 403 Forbidden
  46. Cannot suppress Differences in Restore
  47. Logon failure user not granted logon
  48. External exception E06D7363
  49. Cannot copy file - 87 - The parameter is incorrect
  50. Common FTP errors and Socket Error messages
  51. A program needs your permission
  52. Backing up Microsoft Outlook PST files
  53. 0x80070005 - Access is denied error
  54. Where profiles settings are stored
  55. The process cannot access the file
  56. Correct drive letter when unknown
  57. A scheduled task could not be created Access violation at address 005D27DB
  58. SyncBack and Amazon S3
  59. 451 Failure writing to local file
  60. FTP - FTPS and SFTP servers
  61. The maximum path - filename length
  62. Using the files modification date - time
  63. Emailing logs to a Google gmail account
  64. File and folder permissions are not copied
  65. WebDrive and SyncBack
  66. Why scheduling is better than running as a service
  67. Running scheduled tasks with blank Windows login
  68. Access violation at address XXXXXXXX in module vsxp-dll
  69. WebDav and SyncBack
  70. Application fails incorrect configuration
  71. Background Scheduling and Running
  72. Cannot see networked drives
  73. Unable to send email - Error with connecting server
  74. The drive X does not exist
  75. Invalid self-extractor configuration
  76. FTP settings that improve speed
  77. 64 - The specified network not available
  78. Deploying in a Microsoft Active Directory
  79. Install SyncBackFree-SE-Pro no prompts
  80. Situations under which a profile can be run
  81. Side effects using Fast Backups
  82. Logon failure unknown user name 0x8007052E
  83. Transaction support did not start or was shut down
  84. Warning in log file - files cannot be copied
  85. Backing up to multiple folders
  86. Maximum file sizes
  87. Compression error - temp file - 506
  88. VSS_E_PROVIDER_VETO error on volume
  89. Explain Fast Backups
  90. This security ID may not be assigned
  91. Compression error: Cannot open zip file - 503
  92. Desktop Search programs and open-locked files
  93. VSS-E-MAXIMUM-NUMBER-OF-SNAPSHOTS-REACHED
  94. Making FTP the source and backup from FTP
  95. STOP 0x00000019 Bad_Pool_Header
  96. Safe copy failed to rename temp file
  97. Compression error - Cannot move temporary file
  98. Junction Points in Vista
  99. The $SBV$ folder - directory
  100. Failed to access the shadow volume
  101. Backup TrueCrypt containers
  102. FTP servers SyncBack V3 freeware
  103. Timed-out waiting for access to VSS DLL
  104. Cannot create task Profile Name - Access denied
  105. Most common reasons for files being skipped
  106. Files that are installed with SyncBackSE V5
  107. How to Restore Profiles
  108. Creating versions when not using ZIP
  109. Cannot create task Profile Name - Logon failure
  110. Scan Failure using network drives
  111. Verifying IP address with MAC address
  112. Backing up Outlook Express messages
  113. Closing or starting a program on a remote computer
  114. Maximum file size with FTP
  115. DeleteFile failed - code 5 Access is denied
  116. 121 - The semaphore timeout period has expired
  117. Automatically running a profile on login
  118. Problems copying files to an external USB
  119. Files that are installed with SyncBackPro V5
  120. U3 and SyncBack
  121. SyncBack supported storage devices
  122. Cannot copy file - 1314
  123. Profile filename no registry setting file
  124. Verify files are copied correctly
  125. Restore one or a selection of my files
  126. Cannot copy specified file 2
  127. Access violation at address 03A1352B
  128. Reducing the CPU usage when running a profile
  129. Explaining A Collision
  130. FTP Support of MDTM - MFMT SITE UTIME
  131. SyncBackSE-Pro scans with Fast Backups
  132. Filtered files and folders not deleted
  133. Backup or sync my files using Gmail - Yahoo
  134. Error - profile with that name already exists
  135. Error - the file is being used by another process
  136. No account info in the Task Scheduler
  137. Empty folders-directories created in source
  138. Network failure error
  139. SyncBack will not run with Scheduler
  140. XceedZip-dll is not registered or missing
  141. Network Attached Storage - NAS devices
  142. Updating software by 2BrightSparks
  143. Common problems using SAMBA with SyncBack
  144. Recursive junction-mount point non-critical error
  145. SyncBack in task bar but not on screen
  146. The last modification date and time are wrong
  147. VSS_E_WRITER_INFRASTRUCTURE error on volume
  148. Junction Points - Reparse Points
  149. Could not load SSL library error message
  150. Blue screen Windows 2000 FAT
  151. CreateProcess Code 14001 error
  152. Compression error- Cannot write to zip file - 507
  153. Translating the SyncBack-SE-Pro interface
  154. Corrupted filenames in the Zip file
  155. Cannot get date and time of file
  156. Backing up to CD or DVD
  157. Backing up to a CD-RW - DVD+RW - or DVD-RW
  158. Files and folders not selected are included
  159. SmartSync profile copies deleted files
  160. I can now see the profiles of other users
  161. Moving where profile settings are stored
  162. Cannot create - move - or copy file
  163. The license for FTP was not accepted
  164. The file could not be checked for changes
  165. Upgrading from SyncBackSE to SyncBackPro
  166. Imported group profile does not appear
  167. Not enough server storage available
  168. Scan failed Connection closed
  169. Using Fast Backups on all profile types
  170. Error 0x80090016 or 0x8009000f
  171. Expected another server reply - No such file
  172. Backup Windows Encrypting File System certificates
  173. Read-only NTFS encrypted files cannot be copied
  174. Creating a shortcut to run SyncBackFree-SE-Pro
  175. Backing up encrypted files to an FTP server
  176. Viewing a profile log
  177. Compression error prevents file process
  178. Backup is smaller than original
  179. Memory RAM usage comparison
  180. Comparison of compression methods and levels
  181. How to encrypt files without using compression
  182. System32 copied files are unexpected
  183. My profiles keep disappearing
  184. Installing SyncBack-SE-Pro with different version
  185. Cannot create a file when file already exists
  186. Administrator Privileges and SyncBack
  187. The first run of a profile takes a long time
  188. Error 0x00002745 when testing email settings
  189. Non-Allocatable Space on CD or DVD
  190. Accessing BitLocker To Go encrypted drives
  191. CD-DVD burners are not installed
  192. I do not want SyncBack to export profiles
  193. Backup-synchronize between two FTP servers
  194. The application failed to initialize properly
  195. Where SyncBackPro stores its database files
  196. Checking V3 to V4 profiles
  197. GetFolder SyncBack-username exception
  198. Source as FTP Server
  199. Notify me of missed tasks
  200. 23 Data error - cyclic redundancy check
  201. Backup-Sync longer than using FTP client
  202. Profile only copies new and changed files
  203. FTP server last modification date time changes
  204. Network resource or device unavailable
  205. What should I remember about Fast Backups?
  206. Copying files over the network causes problems
  207. Simulated Runs
  208. SyncBack is stuck in a loop on FTP
  209. MP3 files copied even though they are not changed
  210. The maximum number of files for a profile
  211. Windows error system call level
  212. Backup - synchronize between ZIP and FTP
  213. Short and long form filenames causes problems
  214. Using SyncBack with Maxtor OneTouch button
  215. HTML log files do not open with default browser
  216. Preserving archive attribute on copied files
  217. SyncBack login for scheduled tasks
  218. XceedZip-dll cannot be deleted on installation
  219. Tape Backup
  220. No sub-folders are found in a DFS share
  221. SyncBack does not start minimized on login
  222. Child folders and directories are not shown
  223. How to backup from a HTTP web server
  224. Setting default profiles
  225. The SyncBack icon is not shown
  226. Creating scripts and plugins for SyncBackPro
  227. Rescan fails to copy based on archive attribute
  228. Unexpected changes to Microsoft Money files
  229. Network - FTP - Email password storage
  230. Profiles begin to run slowly
  231. Source - destination directory is being changed
  232. Set SyncBack to automatically start with Windows
  233. I cannot change the order of the profiles
  234. Program attempts to connect with Firewall
  235. Solutions to problems with backup to CD-DVD
  236. CreateProcess failed - code 2 - error
  237. BZip2 and other compression methods
  238. FTP shortcut files are missing with Serv-U
  239. Desktop icons disappear when running a profile
  240. Microsoft Application Verifier
  241. Profiles on login run slowly
  242. Changing my compression password
  243. File icons not displaying or are corrupted
  244. Compressed file contains different file
  245. Defining the source to be compressed ZIP file
  246. Differences window does not show all files
  247. Cannot display the SyncBack help file
  248. V5 unexpected error - Contact Xceed Software
  249. Combine files split across multiple CD-DVD
  250. How to create an SFTP - SSH - Key
  251. SQLite Error 1 - not an error
  252. Deleting profile deletes it from all groups
  253. Creating or importing profile does not appear
  254. Inpage Operation error
  255. Polite people say HELO first
  256. Reducing the size of SyncBackSE
  257. Incorrectly reports no files on FTP server
  258. Reducing the size of SyncBackPro
  259. FTP servers may restrict number of files
  260. Windows Event Log has entry after uninstalling
  261. Avast Win32 - Delf-MZG false positive
  262. Backing up to a Zip file on an FTP server
  263. Versioning bug problem in V5.6.0.32
  264. File size exceeds limit and cannot be saved
  265. Network freeze when running backups
  266. Sandboxie and SyncBack
  267. Remote network is not reachable by the transport
  268. Email cannot be deleted it is a re-scan
  269. HHCTRL error entries in Windows Event Log
  270. Some of my profile names are shown in blue
  271. SyncBackSE-Pro icons show as generic icons
  272. FTP is not supported on Windows 2000
  273. Files that are installed with SyncBackPro V6
  274. Sending a profile result to Twitter
  275. SyncBackPro CD-DVD burning and Windows 8
  276. Thread Error Invalid handle- 6
  277. Removal of split from S3 Cloud functionality
  278. Ordinal 3253 not located in dynamic link library
  279. Devices which mount using MTP-PTP
  280. Exception in RunTheProfile - the file exists
  281. Access hidden volumes Volume GUID
  282. Files that are installed with SyncBackSE V6
  283. Request time and current time difference too large
  284. Setup has detected SyncBack currently running
  285. InfoHesiveEP is crashing
  286. Difference between a Topic and an Article
  287. Different WorkSpaces in InfoHesiveEP
  288. InfoHesiveEP Send To with my email program
  289. See WorkSpace with InfoHesiveEP folder
  290. AutoSave backup InfoHesiveEP WorkSpaces
  291. Edit InfoHesiveEP Projects
  292. Send To Shortcut and Item Shortcut
  293. Updating an image file using InfoHesiveEP
  294. InforHesiveEP Help File Content
  295. Compiling an InfoHesiveEP WorkSpace as an exe
  296. Running the InfoHesiveEP Viewer via the icon
  297. InfoHesiveEP Creashes on Start Up
  298. Resizing tables in InfoHesiveEP
  299. InfoHesiveEP WorkSpaces Publishers Key
  300. Drag and Drop in the InfoHesiveEP Outliner
  301. Export InfoHesiveEP Docs to an iPhone or iPad
  302. Exporting InfoHesiveEP Documents to Kindle
  303. Refreshing images in InfoHesiveEP
  304. Export InfoHesiveEP Documents to Mobile Devices
  305. InfoHesiveEP Image Size Support
  306. Converting a InfoHesiveEP WorkSpace
  307. Moving, Copying and Deleting InfoHesiveEP Items
  308. InfoHesive V1 Project File
  309. The InfoHesiveEP Conversion Process
  310. HashOnClick Hash Values
  311. File conditions in UndeleteOnClick
  312. HashOnClick - Hash Values and File Contents
  313. Using EncryptOnClick on a USB key
  314. DeleteOnClick is slow when wiping disk space
  315. Being an Administrator when using FindOnClick
  316. Searching multiple drives with FindOnClick
  317. Streams zero when using FindOnClick
  318. Networth paths and FindOnClick
  319. MD5 Hash Value
  320. The FindOnClick file icons are missing
  321. Creating search shortcuts in FindOnClick
  322. FindOnClick Filenames are Green
  323. FindOnClick Filenames are Blue
  324. Explaining Streams
  325. Listing empty files in FindOnClick
  326. FindOnClick and Storage Devices
  327. Types of files searchable by FindOnClick
  328. Running FindOnClick from a USB
  329. UndeleteOnClick produces junk in file
  330. UndeleteOnClick Does not work
  331. Storage devices and UndeleteOnClick
  332. File types processed by UndeleteOnClick
  333. Strange first letter file and folder names
  334. Undeleting defragmented drives
  335. Undeleting Formatted Drives
  336. Undeleting overwritten files
  337. UndeleteOnClick - NTFS vs. a FAT file system
  338. Alternative options to UndeleteOnClick
  339. Green filenames in UndeleteOnClick
  340. Red filenames in UndeleteOnClick
  341. Blue filenames and OnClickUtilities
  342. Deleted file not shown in UndeleteOnClick
  343. Not listing empty files in FIndOnClick
  344. OnClickUtilities explain All Deleted Files folder
  345. Searching for files using UndeleteOnClick
  346. No file after emptying recycle bin
  347. Undeleting files in the Recycle Bin
  348. Guaranteeing Undeleting Files
  349. Administrator use of UndeleteOnClick
  350. Installing UndeleteOnClick
  351. Administrator rights when undeleting files
  352. Undeleting Files
  353. Evaluation Full version of UndeleteOnClick
  354. UndeleteOnClick System Requirements
  355. Explaining Patch Files
  356. Entering the OnClick Utilities serial number
  357. File types securely deleted by DeleteOnClick
  358. Command line and EncryptOnClick
  359. Matching Hash Values in OnClick Utilities
  360. EncryptOnClick Windows context menu
  361. Displaying lowercase letters in HashOnClick
  362. Disabling the Indexing Service in Windows
  363. Quickly Wiping Free Disk Space
  364. Securely Wipe Free Disk Space
  365. Stopping Differences Window Prompt
  366. Listing Empty Files in FindOnClick
  367. Exception in RunTheProfile - 112
  368. Listing empty files in UndeleteOnClick
  369. Knowing a file has been modified via FTP
  370. Restart and shutdown problems
  371. SFTP and SyncBackSE/Free
  372. FTP servers SyncBackSE-Pro have been tested on
  373. Compression error Cannot read from zip file
  374. All of my network connections are used
  375. Hidden settings change how FTP is used
  376. Component and executables in InfoHesiveEP
  377. Help is not supported in Windows Vista
  378. Network connections on login before program runs
  379. RegSvr32 failed with exit code 0x3
  380. The xxx file folder has been ignored
  381. Amazon S3 Access and Secret Keys
  382. Profiles intermittently dropped from Groups
  383. Windows 8.1 and OneDrive
  384. Amazon S3 - privileges required
  385. Issues with OnChange & OnInsert
  386. Scheduler constraints error 0x80041324
  387. Window 8 Cancels Shutdown/Logoff during Profile run
  388. Error 1251 from networked devices
  389. Scan failed (1): Incorrect function error with some NAS drives
  390. Display problems with high DPI screen
  391. GMail 2-step Verification - using with SyncBackPro/SE/Free
  392. Exclude Time Machine files during backup
  393. Source and Destination are reversed
  394. How to change MIME Content-type for files uploaded to Cloud
  395. Creating a list for extensions to exclude in temp file-names during Safe Copy
  396. 550 The supplied message is incomplete. The signature was not verified.
  397. Limitations to the REST API of Cloud storage services
  398. Cloud Service Status
  399. 550 Data channel timed out
  400. Estimated Time Left indicator during profile runs are inaccurate
  401. "Failed to scan files: Out of memory" errors during Cloud-based backup
  402. Email a Support Ticket option opens other applications instead of default email program
  403. Permission denied writing to SD on Android
  404. Backup your Google Photos
  405. Backing up POP3 IMAP4 and Exchange email messages
  406. Migrate your Backup data to a new system
  407. TLS 1.1 and TLS 1.2 with FTP
  408. Character Encoding during FTP transfer
  409. 421 Too many connections from this IP

Feedback and Knowledge Base