{"id":3118,"date":"2018-03-22T00:31:01","date_gmt":"2018-03-22T00:31:01","guid":{"rendered":"http:\/\/pariswells.com\/blog\/?p=3118"},"modified":"2022-12-02T03:54:09","modified_gmt":"2022-12-02T03:54:09","slug":"bat-script-to-install-windows-n-able-agent","status":"publish","type":"post","link":"https:\/\/pariswells.com\/blog\/research\/bat-script-to-install-windows-n-able-agent","title":{"rendered":".BAT Script to install Windows N-able Agent"},"content":{"rendered":"\n<p>This can be used to install the N-able agent on Startup or through something like PSEXEC with Batch Patch . this only supports Agents137 and below<\/p>\n\n\n\n<p>[pastacode lang=\u201dmarkup\u201d user=\u201dpariswells\u201d repos=\u201dpariswells.com\u201d path_id=\u201dinstall-nable-agent.bat\u201d revision=\u201d\u201d highlight=\u201d\u201d lines=\u201d\u201d provider=\u201dgithub\u201d\/]<\/p>\n\n\n<div class=\"wp-block-wab-pastacode\">\n\t<div class=\"code-embed-wrapper\"> <pre class=\"language-markup code-embed-pre line-numbers\"  data-start=\"1\" data-line-offset=\"0\"><code class=\"language-markup code-embed-code\"><\/code><\/pre> <div class=\"code-embed-infos\"> <\/div> <\/div><\/div>\n\n\n\n<p>If installing via Batch Patch use the Software Deploy to run the .bat<\/p>\n\n\n\n<p>The best way I have deploying anything higher then Nable Agent 137 , is run the .exe and go to %temp% and get the WindowsAgent.msi and deploy with&nbsp;<\/p>\n\n\n\n<p>msiexec \/i \u201c\\\\pathj\\WindowsAgent.msi\u201d \/q CUSTOMERID=\u201d%number%\u201d CUSTOMERSPECIFIC=\u201d1? SERVERPROTOCOL=\u201dHTTPS\u201d SERVERADDRESS=\u201d%server%\u201d SERVERPORT=\u201d443?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This can be used to install the N-able agent on Startup or through something like PSEXEC with Batch Patch . this only supports Agents137 and below [pastacode [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[2327,547,2328,1479],"class_list":["post-3118","post","type-post","status-publish","format-standard","hentry","category-research","tag-batchpatch","tag-group-policy","tag-install-script","tag-n-able"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3118","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/comments?post=3118"}],"version-history":[{"count":5,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3118\/revisions"}],"predecessor-version":[{"id":6481,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/posts\/3118\/revisions\/6481"}],"wp:attachment":[{"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/media?parent=3118"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/categories?post=3118"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pariswells.com\/blog\/wp-json\/wp\/v2\/tags?post=3118"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}