{"id":1618,"date":"2017-12-06T09:32:09","date_gmt":"2017-12-06T09:32:09","guid":{"rendered":"http:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/?p=1618"},"modified":"2017-12-06T09:32:09","modified_gmt":"2017-12-06T09:32:09","slug":"ohsecurebrowser-network-install","status":"publish","type":"post","link":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/2017\/12\/06\/ohsecurebrowser-network-install\/","title":{"rendered":"OHSecureBrowser Network Install"},"content":{"rendered":"<p>\t\t\t\t&lt;![CDATA[Okay, so you are a 1:1 school like us.\u00a0 You get all the laptops back\u00a0every summer, update and clean them, and reissue them the first week of school&#8230;in August.\u00a0 2 weeks later, ODE finally releases the updated version of the <a href=\"http:\/\/oh.portal.airast.org\/ocba\/browsers\/\" target=\"_blank\" rel=\"noopener noreferrer\">Ohio Secure Browser<\/a> for state Air testing.\u00a0 Yes, we curse and swear and wish they had given it to us in June.\u00a0 How do they think we are going to get all those devices back?\u00a0 Oh, they gave us an MSI to GPO install it?\u00a0 Great!\u00a0 Sarcasm abounds here although it is difficult to hear.<br \/>\nThe problem with a GPO\/MSI install is that the thing will take forever, and possibly fail when users simply shut the laptop off, via wifi with hundreds of devices.\u00a0 Oh, it works fine on the wired devices, especially if you roll out the GPO a container at a time.\u00a0 WIFI MSI installs, not so much.<br \/>\nSo we get to why am I writing this post at all.\u00a0 No not to complain (well maybe a little) but to share how I get the new software out to laptops without a ridiculous delay.\u00a0 I use a shutdown script that has it copy the software in pieces.\u00a0 In this case, 5 pieces.\u00a0 If you have a slow network, or experience issues, you could break it down to 20, realizing that it will take 20 shutdowns to complete.\u00a0 The setup is predicated on making a network share with the contents of the OHSecureBrowser folder broken into distinct parts for the install steps.\u00a0 You can break this batch file down even further if needed.\u00a0 I have commented the basic stages of the process as much as possible.\u00a0 Below is a screenshot of my folders and the contents of stage3.<br \/>\n<a href=\"http:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-content\/uploads\/sites\/3\/2017\/12\/stages.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1621\" src=\"http:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-content\/uploads\/sites\/3\/2017\/12\/stages.png\" alt=\"\" width=\"120\" height=\"291\" \/><\/a><a href=\"http:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-content\/uploads\/sites\/3\/2017\/12\/stage-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-1626\" src=\"http:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-content\/uploads\/sites\/3\/2017\/12\/stage-3.png\" alt=\"\" width=\"257\" height=\"176\" \/><\/a><br \/>\nEach text file is copied into OHSecureBrowser after that step is complete.\u00a0 Stage0.txt denotes that it is complete.\u00a0 The batch file (below) must be in the GPO (not linked) or it will not execute since it is making administrative level changes to the file system.\u00a0 Also \\\\server\\share in the code denotes where you are sharing the OH10 folder which includes the stage files above.<br \/>\nWhy go to all this trouble?\u00a0 Network installs can really slow you down, irritate users, and obviously fail.\u00a0 Breaking an install like this into little parts makes it manageable, if you have the time to do it (assume a few weeks for all the parts.)\u00a0 By copying the text file last it will simply keep doing that stage until it finally finished it.\u00a0 This process has worked like a charm for me and I apply this frequently with items I want to happen seamlessly in the background.<\/p>\n<hr \/>\n<p>IF EXIST &#8220;c:\\Program Files\\OHSecureBrowser\\stage0.txt&#8221; (<br \/>\ngoto end<br \/>\n)<br \/>\nIF EXIST &#8220;c:\\Program Files (x86)\\OHSecureBrowser\\stage0.txt&#8221; (<br \/>\ngoto end<br \/>\n)<br \/>\nIF EXIST &#8220;c:\\Program Files\\OHSecureBrowser\\stage5.txt&#8221; (<br \/>\nC:<br \/>\ncd \\Program Files\\OHSecureBrowser<br \/>\ncopy \\\\server\\share\\OH10\\stage0.txt<br \/>\ngoto end<br \/>\n)<br \/>\nIF EXIST &#8220;c:\\Program Files (x86)\\OHSecureBrowser\\stage5.txt&#8221; (<br \/>\nc:<br \/>\ncd &#8220;\\Program Files (x86)\\OHSecureBrowser&#8221;<br \/>\ncopy \\\\server\\share\\OH10\\stage0.txt<br \/>\ngoto end<br \/>\n)<br \/>\nIF NOT EXIST &#8220;C:\\Users\\Public\\Desktop\\OHSecureBrowser.lnk&#8221; (<br \/>\ngoto Stage1<br \/>\n)<br \/>\n:Check86<br \/>\nIF EXIST &#8220;C:\\Program Files\\OHSecureBrowser\\api-ms-win-core-console-l1-1-0.dll&#8221; (<br \/>\nc:<br \/>\ncd \\Program Files\\OHSecureBrowser<br \/>\ncopy \\\\server\\share\\OH10\\stage0.txt<br \/>\ncopy \\\\server\\share\\OH10\\stage5.txt<br \/>\ngoto end<br \/>\n)<br \/>\n:Check64<br \/>\nIF EXIST &#8220;C:\\Program Files (x86)\\OHSecureBrowser\\api-ms-win-core-console-l1-1-0.dll&#8221; (<br \/>\nc:<br \/>\ncd &#8220;\\Program Files (x86)\\OHSecureBrowser&#8221;<br \/>\ncopy \\\\server\\share\\OH10\\stage0.txt<br \/>\ncopy \\\\server\\share\\OH10\\stage5.txt<br \/>\ngoto end<br \/>\n)<br \/>\n:Stage1<br \/>\ndel &#8220;C:\\Users\\Public\\Desktop\\OHSecureBrowser.lnk&#8221;<br \/>\nIF NOT EXIST &#8220;c:\\Program Files\\OHSecureBrowser\\stage1.txt&#8221; (<br \/>\nC:<br \/>\ncd \\Program Files<br \/>\nmd OHSecureBrowser<br \/>\ncd OHSecureBrowser<br \/>\ncopy \\\\server\\share\\OH10\\stage1\\*.*<br \/>\ncopy \\\\server\\share\\OH10\\stage1.txt<br \/>\ngoto end<br \/>\n)<br \/>\n:Stage2<br \/>\nIF NOT EXIST &#8220;c:\\Program Files\\OHSecureBrowser\\stage2.txt&#8221; (<br \/>\nC:<br \/>\ncd \\Program Files\\OHSecureBrowser<br \/>\ncopy \\\\server\\share\\OH10\\stage2\\*.*<br \/>\ncopy \\\\server\\share\\OH10\\stage2.txt<br \/>\ngoto end<br \/>\n)<br \/>\n:Stage3<br \/>\nIF NOT EXIST &#8220;c:\\Program Files\\OHSecureBrowser\\stage3.txt&#8221; (<br \/>\nC:<br \/>\ncd \\Program Files\\OHSecureBrowser<br \/>\nmd defaults<br \/>\ncd defaults<br \/>\nmd pref<br \/>\ncd pref<br \/>\ncopy \\\\server\\share\\OH10\\stage3\\defaults\\pref\\*.*<br \/>\ncd \\Program Files\\OHSecureBrowser<br \/>\nmd dictionaries<br \/>\ncd dictionaries<br \/>\ncopy \\\\server\\share\\OH10\\stage3\\dictionaries\\*.*<br \/>\ncd \\Program Files\\OHSecureBrowser<br \/>\nmd fonts<br \/>\ncd fonts<br \/>\ncopy \\\\server\\share\\OH10\\stage3\\fonts\\*.*<br \/>\ncd \\Program Files\\OHSecureBrowser<br \/>\nmd gmp-clearkey<br \/>\ncd gmp-clearkey<br \/>\nmd 0.1<br \/>\ncd 0.1<br \/>\ncopy \\\\server\\share\\OH10\\stage3\\gmp-clearkey\\0.1\\*.*<br \/>\ncd \\Program Files\\OHSecureBrowser<br \/>\ncopy \\\\server\\share\\OH10\\stage3.txt<br \/>\ngoto end<br \/>\n)<br \/>\n:Stage4<br \/>\nIF NOT EXIST &#8220;c:\\Program Files\\OHSecureBrowser\\stage4.txt&#8221; (<br \/>\nC:<br \/>\ncd \\Program Files\\OHSecureBrowser<br \/>\nmd securebrowser<br \/>\ncd securebrowser<br \/>\ncopy \\\\server\\share\\OH10\\stage4\\securebrowser\\*.*<br \/>\ncd \\Program Files\\OHSecureBrowser\\securebrowser<br \/>\nmd components<br \/>\ncd components<br \/>\ncopy \\\\server\\share\\OH10\\stage4\\securebrowser\\components\\*.*<br \/>\ncd \\Program Files\\OHSecureBrowser\\securebrowser<br \/>\nmd extensions<br \/>\ncd extensions<br \/>\ncopy \\\\server\\share\\OH10\\stage4\\securebrowser\\extensions\\*.*<br \/>\ncd \\Program Files\\OHSecureBrowser\\securebrowser<br \/>\nmd features<br \/>\ncd features<br \/>\ncopy \\\\server\\share\\OH10\\stage4\\securebrowser\\features\\*.*<br \/>\ncd \\Program Files\\OHSecureBrowser\\securebrowser<br \/>\nmd VisualElements<br \/>\ncd VisualElements<br \/>\ncopy \\\\server\\share\\OH10\\stage4\\securebrowser\\VisualElements\\*.*<br \/>\ncd \\Program Files\\OHSecureBrowser<br \/>\nmd uninstall<br \/>\ncd uninstall<br \/>\ncopy \\\\server\\share\\OH10\\stage4\\uninstall\\*.*<br \/>\ncd \\Program Files\\OHSecureBrowser<br \/>\ncopy \\\\server\\share\\OH10\\stage4.txt<br \/>\ngoto end<br \/>\n)<br \/>\n:Stage5<br \/>\nIF NOT EXIST &#8220;c:\\Program Files\\OHSecureBrowser\\stage5.txt&#8221; (<br \/>\nxcopy &#8220;\\\\server\\share\\OH10\\stage5\\*.*&#8221; &#8220;C:\\Users\\Public\\Desktop\\*.*&#8221; \/d \/y<br \/>\nC:<br \/>\ncd \\Program Files\\OHSecureBrowser<br \/>\ncopy \\\\server\\share\\OH10\\stage5.txt<br \/>\ncopy \\\\server\\share\\OH10\\stage0.txt<br \/>\ngoto end<br \/>\n)<br \/>\n:end<br \/>\n&nbsp;]]&gt;\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&lt;![CDATA[Okay, so you are a 1:1 school like us.\u00a0 You get all the laptops back\u00a0every summer, update and clean them, and reissue them the first week of school&#8230;in August.\u00a0 2 weeks later, ODE finally releases the updated version of the Ohio Secure Browser for state Air testing.\u00a0 Yes, we curse and swear and wish they &hellip; <a href=\"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/2017\/12\/06\/ohsecurebrowser-network-install\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">OHSecureBrowser Network Install<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[],"class_list":["post-1618","post","type-post","status-publish","format-standard","hentry","category-tech-staff"],"_links":{"self":[{"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/posts\/1618","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/comments?post=1618"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/posts\/1618\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/media?parent=1618"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/categories?post=1618"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wordpress.nationaltrail.k12.oh.us\/ittech\/wp-json\/wp\/v2\/tags?post=1618"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}