{"id":1558,"date":"2014-05-13T14:02:46","date_gmt":"2014-05-13T18:02:46","guid":{"rendered":"http:\/\/batchpatch.com\/?p=1558"},"modified":"2022-10-07T11:52:17","modified_gmt":"2022-10-07T15:52:17","slug":"getting-started-with-batchpatch","status":"publish","type":"post","link":"https:\/\/batchpatch.com\/getting-started-with-batchpatch","title":{"rendered":"Getting Started with BatchPatch"},"content":{"rendered":"<p>If you just downloaded BatchPatch for the first time, let&#8217;s go through the things that you need to have in place for the software to function properly.<\/p>\n<ol>\n<li><strong>PsExec<\/strong>: Download PsExec from <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/bb897553.aspx\" title=\"PsExec\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft<\/a><\/li>\n<ol>\n<li>PsExec needs to be placed in the Windows PATH of the computer that is running BatchPatch (target computers do *NOT* need psexec).  The PATH is an environment variable that controls where Windows searches for an executable that is specified at the command line.  We recommend that you simply put PsExec.exe in C:\\Windows because the Windows directory is included in the PATH when Windows is installed.  You can read more about the PATH here: <a href=\"http:\/\/en.wikipedia.org\/wiki\/PATH_%28variable%29\" title=\"http:\/\/en.wikipedia.org\/wiki\/PATH_%28variable%29\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/en.wikipedia.org\/wiki\/PATH_%28variable%29<\/a>.<br \/>\nIf you have trouble you can alternatively specify a custom filepath for PsExec.exe in BatchPatch by going to <em>&#8216;Tools > Settings > Remote Execution > Use psexec.exe custom filepath&#8217;<\/em>.<\/li>\n<li>Open a command prompt (<em>start > run > cmd<\/em>) and launch PsExec one time by typing &#8216;psexec&#8217; without the quotes, and then press enter.  Accept the End-User License Agreement for PsExec.<\/li>\n<li>Make sure the PsExec.exe is not blocked by Windows.  Right click on PsExec.exe and select &#8216;Properties&#8217; and then click on the &#8216;General&#8217; tab.  If you see the &#8216;Unblock&#8217; checkbox as shown in the image below, check the box and click OK.<br \/>\n<a href=\"\/wp-content\/uploads\/2014\/05\/2019-08-01-14_01_39-PsExec.exe-Properties.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2014\/05\/2019-08-01-14_01_39-PsExec.exe-Properties.png\" alt=\"\" width=\"403\" height=\"525\" class=\"aligncenter size-full wp-image-4763\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2014\/05\/2019-08-01-14_01_39-PsExec.exe-Properties.png 403w, https:\/\/batchpatch.com\/wp-content\/uploads\/2014\/05\/2019-08-01-14_01_39-PsExec.exe-Properties-230x300.png 230w\" sizes=\"auto, (max-width: 403px) 100vw, 403px\" \/><\/a>\n<\/li>\n<\/ol>\n<li><strong>Permissions<\/strong>: In order for BatchPatch to work properly, you must have access to a user account that is in the local administrators group on the target computers that you will be working with.  In your environment, this might be as simple as logging on to your computer as a domain administrator, and then simply running BatchPatch.  However, if you&#8217;re using local accounts with no domain, there are some additional configuration steps, so if you have any issues whatsoever with authentication with or without a domain, please first consult this link and read through it entirely to make sure you have everything setup properly: <a href=\"\/batchpatch-authentication-in-domain-and-workgroup-non-domain-environments\" title=\"\/batchpatch-authentication-in-domain-and-workgroup-non-domain-environments\" target=\"_blank\" rel=\"noopener noreferrer\">BatchPatch Authentication in Domain and Workgroup (Non-Domain) Environments<\/a><\/li>\n<li><strong>Firewalls<\/strong>: In order for BatchPatch to communicate with target computers, firewall software on the target computers either needs to be disabled altogether (not recommended), or it needs to be configured to allow the appropriate services to be able to communicate (recommended).  For more information as well as instructions on configuring Windows Firewall for use with BatchPatch, please see this link: <a href=\"\/using-batchpatch-with-windows-firewall\" title=\"\/using-batchpatch-with-windows-firewall\" target=\"_blank\" rel=\"noopener noreferrer\">Using BatchPatch with Windows Firewall<\/a>.  For specific information about port requirements, please see <a href=\"\/batchpatch-ports\" title=\"BatchPatch Port Requirements\" target=\"_blank\" rel=\"noopener noreferrer\">BatchPatch Port Requirements<\/a>.  After that, verify on target computers that the following items are working:<\/li>\n<ol>\n<li>The Workstation service is running (check using services.msc by going to <strong><em>start > run > services.msc<\/em><\/strong>)<\/li>\n<li>The Server service is running (check using services.msc)<\/li>\n<li>The Remote Procedure Call (RPC) service is running (check using services.msc)<\/li>\n<li>The Windows Management Instrumentation (WMI) service is running (check using services.msc)<\/li>\n<li>The Admin$ share is available (go to <strong><em>start > run > \\\\targetComputer\\admin$<\/em><\/strong> to test this connection)<\/li>\n<li>&#8216;File and Printer Sharing is enabled (no need to actually share anything)<\/li>\n<\/ol>\n<li>Lastly, if you are using WSUS, here are some guidelines for Group Policy settings that you might want to incorporate to get the most out of BatchPatch.  WSUS is NOT required to use BatchPatch.  Additionally, if you DO use WSUS, no special configuration is required.  BatchPatch will work with your existing WSUS environment.  <a href=\"\/batchpatch-integration-with-wsus-and-group-policy\" title=\"\/batchpatch-integration-with-wsus-and-group-policy\" target=\"_blank\" rel=\"noopener noreferrer\">Additional guidelines for integrating WSUS and Group Policy for BatchPatch<\/a><\/li>\n<li>Once you have everything in place, you can simply launch BatchPatch and add some computers to the grid!<\/li>\n<li><strong>Troubleshooting Common Errors:<\/strong> If you run into any problems, this link explains how to resolve the most common errors that might occur:  <a href=\"\/troubleshooting-common-errors-in-batchpatch\" target=\"_blank\" rel=\"noopener noreferrer\">Troubleshooting Common Errors in BatchPatch<\/a><\/li>\n<p>&nbsp;<\/p>\n<p><a href=\"\/wp-content\/uploads\/2014\/05\/BP_GettingStarted.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2014\/05\/BP_GettingStarted.png\" alt=\"BP_GettingStarted\" width=\"664\" height=\"498\" class=\"aligncenter size-full wp-image-1567\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2014\/05\/BP_GettingStarted.png 664w, https:\/\/batchpatch.com\/wp-content\/uploads\/2014\/05\/BP_GettingStarted-300x225.png 300w\" sizes=\"auto, (max-width: 664px) 100vw, 664px\" \/><\/a>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>If you just downloaded BatchPatch for the first time, let&#8217;s go through the things that you need to have in place for the software to function properly. PsExec: Download PsExec from Microsoft PsExec needs to be placed in the Windows PATH of the computer that is running BatchPatch (target computers do *NOT* need psexec). The [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1,17,3],"tags":[47,46,45],"class_list":["post-1558","post","type-post","status-publish","format-standard","hentry","category-blog","category-general","category-tutorials","tag-getting-started","tag-prerequisites","tag-requirements"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/1558","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/comments?post=1558"}],"version-history":[{"count":22,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/1558\/revisions"}],"predecessor-version":[{"id":6006,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/1558\/revisions\/6006"}],"wp:attachment":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/media?parent=1558"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/categories?post=1558"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/tags?post=1558"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}