{"id":67,"date":"2013-07-15T15:34:32","date_gmt":"2013-07-15T19:34:32","guid":{"rendered":"http:\/\/batchpatch.com\/?p=67"},"modified":"2022-03-16T13:20:36","modified_gmt":"2022-03-16T17:20:36","slug":"how-to-push-net-to-remote-hosts","status":"publish","type":"post","link":"https:\/\/batchpatch.com\/how-to-push-net-to-remote-hosts","title":{"rendered":"How to push .NET (or just about anything) to remote hosts using BatchPatch"},"content":{"rendered":"<p><strong>Here&#8217;s how to use BatchPatch to push the .NET framework to remote hosts that don&#8217;t already have it installed.\u00a0 <span style=\"color: #0000ff;\"><span style=\"color: #000000;\">You can easily modify this example to<\/span> push Adobe updates, Java updates, or just about anything else<span style=\"color: #000000;\"> to remote hosts.<\/span><\/span><span style=\"text-decoration: underline;\"><br \/>\n<\/span><\/strong><\/p>\n<p><span style=\"text-decoration: underline;\">When the remote host is XP\/2003:<\/span><\/p>\n<p>1. Add your remote host(s) to the BatchPatch grid, highlight the row(s), and then choose &#8220;Create\/modify patch deployment&#8221;<\/p>\n<p><a href=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-69\" title=\"BatchPatch_PatchDeployment1\" src=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment1-300x293.jpg\" alt=\"\" width=\"300\" height=\"293\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment1-300x293.jpg 300w, https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment1.jpg 623w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>2. Select the .NET installer and add &#8220;<em><strong>\/q \/norestart<\/strong><\/em>&#8221; to the parameters field<\/p>\n<p><a href=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-70\" title=\"BatchPatch_PatchDeployment2\" src=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment2-300x179.jpg\" alt=\"\" width=\"300\" height=\"179\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment2-300x179.jpg 300w, https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment2.jpg 595w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>3. Choose &#8220;Execute patch deployment&#8221; to begin the process.The installer file will be copied to the remote host and executed.<\/p>\n<p><a href=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment3.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-71\" title=\"BatchPatch_PatchDeployment3\" src=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment3-300x203.jpg\" alt=\"\" width=\"300\" height=\"203\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment3-300x203.jpg 300w, https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment3.jpg 808w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>4. After a few minutes, we see &#8220;<span style=\"color: #0000ff;\"><em><strong>Exit code: 0<\/strong><\/em><\/span>,&#8221; which signifies success.If you receive a different exit code, you should Google it to find out what it means.Windows installers can return a host of different numbers to indicate various things like &#8220;reboot required,&#8221; for example.<\/p>\n<p><a href=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-72\" title=\"BatchPatch_PatchDeployment6\" src=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment6-300x123.jpg\" alt=\"\" width=\"300\" height=\"123\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment6-300x123.jpg 300w, https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment6.jpg 865w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"text-decoration: underline;\">When the remote host is Windows 2008<\/span>:<\/p>\n<p>Windows 2008 makes .NET a &#8220;feature&#8221; that you can install from the command line, so we simply have to execute the proper command on the remote host(s)<\/p>\n<p>1. Add your remote host(s) to the BatchPatch grid, highlight the row(s), and then choose &#8220;Create\/modify custom PsExec command&#8221;<\/p>\n<p><a href=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-73\" title=\"BatchPatch_PatchDeployment7\" src=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment7-300x265.jpg\" alt=\"\" width=\"300\" height=\"265\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment7-300x265.jpg 300w, https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment7.jpg 689w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>2. Type &#8220;servermanagercmd -install net-framework&#8221; with no quotes, of course, in the field.<\/p>\n<p><a href=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment8.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-74\" title=\"BatchPatch_PatchDeployment8\" src=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment8-300x180.jpg\" alt=\"\" width=\"300\" height=\"180\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment8-300x180.jpg 300w, https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment8.jpg 595w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>3. Choose &#8220;Execute custom PsExec command&#8221; to begin the process.<\/p>\n<p><a href=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment9.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-75\" title=\"BatchPatch_PatchDeployment9\" src=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment9-300x172.jpg\" alt=\"\" width=\"300\" height=\"172\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment9-300x172.jpg 300w, https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment9.jpg 886w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>4. After a few minutes, we see &#8220;<span style=\"color: #0000ff;\"><em><strong>Exit code: 0<\/strong><\/em><\/span>,&#8221; which signifies success.If you receive a different exit code, you should Google it to find out what it means.Windows installers can return a host of different numbers to indicate various things like &#8220;reboot required,&#8221; for example.<\/p>\n<p><a href=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment10.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-medium wp-image-76\" title=\"BatchPatch_PatchDeployment10\" src=\"http:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment10-300x118.jpg\" alt=\"\" width=\"300\" height=\"118\" srcset=\"https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment10-300x118.jpg 300w, https:\/\/batchpatch.com\/wp-content\/uploads\/2011\/07\/BatchPatch_PatchDeployment10.jpg 901w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s how to use BatchPatch to push the .NET framework to remote hosts that don&#8217;t already have it installed.\u00a0 You can easily modify this example to push Adobe updates, Java updates, or just about anything else to remote hosts. When the remote host is XP\/2003: 1. Add your remote host(s) to the BatchPatch grid, highlight [&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":[4,5],"class_list":["post-67","post","type-post","status-publish","format-standard","hentry","category-blog","category-general","category-tutorials","tag-patch-deployment","tag-remote-installation"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/67","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=67"}],"version-history":[{"count":3,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/67\/revisions"}],"predecessor-version":[{"id":5802,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/posts\/67\/revisions\/5802"}],"wp:attachment":[{"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/media?parent=67"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/categories?post=67"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/batchpatch.com\/wp-json\/wp\/v2\/tags?post=67"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}