{"id":6481,"date":"2025-06-30T18:01:57","date_gmt":"2025-06-30T22:01:57","guid":{"rendered":"https:\/\/batchpatch.com\/?p=6481"},"modified":"2025-06-30T18:05:15","modified_gmt":"2025-06-30T22:05:15","slug":"deploying-office-2024-to-numerous-computers-with-batchpatch","status":"publish","type":"post","link":"https:\/\/batchpatch.com\/deploying-office-2024-to-numerous-computers-with-batchpatch","title":{"rendered":"Deploying Office 2024 to Numerous Computers with BatchPatch"},"content":{"rendered":"<h2 class=brownishOrange>Configuring and Executing an Office 2024 Deployment:<\/h2>\n<ol>\n<li>Create a new folder that contains your <strong><em>setup.exe<\/em><\/strong> and <strong><em>configuration.xml<\/em><\/strong> files.  The directory should contain no other files other than these two.  For this example my folder is called <strong><em>E:\\Temp\\Office2024<\/em><\/strong><br \/>\n<a href=\"\/wp-content\/uploads\/2025\/06\/2025-06-30-17_23_36.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/06\/2025-06-30-17_23_36.png\" alt=\"\" width=\"610\" height=\"106\" class=\"aligncenter size-full wp-image-6489\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_23_36.png 610w, https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_23_36-300x52.png 300w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/a>\n<\/li>\n<p><\/p>\n<li>Go to <strong><em>Actions > Deploy > Create\/modify deployment&#8230;<\/em><\/strong>  Use the <strong>&#8230;<\/strong> button to browse to the location of your <strong><em>setup.exe<\/em><\/strong> file.  Then select the checkbox for <strong><em>Copy entire directory contents&#8230;<\/em><\/strong>.  Next, input into the <strong><em>Parameters<\/em><\/strong> field: <strong><em>\/configure configuration.xml<\/em><\/strong>.  If your configuration.xml file has a different name, use the name for your own configuration.xml file.  Otherwise your deployment configuration should look the same as mine does in the screenshot below.<br \/>\n<a href=\"\/wp-content\/uploads\/2025\/06\/2025-06-30-17_03_46.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/06\/2025-06-30-17_03_46.png\" alt=\"\" width=\"458\" height=\"351\" class=\"aligncenter size-full wp-image-6484\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_03_46.png 458w, https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_03_46-300x230.png 300w\" sizes=\"auto, (max-width: 458px) 100vw, 458px\" \/><\/a>\n<\/li>\n<p><\/p>\n<li>You&#8217;ll also need to go to <strong><em>Tools > Settings > Remote Execution<\/em><\/strong>, and then set your <strong><em>Remote Execution Context<\/em><\/strong> for <strong>Deployment<\/strong> to <strong><em>Elevated token + Interactive<\/em><\/strong>.  Note, if for some reason you are using an older version of PsExec prior to v2.32, then de-select <strong><em>Interactive<\/em><\/strong>.  However, you should generally be using a newer version of PsExec, and for any newer version you&#8217;ll need to select <strong><em>Interactive<\/em><\/strong> in addition to <strong><em>Elevated token<\/em><\/strong>, like in the screenshot below.<br \/>\n<a href=\"\/wp-content\/uploads\/2025\/06\/2025-06-30-17_00_40.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/06\/2025-06-30-17_00_40.png\" alt=\"\" width=\"486\" height=\"633\" class=\"aligncenter size-full wp-image-6483\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_00_40.png 486w, https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_00_40-230x300.png 230w\" sizes=\"auto, (max-width: 486px) 100vw, 486px\" \/><\/a><br \/>\n\n<\/li>\n<li>You can save the deployment for later by clicking the double-right-arrow <strong>>><\/strong> button in the <strong>Deployment<\/strong> configuration window.  To execute a previously saved deployment, highlight the desired target hosts in the grid and click <em><strong>Actions > Deploy > Execute saved deployments > Office 2024 Deployment<\/strong><\/em><br \/>\n<a href=\"\/wp-content\/uploads\/2025\/06\/2025-06-30-17_11_07.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/06\/2025-06-30-17_11_07-1024x663.png\" alt=\"\" width=\"540\" height=\"350\" class=\"aligncenter size-large wp-image-6485\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_11_07-1024x663.png 1024w, https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_11_07-300x194.png 300w, https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_11_07-768x497.png 768w, https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_11_07.png 1149w\" sizes=\"auto, (max-width: 540px) 100vw, 540px\" \/><\/a><br \/>\n\n<\/li>\n<li>Alternatively you can execute the deployment directly from the <strong>Deployment<\/strong> configuration window.  Just make sure to first highlight the desired target computers in the grid, then click on the <strong><em>Execute now<\/em><\/strong> button.<br \/>\n<a href=\"\/wp-content\/uploads\/2025\/06\/2025-06-30-17_12_54.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/06\/2025-06-30-17_12_54.png\" alt=\"\" width=\"502\" height=\"506\" class=\"aligncenter size-full wp-image-6486\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_12_54.png 502w, https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_12_54-298x300.png 298w, https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_12_54-150x150.png 150w\" sizes=\"auto, (max-width: 502px) 100vw, 502px\" \/><\/a>\n<\/li>\n<p><\/p>\n<li>When the deployment completes you&#8217;ll see <em><strong style=\"color:blue;\">Exit Code: 0 (SUCCESS)<\/strong><\/em> in the <strong><em>All Messages<\/em><\/strong> log column.  However, you might also see an error right after that, like I did.  In the screenshot below you can see that my deployment was successful, but then BatchPatch tried to delete the temp working directory on the target computer but couldn&#8217;t do it successfully.  In this case the deployment was not affected, but I believe what happened was the OS had not yet let go of the lock on the temp directory, so BatchPatch couldn&#8217;t delete it even though BatchPatch was able to delete the <em>setup.exe<\/em> and <em>configuration.xml<\/em> files inside of it.  I was able to manually remove it a moment later, but it really isn&#8217;t even necessary to do that because it&#8217;s an empty temp directory inside of the deployment remote working directory, so it&#8217;s harmless to leave, and in fact it will be deleted by BP the next time I run a deployment anyway.<br \/>\n<a href=\"\/wp-content\/uploads\/2025\/06\/2025-06-30-17_15_46.png\"><img loading=\"lazy\" decoding=\"async\" src=\"\/wp-content\/uploads\/2025\/06\/2025-06-30-17_15_46.png\" alt=\"\" width=\"757\" height=\"43\" class=\"aligncenter size-full wp-image-6487\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_15_46.png 757w, https:\/\/batchpatch.com\/wp-content\/uploads\/2025\/06\/2025-06-30-17_15_46-300x17.png 300w\" sizes=\"auto, (max-width: 757px) 100vw, 757px\" \/><\/a>\n<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Configuring and Executing an Office 2024 Deployment: Create a new folder that contains your setup.exe and configuration.xml files. The directory should contain no other files other than these two. For this example my folder is called E:\\Temp\\Office2024 Go to Actions > Deploy > Create\/modify deployment&#8230; Use the &#8230; button to browse to the location of [&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":[96,329,327,526],"class_list":["post-6481","post","type-post","status-publish","format-standard","hentry","category-blog","category-general","category-tutorials","tag-deployment","tag-microsoft-office","tag-msoffice","tag-office-2024"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/6481","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=6481"}],"version-history":[{"count":13,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/6481\/revisions"}],"predecessor-version":[{"id":6501,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/6481\/revisions\/6501"}],"wp:attachment":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/media?parent=6481"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/categories?post=6481"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/tags?post=6481"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}