Advertisement
Guest User

OneDrive ADAL Configure

a guest
May 9th, 2018
893
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 99.42 KB | None | 0 0
  1. <html dir="ltr" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" gpmc_reportInitialized="false">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-16" />
  4. <title>OneDriveConfigureTESTING</title>
  5. <!-- Styles -->
  6. <style type="text/css">
  7.                 body    { background-color:#FFFFFF; border:1px solid #666666; color:#000000; font-size:68%; font-family:MS Shell Dlg; margin:0,0,10px,0; word-break:normal; word-wrap:break-word; }
  8.  
  9.                 table   { font-size:100%; table-layout:fixed; width:100%; }
  10.  
  11.                 td,th   { overflow:visible; text-align:left; vertical-align:top; white-space:normal; }
  12.  
  13.                 .title  { background:#FFFFFF; border:none; color:#333333; display:block; height:24px; margin:0px,0px,0px,0px; padding-top:0px; position:relative; table-layout:fixed; z-index:5; }
  14.  
  15.                 .he0_expanded    { background-color:#FEF7D6; border:1px solid #BBBBBB; color:#3333CC; cursor:hand; display:block; font-family:MS Shell Dlg; font-size:100%; font-weight:bold; height:2.25em; margin-bottom:-1px; margin-left:0px; margin-right:0px; padding-left:8px; padding-right:5em; padding-top:4px; position:relative; }
  16.  
  17.                 .he1_expanded    { background-color:#A0BACB; border:1px solid #BBBBBB; color:#000000; cursor:hand; display:block; font-family:MS Shell Dlg; font-size:100%; font-weight:bold; height:2.25em; margin-bottom:-1px; margin-left:20px; margin-right:0px; padding-left:8px; padding-right:5em; padding-top:4px; position:relative; }
  18.  
  19.                 .he0h_expanded   { background-color: #FEF0D0; border: 1px solid #BBBBBB; color: #000000; cursor: hand; display: block; font-family: MS Shell Dlg; font-size: 100%; font-weight: bold; height: 2.25em; margin-bottom: -1px; margin-left: 5px; margin-right: 0px; padding-left: 8px; padding-right: 5em; padding-top: 4px; position: relative;  }
  20.                 .he1h_expanded   { background-color: #7197B3; border: 1px solid #BBBBBB; color: #000000; cursor: hand; display: block; font-family: MS Shell Dlg; font-size: 100%; font-weight: bold; height: 2.25em; margin-bottom: -1px; margin-left: 10px; margin-right: 0px; padding-left: 8px; padding-right: 5em; padding-top: 4px; position: relative; }
  21.  
  22.                 .he1    { background-color:#A0BACB; border:1px solid #BBBBBB; color:#000000; cursor:hand; display:block; font-family:MS Shell Dlg; font-size:100%; font-weight:bold; height:2.25em; margin-bottom:-1px; margin-left:20px; margin-right:0px; padding-left:8px; padding-right:5em; padding-top:4px; position:relative; }
  23.  
  24.                 .he2    { background-color:#C0D2DE; border:1px solid #BBBBBB; color:#000000; cursor:hand; display:block; font-family:MS Shell Dlg; font-size:100%; font-weight:bold; height:2.25em; margin-bottom:-1px; margin-left:30px; margin-right:0px; padding-left:8px; padding-right:5em; padding-top:4px; position:relative; }
  25.  
  26.                 .he3    { background-color:#D9E3EA; border:1px solid #BBBBBB; color:#000000; cursor:hand; display:block; font-family:MS Shell Dlg; font-size:100%; font-weight:bold; height:2.25em; margin-bottom:-1px; margin-left:40px; margin-right:0px; padding-left:11px; padding-right:5em; padding-top:4px; position:relative; }
  27.  
  28.                 .he4    { background-color:#E8E8E8; border:1px solid #BBBBBB; color:#000000; cursor:hand; display:block; font-family:MS Shell Dlg; font-size:100%; font-weight:bold; height:2.25em; margin-bottom:-1px; margin-left:50px; margin-right:0px; padding-left:11px; padding-right:5em; padding-top:4px; position:relative; }
  29.  
  30.                 .he4h   { background-color:#E8E8E8; border:1px solid #BBBBBB; color:#000000; cursor:hand; display:block; font-family:MS Shell Dlg; font-size:100%; font-weight:bold; height:2.25em; margin-bottom:-1px; margin-left:55px; margin-right:0px; padding-left:11px; padding-right:5em; padding-top:4px; position:relative; }
  31.  
  32.                 .he4i   { background-color:#F9F9F9; border:1px solid #BBBBBB; color:#000000; display:block; font-family:MS Shell Dlg; font-size:100%; margin-bottom:-1px; margin-left:55px; margin-right:0px; padding-bottom:5px; padding-left:21px; padding-top:4px; position:relative; }
  33.  
  34.                 .he2i   { background-color:#F9F9F9; border:1px solid #BBBBBB; color:#000000; display:block; font-family:MS Shell Dlg; font-size:100%; margin-bottom:-1px; margin-left:35px; margin-right:0px; padding-bottom:5px; padding-left:21px; padding-top:4px; position:relative;}
  35.                 .he5    { background-color:#E8E8E8; border:1px solid #BBBBBB; color:#000000; cursor:hand; display:block; font-family:MS Shell Dlg; font-size:100%; font-weight:bold; height:2.25em; margin-bottom:-1px; margin-left:60px; margin-right:0px; padding-left:11px; padding-right:5em; padding-top:4px; position:relative; }
  36.  
  37.                 .he5h   { background-color:#E8E8E8; border:1px solid #BBBBBB; color:#000000; cursor:hand; display:block; font-family:MS Shell Dlg; font-size:100%; padding-left:11px; padding-right:5em; padding-top:4px; margin-bottom:-1px; margin-left:65px; margin-right:0px; position:relative; }
  38.  
  39.                 .he5i   { background-color:#F9F9F9; border:1px solid #BBBBBB; color:#000000; display:block; font-family:MS Shell Dlg; font-size:100%; margin-bottom:-1px; margin-left:65px; margin-right:0px; padding-left:21px; padding-bottom:5px; padding-top: 4px; position:relative; }
  40.  
  41.                 div .expando { color:#000000; text-decoration:none; display:block; font-family:MS Shell Dlg; font-size:100%; font-weight:normal; position:absolute; right:10px; text-decoration:underline; z-index: 0; }
  42.  
  43.                 .he0 .expando { font-size:100%; }
  44.  
  45.                 .info, .info3, .info4, .disalign  { line-height:1.6em; padding:0px,0px,0px,0px; margin:0px,0px,0px,0px; }
  46.  
  47.                 .disalign TD                      { padding-bottom:5px; padding-right:10px; }
  48.  
  49.                 .info TD                          { padding-right:10px; width:50%; }
  50.  
  51.                 .info3 TD                         { padding-right:10px; width:33%; }
  52.  
  53.                 .info4 TD, .info4 TH              { padding-right:10px; width:25%; }
  54.  
  55.                 .info TH, .info3 TH, .info4 TH, .disalign TH { border-bottom:1px solid #CCCCCC; padding-right:10px; }
  56.  
  57.                 .subtable, .subtable3             { border:1px solid #CCCCCC; margin-left:0px; background:#FFFFFF; margin-bottom:10px; }
  58.  
  59.                 .subtable TD, .subtable3 TD       { padding-left:10px; padding-right:5px; padding-top:3px; padding-bottom:3px; line-height:1.1em; }
  60.  
  61.                 .subtable TH, .subtable3 TH       { border-bottom:1px solid #CCCCCC; font-weight:normal; padding-left:10px; line-height:1.6em;  }
  62.  
  63.                 .subtable .footnote               { border-top:1px solid #CCCCCC; }
  64.  
  65.                 .subtable3 .footnote, .subtable .footnote { border-top:1px solid #CCCCCC; }
  66.  
  67.                 .subtable_frame     { background:#D9E3EA; border:1px solid #CCCCCC; margin-bottom:10px; margin-left:15px; }
  68.  
  69.                 .subtable_frame TD  { line-height:1.1em; padding-bottom:3px; padding-left:10px; padding-right:15px; padding-top:3px; }
  70.  
  71.                 .subtable_frame TH  { border-bottom:1px solid #CCCCCC; font-weight:normal; padding-left:10px; line-height:1.6em; }
  72.  
  73.                 .subtableInnerHead { border-bottom:1px solid #CCCCCC; border-top:1px solid #CCCCCC; }
  74.  
  75.                 .explainlink            { color:#0000FF; text-decoration:none; cursor:hand; }
  76.  
  77.                 .explainlink:hover      { color:#0000FF; text-decoration:underline; }
  78.  
  79.                 .spacer { background:transparent; border:1px solid #BBBBBB; color:#FFFFFF; display:block; font-family:MS Shell Dlg; font-size:100%; height:10px; margin-bottom:-1px; margin-left:43px; margin-right:0px; padding-top: 4px; position:relative; }
  80.  
  81.                 .filler { background:transparent; border:none; color:#FFFFFF; display:block; font:100% MS Shell Dlg; line-height:8px; margin-bottom:-1px; margin-left:53px; margin-right:0px; padding-top:4px; position:relative; }
  82.  
  83.                 .container { display:block; position:relative; }
  84.  
  85.                 .rsopheader { background-color:#A0BACB; border-bottom:1px solid black; color:#333333; font-family:MS Shell Dlg; font-size:130%; font-weight:bold; padding-bottom:5px; text-align:center; }
  86.  
  87.                 .rsopname { color:#333333; font-family:MS Shell Dlg; font-size:130%; font-weight:bold; padding-left:11px; }
  88.  
  89.                 .gponame{ color:#333333; font-family:MS Shell Dlg; font-size:130%; font-weight:bold; padding-left:11px; }
  90.  
  91.                 .gpotype{ color:#333333; font-family:MS Shell Dlg; font-size:100%; font-weight:bold; padding-left:11px; }
  92.  
  93.                 #uri    { color:#333333; font-family:MS Shell Dlg; font-size:100%; padding-left:11px; }
  94.  
  95.                 #dtstamp{ color:#333333; font-family:MS Shell Dlg; font-size:100%; padding-left:11px; text-align:left; width:30%; }
  96.  
  97.                 #objshowhide { color:#000000; cursor:hand; font-family:MS Shell Dlg; font-size:100%; font-weight:bold; margin-right:0px; padding-right:10px; text-align:right; text-decoration:underline; z-index:2; word-wrap:normal; }
  98.  
  99.                 #gposummary { display:block; }
  100.  
  101.                 #gpoinformation { display:block; }
  102.  
  103.                 @media print {
  104.  
  105.                     #objshowhide{ display:none; }
  106.  
  107.                     body    { color:#000000; border:1px solid #000000; }
  108.  
  109.                     .title  { color:#000000; border:1px solid #000000; }
  110.  
  111.                     .he0_expanded    { color:#000000; border:1px solid #000000; }
  112.  
  113.                     .he1h_expanded   { color:#000000; border:1px solid #000000; }
  114.  
  115.                     .he1_expanded    { color:#000000; border:1px solid #000000; }
  116.  
  117.                     .he1    { color:#000000; border:1px solid #000000; }
  118.  
  119.                     .he2    { color:#000000; background:#EEEEEE; border:1px solid #000000; }
  120.  
  121.                     .he3    { color:#000000; border:1px solid #000000; }
  122.  
  123.                     .he4    { color:#000000; border:1px solid #000000; }
  124.  
  125.                     .he4h   { color:#000000; border:1px solid #000000; }
  126.  
  127.                     .he4i   { color:#000000; border:1px solid #000000; }
  128.  
  129.                     .he5    { color:#000000; border:1px solid #000000; }
  130.  
  131.                     .he5h   { color:#000000; border:1px solid #000000; }
  132.  
  133.                     .he5i   { color:#000000; border:1px solid #000000; }
  134.  
  135.                     }
  136.  
  137. </style>
  138. <!-- Scripts -->
  139. <script type="text/javascript" language="javascript">
  140. /*
  141. String "strShowHide(0/1)"
  142. 0 = Hide all mode.
  143. 1 = Show all mode.
  144. */
  145.  
  146. var windowsArray = new Array();
  147. var strShowHide = 1;
  148.  
  149. //Localized strings
  150.  
  151. var strShow = "show";
  152. var strHide = "hide";
  153. var strShowAll = "show all";
  154. var strHideAll = "hide all";
  155. var strShown = "shown";
  156. var strHidden = "hidden";
  157. var strExpandoNumPixelsFromEdge = "10px";
  158.  
  159.  
  160. function IsSectionHeader(obj) {
  161.     return (obj.className === "he0_expanded") || (obj.className === "he0h_expanded") || (obj.className === "he1h_expanded") || (obj.className === "he1_expanded") || (obj.className === "he1") || (obj.className === "he2") || (obj.className === "he3") || (obj.className === "he4") || (obj.className === "he4h") || (obj.className === "he5") || (obj.className === "he5h");
  162. }
  163.  
  164. function IsSectionExpandedByDefault(objHeader) {
  165.     if (objHeader === null) {
  166.         return false;
  167.     } else {
  168.         return (objHeader.className.slice(objHeader.className.lastIndexOf("_")) === "_expanded");
  169.     }
  170. }
  171.  
  172. function SetSectionState(objHeader, strState) {
  173.     var i = 0;
  174.     var j;
  175.     var all = objHeader.parentElement.ownerDocument.all;
  176.  
  177.     if (all === null) {
  178.         return;
  179.     }
  180.  
  181.     for (j = 0; j < all.length; j++) {
  182.        if (all[j] === objHeader) {
  183.            break;
  184.        }
  185.        i = i + 1;
  186.    }
  187.  
  188.    for (j = i; j < all.length; j++) {
  189.        if (all[i].className === "container") {
  190.            break;
  191.        }
  192.        i = i + 1;
  193.    }
  194.  
  195.    var objContainer = all[i];
  196.  
  197.    if (strState === "toggle") {
  198.        if (objContainer.style.display === "none") {
  199.            SetSectionState(objHeader, "show");
  200.        }
  201.        else {
  202.            SetSectionState(objHeader, "hide");
  203.        }
  204.    }
  205.    else {
  206.        var objExpando = objHeader.children[1];
  207.  
  208.        if (strState === "show") {
  209.            objContainer.style.display = "block";
  210.            objExpando.innerText = strHide;
  211.        }
  212.        else if (strState === "hide") {
  213.            objContainer.style.display = "none";
  214.            objExpando.innerText = strShow;
  215.        }
  216.    }
  217. }
  218.  
  219. function ShowSection(objHeader) {
  220.    SetSectionState(objHeader, "show");
  221. }
  222.  
  223. function HideSection(objHeader) {
  224.    SetSectionState(objHeader, "hide");
  225. }
  226.  
  227. function ToggleSection(objHeader) {
  228.    SetSectionState(objHeader, "toggle");
  229. }
  230.  
  231. /*================================================================================
  232. ' link at the top of the page to collapse/expand all collapsable elements
  233. '================================================================================
  234. */
  235. function objshowhide_onClick() {
  236.    var obji;
  237.    var objBody = document.body.getElementsByTagName("*");
  238.  
  239.    if (objBody === null) {
  240.        return;
  241.    }
  242.    
  243.    switch (strShowHide) {
  244.        case 0:
  245.            strShowHide = 1;
  246.            window.objshowhide.innerText = strShowAll;
  247.            for (obji = 0; obji < objBody.length; obji++) {
  248.                if (objBody[obji].className !== 'undefined' && IsSectionHeader(objBody[obji])) {
  249.                    HideSection(objBody[obji]);
  250.                }
  251.            }
  252.            break;
  253.        case 1:
  254.            strShowHide = 0;
  255.            window.objshowhide.innerText = strHideAll;
  256.            for (obji = 0; obji < objBody.length; obji++) {
  257.                if (objBody[obji].className !== 'undefined' && IsSectionHeader(objBody[obji])) {
  258.                    ShowSection(objBody[obji]);
  259.                }
  260.            }
  261.            break;
  262.    }
  263. }
  264.  
  265. /*================================================================================
  266. ' onload collapse all except the first two levels of headers (he0, he1)
  267. '================================================================================*/
  268. function window_onload() {
  269.    // Only initialize once.  The UI may reinsert a report into the webbrowser control,
  270.    // firing onLoad multiple times.
  271.    if (document.documentElement.getAttribute("gpmc_reportInitialized").toUpperCase() !== "TRUE") {
  272.        // Set text direction
  273.        fDetDir(document.dir.toUpperCase());
  274.  
  275.        // Initialize sections to default expanded/collapsed state.
  276.        var objBody = document.body.getElementsByTagName("*");
  277.  
  278.        if (objBody === null) {
  279.            return;
  280.        }
  281.  
  282.        for (var obji = 0; obji < objBody.length; obji++) {
  283.            if (IsSectionHeader(objBody[obji])) {
  284.                if (IsSectionExpandedByDefault(objBody[obji])) {
  285.                    ShowSection(objBody[obji]);
  286.                }
  287.                else {
  288.                    HideSection(objBody[obji]);
  289.                }
  290.            }
  291.        }
  292.  
  293.        objshowhide.innerText = strShowAll;
  294.  
  295.        document.documentElement.setAttribute("gpmc_reportInitialized", "true");
  296.    }
  297. }
  298.  
  299. /*'================================================================================
  300. ' When direction (LTR/RTL) changes, change adjust for readability
  301. '================================================================================
  302. */
  303. function document_onPropertyChange() {
  304.    if (window.event.propertyName === "dir") {
  305.        fDetDir(document.dir.toUpperCase());
  306.    }
  307. }
  308. function fDetDir(strDir) {
  309.    var colRules;
  310.    var nug;
  311.    var i;
  312.    var strClass;
  313.    switch (strDir.toUpperCase()) {
  314.        case "LTR":
  315.            colRules = document.styleSheets[0].cssRules;
  316.            if (colRules !== null && colRules !== undefined ) {            
  317.                for (i = 0; i < colRules.length - 1; i++) {
  318.                    nug = colRules[i];
  319.                    strClass = nug.selectorText;
  320.                    if (nug.style.textAlign === "right") {
  321.                        nug.style.textAlign = "left";
  322.                    }
  323.                    switch (strClass) {
  324.                        case "div .expando":
  325.                            nug.style.Left = "";
  326.                            nug.style.Right = strExpandoNumPixelsFromEdge;
  327.                            break;
  328.                        case "#objshowhide":
  329.                            nug.style.textAlign = "right";
  330.                            break;
  331.                    }
  332.                }
  333.            }
  334.            break;
  335.        case "RTL":
  336.            colRules = document.styleSheets[0].cssRules;
  337.            if (colRules !== null && colRules !== undefined ) {            
  338.                for (i = 0; i < colRules.length - 1; i++) {
  339.                    nug = colRules[i];
  340.                    strClass = nug.selectorText;
  341.                    if (nug.style.textAlign === "left") {
  342.                        nug.style.textAlign = "right";
  343.                    }
  344.                    switch (strClass) {
  345.                        case "div .expando":
  346.                            nug.style.Left = strExpandoNumPixelsFromEdge;
  347.                            nug.style.Right = "";
  348.                            break;
  349.                        case "#objshowhide":
  350.                            nug.style.textAlign = "left";
  351.                            break;
  352.                    }
  353.                }
  354.            }
  355.            break;
  356.    }
  357. }
  358. /*'================================================================================
  359. 'When printing reports, if a given section is expanded, let's says "shown" (instead of "hide" in the UI).
  360. '================================================================================
  361. */
  362. function window_onbeforeprint() {
  363.    var obji;
  364.    for (obji in document.all) {
  365.        if (document.all.hasOwnProperty(obji)) {
  366.            if (obji.className === "expando") {
  367.                if (obji.innerText === strHide) {
  368.                    obji.innerText = strShown;
  369.                }
  370.                if (obji.innerText === strShow) {
  371.                    obji.innerText = strHidden;
  372.                }
  373.            }
  374.        }
  375.    }
  376. }
  377. /*================================================================================
  378. 'If a section is collapsed, change to "hidden" in the printout (instead of "show").
  379. '================================================================================
  380. */
  381. function window_onafterprint() {
  382.    var obji;
  383.    for (obji in document.all) {
  384.        if (document.all.hasOwnProperty(obji)) {
  385.            if (obji.className === "expando") {
  386.                if (obji.innerText === strShown) {
  387.                    obji.innerText = strHide;
  388.                }
  389.                if (obji.innerText === strHidden) {
  390.                    obji.innerText = strShow;
  391.                }
  392.            }
  393.        }
  394.    }
  395. }
  396. /*================================================================================
  397. ' Adding keypress support for accessibility
  398. '================================================================================
  399. */
  400. function document_onkeypress(event) {
  401.    var chCode = ('charCode' in event) ? event.charCode : event.keyCode;
  402.    //space bar (32) or carriage return (13) or line feed (10)
  403.    if (chCode == "32" || chCode == "13" || chCode == "10") {
  404.        if (event.srcElement.className === "expando") {
  405.            document_onclick();
  406.            event.returnValue = false;
  407.        }
  408.        if (event.srcElement.className === "sectionTitle") {
  409.            document_onclick();
  410.            event.returnValue = false;
  411.        }
  412.        if (event.srcElement.id === "objshowhide") {
  413.            objshowhide_onClick();
  414.            event.returnValue = false;
  415.        }
  416.    }
  417. }
  418. /*================================================================================
  419. ' When user clicks anywhere in the document body, determine if user is clicking
  420. ' on a header element.
  421. '================================================================================
  422. */
  423. function document_onclick() {
  424.    var strsrc = window.event.srcElement;
  425.  
  426.    while (strsrc.className === "sectionTitle" || strsrc.className === "expando") {
  427.        strsrc = strsrc.parentElement;
  428.    }
  429.  
  430.    // Only handle clicks on headers.
  431.    if (!IsSectionHeader(strsrc)) {
  432.        return;
  433.    }
  434.  
  435.    ToggleSection(strsrc);
  436.  
  437.    window.event.returnValue = false;
  438. }
  439.  
  440. function ToggleState(e) {
  441.    var objParentDisplayItem;
  442.    var objDisplayItem;
  443.    var i;
  444.  
  445.    if (e.innerText === strShow) {
  446.        e.innerText = strHide;
  447.        objParentDisplayItem = e.parentNode;
  448.        objDisplayItem = objParentDisplayItem.childNodes;
  449.        for (i = 0; i < objDisplayItem.length; i++) {
  450.            if (objDisplayItem[i].id === "showItem") {
  451.                objDisplayItem[i].style.display = "Block";
  452.            }
  453.        }
  454.    }
  455.    else {
  456.        e.innerText = strShow;
  457.        objParentDisplayItem = e.parentNode;
  458.        objDisplayItem = objParentDisplayItem.childNodes;
  459.        for (i = 0; i < objDisplayItem.length; i++) {
  460.            if (objDisplayItem[i].id === "showItem") {
  461.                objDisplayItem[i].style.display = "None";
  462.            }
  463.        }
  464.    }
  465. }
  466.  
  467. function traverseToURL(url) {
  468.    if (url != null) {
  469.        var urlInitialSubstr = url.substring(0, 4).toLowerCase();
  470.        if (urlInitialSubstr === "http") {
  471.            window.open(url, "_blank");
  472.        }
  473.    }
  474. }
  475.  
  476. function getExplainWindowTitle() {
  477.    return document.getElementById("explainText_windowTitle").innerHTML;
  478. }
  479.  
  480. function getExplainWindowStyles() {
  481.    return document.getElementById("explainText_windowStyles").innerHTML;
  482. }
  483.  
  484. function getExplainWindowSettingPathLabel() {
  485.    return document.getElementById("explainText_settingPathLabel").innerHTML;
  486. }
  487.  
  488. function getExplainWindowExplainTextLabel() {
  489.    return document.getElementById("explainText_explainTextLabel").innerHTML;
  490. }
  491.  
  492. function getExplainWindowPrintButton() {
  493.    return document.getElementById("explainText_printButton").innerHTML;
  494. }
  495.  
  496. function getExplainWindowCloseButton() {
  497.    return document.getElementById("explainText_closeButton").innerHTML;
  498. }
  499.  
  500. function getNoExplainTextAvailable() {
  501.    return document.getElementById("explainText_noExplainTextAvailable").innerHTML;
  502. }
  503.  
  504. function getExplainWindowSupportedLabel() {
  505.    return document.getElementById("explainText_supportedLabel").innerHTML;
  506. }
  507.  
  508. function getNoSupportedTextAvailable() {
  509.    return document.getElementById("explainText_noSupportedTextAvailable").innerHTML;
  510. }
  511.  
  512. function showExplainText(srcElement)
  513. {
  514.    var strDiagArgs;
  515.  
  516.    var strSettingName = srcElement.getAttribute("gpmc_settingName");
  517.    var strSettingPath = srcElement.getAttribute("gpmc_settingPath");
  518.    var strSettingDescription = srcElement.getAttribute("gpmc_settingDescription");
  519.  
  520.    if (strSettingDescription === "")
  521.    {
  522.        strSettingDescription = getNoExplainTextAvailable();
  523.    }
  524.  
  525.    var strSupported = srcElement.getAttribute("gpmc_supported");
  526.  
  527.    if (strSupported === "")
  528.    {
  529.        strSupported = getNoSupportedTextAvailable();
  530.    }
  531.  
  532.    var strHtml = "<html dir=" + document.dir +  ">\n";
  533.     strHtml += "<head>\n";
  534.     strHtml += "<title>" + getExplainWindowTitle() + "</title>\n";
  535.     strHtml += "<style type='text/css'>\n" + getExplainWindowStyles() + "</style>\n";
  536.     strHtml += "</head>\n";
  537.     strHtml += "<body>\n";
  538.     strHtml += "<div class='head'>" + strSettingName +"</div>\n";
  539.     strHtml += "<div class='path'><b>" + getExplainWindowSettingPathLabel() + "</b><br/>" + strSettingPath +"</div>\n";
  540.     strHtml += "<div class='path'><b>" + getExplainWindowSupportedLabel() + "</b><br/>" + strSupported +"</div>\n";
  541.     strHtml += "<div class='info'>\n";
  542.     strHtml += "<div class='hdr'>" + getExplainWindowExplainTextLabel() + "</div>\n";
  543.     strHtml += "<div class='bdy'>" + strSettingDescription + "</div>\n";
  544.     strHtml += "<div class='btn'>";
  545.     strHtml += getExplainWindowPrintButton();
  546.     strHtml += getExplainWindowCloseButton();
  547.     strHtml += "</div></body></html>";
  548.  
  549.     // IE specific method for showing the popup.
  550.     if(navigator.userAgent.indexOf("MSIE") > 0 && window.location.toString().indexOf("file:") === -1)
  551.    {
  552.        strDiagArgs = "dialogHeight=360px;dialogWidth=630px;status=no;scroll=yes;resizable=yes;minimize=yes;maximize=yes;";
  553.  
  554.         var vModeless = window.showModelessDialog("about:blank", window, strDiagArgs);
  555.         vModeless.document.write(strHtml);
  556.         vModeless.document.close();
  557.         vModeless.location.reload(false);
  558.                        
  559.         window.event.returnValue = false;
  560.     }
  561.     else
  562.     {
  563.         strDiagArgs = "height=360px, width=630px, status=no, toolbar=no, scrollbars=yes, resizable=yes ";
  564.        
  565.         var expWin = window.open("", "expWin", strDiagArgs);
  566.         expWin.document.write("");
  567.         expWin.document.close();
  568.         expWin.document.write(strHtml);
  569.         expWin.document.close();
  570.         expWin.focus();
  571.     }
  572.    
  573.     return false;
  574. }
  575.  
  576. function showEvents(srcElement,bVerbose,bInformational,bWarning,bError)
  577. {
  578.     var strWindowId = "EventDetails_" + srcElement.getAttribute("eventLogActivityId");
  579.     if((windowsArray[strWindowId]) && (windowsArray[strWindowId].closed === false)) {
  580.        windowsArray[strWindowId].focus();
  581.     } else {
  582.         var eventIdLabelNode, eventTimeLabelNode, eventDescriptionLabelNode, eventDetailsLabelNode, eventXmlLabelNode, gpEventsTitleNode;
  583.         var eventIdLabelNodeText, eventTimeLabelNodeText, eventDescriptionLabelNodeText, eventXmlLabelNodeText, gpEventsTitleNodeText, eventDetailsLabelNodeText;
  584.         var singlePassEventsDetailsNode, eventRecordArray;
  585.         var dataNotFoundWarningLabelNode, dataNotFoundWarningLabelNodeText;
  586.         var mainSection;
  587.         var attributeValue;
  588.         var singlePassEventsDetails;
  589.         var singlePassEventsDetailsChildren;
  590.         var node;
  591.         var children;
  592.  
  593.         var serializer = new XMLSerializer();
  594.         var doc = document.getElementById("data-island").textContent;
  595.  
  596.         var parser = new DOMParser();
  597.         var xmlDocument = parser.parseFromString(doc, "application/xml");
  598.  
  599.         if (xmlDocument != null) {
  600.             mainSection = xmlDocument.getElementsByTagName("MainSection")[0].childNodes;
  601.  
  602.             if (mainSection != null) {
  603.                 for (children = 0; children < mainSection.length; children++) {
  604.                    node = mainSection[children];
  605.                    if (node.nodeType === 1 && node.nodeName === 'Label') {
  606.                        attributeValue = node.getAttribute("Name");
  607.                        if (attributeValue != null) {
  608.                            if (attributeValue === 'ComponentStatus_EventId') {
  609.                                eventIdLabelNode = node.childNodes[1];
  610.                            }
  611.                            if (attributeValue === 'ComponentStatus_EventTime') {
  612.                                eventTimeLabelNode = node.childNodes[1];
  613.                            }
  614.                            if (attributeValue === 'ComponentStatus_EventDescription') {
  615.                                eventDescriptionLabelNode = node.childNodes[1];
  616.                            }
  617.                            if (attributeValue === 'ComponentStatus_EventXml') {
  618.                                eventXmlLabelNode = node.childNodes[1];
  619.                            }
  620.                            if (attributeValue === 'ComponentStatus_EventDetails') {
  621.                                eventDetailsLabelNode = node.childNodes[1];
  622.                            }
  623.                            if (attributeValue === 'ComponentStatus_GPEvents') {
  624.                                gpEventsTitleNode = node.childNodes[1];
  625.                            }
  626.                            if (attributeValue === 'Warning_DataNotFound') {
  627.                                dataNotFoundWarningLabelNode = node.childNodes[1];
  628.                            }
  629.                        }
  630.                    }
  631.                }
  632.            }
  633.  
  634.            singlePassEventsDetails = xmlDocument.getElementsByTagName("SinglePassEventsDetails");
  635.            if (singlePassEventsDetails != null) {
  636.                for (singlePassEventsDetailsChildren = 0; singlePassEventsDetailsChildren < singlePassEventsDetails.length; singlePassEventsDetailsChildren++) {
  637.                    node = singlePassEventsDetails[singlePassEventsDetailsChildren];
  638.                    attributeValue = node.getAttribute("ActivityId");
  639.                    if (attributeValue === srcElement.getAttribute("eventLogActivityId")) {
  640.                        singlePassEventsDetailsNode = node;
  641.                    }
  642.                }
  643.            }
  644.        }
  645.        
  646.        eventIdLabelNodeText = null;
  647.        if (eventIdLabelNode != null) {
  648.            if (eventIdLabelNode.childNodes.length > 0) {
  649.                 eventIdLabelNodeText = eventIdLabelNode.childNodes[0].nodeValue;
  650.             }
  651.         }
  652.         if (eventIdLabelNodeText == null) {
  653.             eventIdLabelNodeText = "Event ID";
  654.         }
  655.  
  656.         eventTimeLabelNodeText = null;
  657.         if (eventTimeLabelNode != null) {
  658.             if (eventTimeLabelNode.firstChild.childNodes.length > 0) {
  659.                 eventTimeLabelNodeText = eventTimeLabelNode.childNodes[0].nodeValue;
  660.             }
  661.         }
  662.         if (eventTimeLabelNodeText == null) {
  663.             eventTimeLabelNodeText = "Event Time";
  664.         }
  665.  
  666.         eventDescriptionLabelNodeText = null;
  667.         if (eventDescriptionLabelNode != null) {
  668.             if (eventDescriptionLabelNode.childNodes.length > 0) {
  669.                 eventDescriptionLabelNodeText = eventDescriptionLabelNode.childNodes[0].nodeValue;
  670.             }
  671.         }
  672.         if (eventDescriptionLabelNodeText == null) {
  673.             eventDescriptionLabelNodeText = "Event Description";
  674.         }
  675.  
  676.         if (eventXmlLabelNode != null) {
  677.             if (eventXmlLabelNode.childNodes.length > 0) {
  678.                 eventXmlLabelNodeText = eventXmlLabelNode.childNodes[0].nodeValue;
  679.             }
  680.         }
  681.         if (eventXmlLabelNode == null) {
  682.             eventXmlLabelNodeText = "Event XML";
  683.         }
  684.  
  685.         gpEventsTitleNodeText = null;
  686.         if (gpEventsTitleNode != null) {
  687.             if (gpEventsTitleNode.childNodes.length > 0) {
  688.                 gpEventsTitleNodeText = gpEventsTitleNode.childNodes[0].nodeValue;
  689.             }
  690.         }
  691.         if (gpEventsTitleNodeText == null) {
  692.             gpEventsTitleNodeText = "Group Policy Events";
  693.         }
  694.  
  695.         eventDetailsLabelNodeText = null;
  696.         if (eventDetailsLabelNode != null) {
  697.             if (eventDetailsLabelNode.childNodes.length > 0) {
  698.                 eventDetailsLabelNodeText = eventDetailsLabelNode.childNodes[0].nodeValue;
  699.             }
  700.         }
  701.         if (eventDetailsLabelNodeText == null) {
  702.             eventDetailsLabelNodeText = "Event Details";
  703.         }
  704.  
  705.         dataNotFoundWarningLabelNodeText = null;
  706.         if (dataNotFoundWarningLabelNode != null) {
  707.             if (dataNotFoundWarningLabelNode.childNodes.length > 0) {
  708.                 dataNotFoundWarningLabelNodeText = dataNotFoundWarningLabelNode.childNodes[0].nodeValue;
  709.             }
  710.         }
  711.         if (dataNotFoundWarningLabelNodeText == null) {
  712.             dataNotFoundWarningLabelNodeText = "Data Not Found";
  713.         }
  714.                
  715.         if(singlePassEventsDetailsNode != null)
  716.         {
  717.             eventRecordArray = singlePassEventsDetailsNode.getElementsByTagName("EventRecord");
  718.         }
  719.        
  720.         var htmlText = "<html dir=" + document.dir +  ">";
  721.         htmlText = htmlText + "<head>";
  722.         htmlText = htmlText + "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-16\" />";
  723.         htmlText = htmlText + "<title>" + gpEventsTitleNodeText + "</title>";
  724.         htmlText = htmlText + "</head><style type=\"text/css\">";
  725.         htmlText = htmlText + "body    { background-color:#FFFFFF; color:#000000; font-size:68%; font-family:MS Shell Dlg; margin:0,0,10px,0; word-break:normal; word-wrap:break-word; }";
  726.         htmlText = htmlText + "table   { font-size:100%; table-layout:fixed; width:100%; }";
  727.         htmlText = htmlText + "td,th   { overflow:visible; text-align:left; vertical-align:top; white-space:normal; }";
  728.         htmlText = htmlText + ".he1    { text-align: center; vertical-align: middle; background-color:#C0D2DE; border:1px solid #BBBBBB; color:#000000; cursor:hand; display:block; font-family:MS Shell Dlg; font-size:100%; font-weight:bold; height:4em; position:relative; }";
  729.         htmlText = htmlText + ".centerTxt { text-align: center; }";
  730.         htmlText = htmlText + ".txtFormat1 { text-align: left; vertical-align:top; white-space:pre-line; }";
  731.         htmlText = htmlText + "</style>";
  732.      
  733.         htmlText = htmlText + "<script> function toggle(e) {";
  734.         htmlText = htmlText + "if (e.style.display === \"none\"){ e.style.display = \"\"; }";
  735.         htmlText = htmlText + "else { e.style.display = \"none\"; }";
  736.         htmlText = htmlText + "}</";
  737.        htmlText = htmlText + "script";
  738.        htmlText = htmlText + ">";
  739.      
  740.         htmlText = htmlText + "<body><table border=1><tr>";
  741.         htmlText = htmlText + "<th class=\"he1\"><strong>" + eventIdLabelNodeText + "</strong></th>";
  742.         htmlText = htmlText + "<th class=\"he1\"><strong>" + eventTimeLabelNodeText + "</strong></th>";
  743.         htmlText = htmlText + "<th class=\"he1\"><strong>" + eventDescriptionLabelNodeText + "</strong></th>";
  744.         htmlText = htmlText + "<th class=\"he1\"><strong>" + eventDetailsLabelNodeText + "</strong></th>";
  745.  
  746.         htmlText = htmlText + "</tr>";
  747.         var i;
  748.         var eventId;
  749.         var eventTime;
  750.         var eventDescription;
  751.         var eventXml;
  752.         var eventType;
  753.         var displayEvent;
  754.         var eventXmlId;
  755.         var displayBgColor;
  756.  
  757.         if(eventRecordArray != null && eventRecordArray.length > 0)
  758.        {
  759.            for (i=0; i < eventRecordArray.length; i++)
  760.            {
  761.                displayEvent = false;
  762.                var eventIdElements = eventRecordArray[i].getElementsByTagName("EventId");        
  763.                if((eventIdElements != null) && (eventIdElements.length > 0) && (eventIdElements[0].firstChild != null))
  764.                {
  765.                    eventId =  eventIdElements[0].firstChild.nodeValue;
  766.                 }
  767.                 else
  768.                 {
  769.                     eventId =  dataNotFoundWarningLabelNodeText;
  770.                 }
  771.                 var eventTimeElements = eventRecordArray[i].getElementsByTagName("EventTime");
  772.                 if((eventTimeElements != null) && (eventTimeElements.length > 0) && (eventTimeElements[0].firstChild != null))
  773.                {
  774.                    eventTime = eventTimeElements[0].firstChild.nodeValue;
  775.                 }
  776.                 else
  777.                 {
  778.                     eventTime = dataNotFoundWarningLabelNodeText;
  779.                 }
  780.                 var eventDescriptionElements = eventRecordArray[i].getElementsByTagName("EventDescription");
  781.                 if((eventDescriptionElements != null) && (eventDescriptionElements.length > 0) && (eventDescriptionElements[0].firstChild != null))
  782.                {
  783.                        eventDescription = eventDescriptionElements[0].firstChild.nodeValue;
  784.                 }
  785.                 else
  786.                 {
  787.                     eventDescription = dataNotFoundWarningLabelNodeText;
  788.                 }
  789.                 var eventXmlElements = eventRecordArray[i].getElementsByTagName("EventXml");
  790.                 if((eventXmlElements != null) && (eventXmlElements.length > 0) && (eventXmlElements[0].firstChild != null))
  791.                {
  792.                    var xml = serializer.serializeToString(eventXmlElements[0].firstChild);                
  793.                     eventXml = xml;
  794.                 }
  795.                 else
  796.                 {
  797.                     eventXml = dataNotFoundWarningLabelNodeText;
  798.                 }
  799.                 var eventLevelElements = eventRecordArray[i].getElementsByTagName("EventLevel");
  800.                 if((eventLevelElements != null) && (eventLevelElements.length > 0) && (eventLevelElements[0].firstChild != null))
  801.                {
  802.                    eventType = eventLevelElements[0].firstChild.nodeValue;
  803.                 }
  804.                 else
  805.                 {
  806.                     eventType = 5;
  807.                 }
  808.                
  809.                 if((bVerbose === true)&&(eventType == 5))
  810.                {
  811.                    displayEvent = true;
  812.                 }
  813.                 else if((bInformational === true)&&(eventType == 4))
  814.                {
  815.                    displayEvent = true;
  816.                 }
  817.                 else if((bWarning === true)&&(eventType == 3))
  818.                {
  819.                    displayEvent = true;
  820.                 }
  821.                 else if((bError === true)&&((eventType == 1)||(eventType == 2)))
  822.                {
  823.                    displayEvent = true;
  824.                 }
  825.                
  826.                 if (displayEvent === true)
  827.                 {
  828.                     eventXmlId = "EventXml" + (i+"");
  829.                     htmlText = htmlText + "<tr>";
  830.                     htmlText = htmlText + "<td class=\"centerTxt\" style=\"background:" + displayBgColor +"\">" + eventId + "</td>";
  831.                     htmlText = htmlText + "<td class=\"centerTxt\" style=\"background:" + displayBgColor +"\">" + eventTime + "</td>";
  832.                     htmlText = htmlText + "<td class=\"txtFormat1\" style=\"background:" + displayBgColor +"\">" + eventDescription + "</td>";
  833.                     htmlText = htmlText + "<td style=\"background:" + displayBgColor +"\"><span style=\"color:blue; cursor:hand\" onclick=\"toggle(" + eventXmlId +");\" onKeyPress=\"toggle(" + eventXmlId + ");\" tabIndex=1 >";
  834.                     htmlText = htmlText + eventXmlLabelNodeText + "</span><br/>";
  835.                     htmlText = htmlText + "<span style=\"display:none\" id=" + eventXmlId +">";
  836.                     htmlText = htmlText + eventXml + "</span>";
  837.                     htmlText = htmlText + "</td>";
  838.                     htmlText = htmlText + "</tr>";
  839.                 }
  840.             }
  841.         }
  842.         htmlText = htmlText + "</table></body></html>";
  843.  
  844.         if(windowsArray[strWindowId])
  845.         {
  846.             delete windowsArray[strWindowId];
  847.         }
  848.        
  849.         // IE specific method for showing the popup.
  850.         if(navigator.userAgent.indexOf("MSIE") > 0 && window.location.toString().indexOf("file:") === -1)
  851.        {
  852.            var strDiagArgs = "dialogHeight=360px;dialogWidth=630px;status=no;scroll=yes;resizable=yes;minimize=yes;maximize=yes;";
  853.  
  854.             var vModeless = window.showModelessDialog("about:blank", window, strDiagArgs);
  855.             vModeless.document.write(htmlText);
  856.             vModeless.document.close();
  857.             vModeless.location.reload(false);
  858.             windowsArray[strWindowId] = vModeless;            
  859.         }
  860.         else
  861.         {
  862.             var strDiagArgs = "height=360px, width=630px, status=no, toolbar=no, scrollbars=yes, resizable=yes";
  863.        
  864.             windowsArray[strWindowId] = window.open("", "", strDiagArgs);
  865.             windowsArray[strWindowId].document.write(htmlText);
  866.             windowsArray[strWindowId].focus();
  867.         }
  868.     }
  869. }
  870.  
  871. function cleanUp() {
  872.     var windowsArray = this.windowsArray;
  873.     for (var currentWindow in windowsArray) {
  874.         if (windowsArray.hasOwnProperty(currentWindow)) {
  875.             windowsArray[currentWindow].close();
  876.         }
  877.     }
  878. }
  879.  
  880. function getMessageText(messageNode) {
  881.     if (messageNode != null) {
  882.         if (messageNode.firstChild != null) {
  883.             if (messageNode.firstChild.nodeType === 3) {
  884.                 return messageNode.firstChild.nodeValue;
  885.             } else {
  886.                 return messageNode.firstChild.childNodes[0].nodeValue;
  887.             }
  888.         }
  889.     }
  890.     return null;
  891. }
  892.  
  893. function showComponentProcessingDetails(srcElement) {
  894.     var strWindowId = "ProcessingDetails_" + srcElement.getAttribute("eventLogActivityId");
  895.     if ((windowsArray[strWindowId]) && (windowsArray[strWindowId].closed === false)) {
  896.        windowsArray[strWindowId].focus();
  897.     } else {
  898.         var doc = document.getElementById("data-island").textContent;
  899.  
  900.         var parser = new DOMParser();
  901.         var xmlDocument = parser.parseFromString(doc, "application/xml");
  902.  
  903.         var extensionsProcessedLabelNode, slowLinkThresholdLabelNode, linkSpeedLabelNode, extensionsProcessedTimeTakenNode;
  904.         var domainControllerIpLabelNode, domainControllerNameLabelNode, processingTypeLabelNode, loopbackModeLabelNode;
  905.         var processingTriggerLabelNode, extensionNameLabelNode, timeTakenLabelNode;
  906.         var dataNotFoundWarningLabelNode;
  907.         var singlePassEventsDetailsNode, totalProcessingTimeLabelNode, refreshMessageLabelNode;
  908.         var processingDetailsUserTitleNode, processingDetailsComputerTitleNode;
  909.         var policySectionNode;
  910.         var policyEventsDetailsNode, detailsLabelNode;
  911.  
  912.         var extensionsProcessedLabelNodeText, slowLinkThresholdLabelNodeText, linkSpeedLabelNodeText, extensionsProcessedTimeTakenNodeText;
  913.         var domainControllerIpLabelNodeText, domainControllerNameLabelNodeText, processingTypeLabelNodeText, loopbackModeLabelNodeText;
  914.         var processingTriggerLabelNodeText, extensionNameLabelNodeText, timeTakenLabelNodeText;
  915.         var dataNotFoundWarningLabelNodeText, totalProcessingTimeLabelNodeText, refreshMessageLabelNodeText;
  916.         var processingDetailsUserTitleNodeText, processingDetailsComputerTitleNodeText;
  917.         var detailsLabelNodeText;
  918.  
  919.         var slowLinkThresholdValue, linkSpeedValue, domainControllerIpValue, domainControllerNameValue;
  920.         var processingTypeValue, loopbackModeValue, processingTriggerValue, totalPolicyProcessingTime, extensionProcessingTimeArray;
  921.         var cseNameArray = new Array();
  922.         var cseElapsedTimeArray = new Array();
  923.         var policyApplicationFinishedTime;
  924.  
  925.         var isComputerProcessing;
  926.         var strDiagArgs;
  927.         var mainSection;
  928.         var attributeValue;
  929.         var singlePassEventsDetails;
  930.         var singlePassEventsDetailsChildren;
  931.         var node;
  932.         var children;
  933.  
  934.         if (xmlDocument != null) {
  935.             mainSection = xmlDocument.getElementsByTagName("MainSection")[0].childNodes;
  936.  
  937.             if (mainSection != null) {
  938.                 for (children = 0; children < mainSection.length; children++) {
  939.                    node = mainSection[children];
  940.                    if (node.nodeType === 1 && node.nodeName === 'Label') {
  941.                        attributeValue = node.getAttribute("Name")
  942.                        if (attributeValue != null) {
  943.                            if (attributeValue === 'ComponentStatus_ExtensionsProcessed') {
  944.                                extensionsProcessedLabelNode = node.childNodes[1];
  945.                            }
  946.                            if (attributeValue === 'ComponentStatus_SlowLinkThreshold') {
  947.                                slowLinkThresholdLabelNode = node.childNodes[1];
  948.                            }
  949.                            if (attributeValue === 'ComponentStatus_LinkSpeed') {
  950.                                linkSpeedLabelNode = node.childNodes[1];
  951.                            }
  952.                            if (attributeValue === 'ComponentStatus_TimeTaken') {
  953.                                extensionsProcessedTimeTakenNode = node.childNodes[1];
  954.                            }
  955.                            if (attributeValue === 'ComponentStatus_DomainControllerIP') {
  956.                                domainControllerIpLabelNode = node.childNodes[1];
  957.                            }
  958.                            if (attributeValue === 'ComponentStatus_DomainControllerName') {
  959.                                domainControllerNameLabelNode = node.childNodes[1];
  960.                            }
  961.                            if (attributeValue === 'ComponentStatus_ProcessingTrigger') {
  962.                                processingTriggerLabelNode = node.childNodes[1];
  963.                            }
  964.                            if (attributeValue === 'ComponentStatus_ExtensionName') {
  965.                                extensionNameLabelNode = node.childNodes[1];
  966.                            }
  967.                            if (attributeValue === 'ComponentStatus_TimeTaken') {
  968.                                timeTakenLabelNode = node.childNodes[1];
  969.                            }
  970.                            if (attributeValue === 'Warning_DataNotFound') {
  971.                                dataNotFoundWarningLabelNode = node.childNodes[1];
  972.                            }
  973.                            if (attributeValue === 'ComponentStatus_TotalProcessingTime') {
  974.                                totalProcessingTimeLabelNode = node.childNodes[1];
  975.                            }
  976.                            if (attributeValue === 'ComponentStatus_RefreshMessage') {
  977.                                refreshMessageLabelNode = node.childNodes[1];
  978.                            }
  979.                            if (attributeValue === 'ComponentStatus_UserProcessingDetails') {
  980.                                processingDetailsUserTitleNode = node.childNodes[1];
  981.                            }
  982.                            if (attributeValue === 'ComponentStatus_ComputerProcessingDetails') {
  983.                                detailsLabelNode = node.childNodes[1];
  984.                            }
  985.                            if (attributeValue === 'ComponentStatus_ProcessingType') {
  986.                                processingTypeLabelNode = node.childNodes[1];
  987.                            }
  988.                            if (attributeValue === 'ComponentStatus_LoopbackMode') {
  989.                                loopbackModeLabelNode = node.childNodes[1];
  990.                            }
  991.                            if (attributeValue === 'ComponentStatus_UserProcessingDetails') {
  992.                                processingDetailsUserTitleNode = node.childNodes[1];
  993.                            }
  994.                            if (attributeValue === 'ComponentStatus_ComputerProcessingDetails') {
  995.                                processingDetailsComputerTitleNode = node.childNodes[1];
  996.                            }
  997.                        }
  998.                    }
  999.                }
  1000.            }
  1001.  
  1002.            singlePassEventsDetails = xmlDocument.getElementsByTagName("SinglePassEventsDetails");
  1003.            if (singlePassEventsDetails != null) {
  1004.                for (singlePassEventsDetailsChildren = 0; singlePassEventsDetailsChildren < singlePassEventsDetails.length; singlePassEventsDetailsChildren++) {
  1005.                    node = singlePassEventsDetails[singlePassEventsDetailsChildren];
  1006.                    if (node.getAttribute("ActivityId") === srcElement.getAttribute("eventLogActivityId")) {
  1007.                        singlePassEventsDetailsNode = node;
  1008.                    }
  1009.                }
  1010.            }
  1011.  
  1012.            if (singlePassEventsDetailsNode) {
  1013.                policyEventsDetailsNode = singlePassEventsDetailsNode.parentNode;
  1014.                if (policyEventsDetailsNode) {
  1015.                    policySectionNode = policyEventsDetailsNode.parentNode;
  1016.                    if (policySectionNode) {
  1017.                        if (policySectionNode.nodeName === 'UserPolicySection') {
  1018.                            isComputerProcessing = false;
  1019.                        }
  1020.                        if (policySectionNode.nodeName === 'ComputerPolicySection') {
  1021.                            isComputerProcessing = true;
  1022.                        }
  1023.                    }
  1024.                }
  1025.            }
  1026.        }
  1027.  
  1028.        
  1029.        extensionsProcessedLabelNodeText = getMessageText(extensionsProcessedLabelNode);
  1030.        slowLinkThresholdLabelNodeText = getMessageText(slowLinkThresholdLabelNode);
  1031.        linkSpeedLabelNodeText = getMessageText(linkSpeedLabelNode);
  1032.        domainControllerIpLabelNodeText = getMessageText(domainControllerIpLabelNode);
  1033.        domainControllerNameLabelNodeText = getMessageText(domainControllerNameLabelNode);
  1034.        processingTypeLabelNodeText = getMessageText(processingTypeLabelNode);
  1035.        loopbackModeLabelNodeText = getMessageText(loopbackModeLabelNode);
  1036.        processingTriggerLabelNodeText = getMessageText(processingTriggerLabelNode);
  1037.        extensionNameLabelNodeText = getMessageText(extensionNameLabelNode);
  1038.        timeTakenLabelNodeText = getMessageText(timeTakenLabelNode);
  1039.        processingDetailsUserTitleNodeText = getMessageText(processingDetailsUserTitleNode);
  1040.        processingDetailsComputerTitleNodeText = getMessageText(processingDetailsComputerTitleNode);
  1041.        dataNotFoundWarningLabelNodeText = getMessageText(dataNotFoundWarningLabelNode);
  1042.        totalProcessingTimeLabelNodeText = getMessageText(totalProcessingTimeLabelNode);
  1043.        refreshMessageLabelNodeText = getMessageText(refreshMessageLabelNode);
  1044.        detailsLabelNodeText = getMessageText(detailsLabelNode);
  1045.    
  1046.  
  1047.        slowLinkThresholdValue = null;
  1048.        linkSpeedValue = null;
  1049.        domainControllerIpValue = null;
  1050.        domainControllerNameValue = null;
  1051.        processingTypeValue = null;
  1052.        loopbackModeValue = null;
  1053.        processingTriggerValue = null;
  1054.  
  1055.        if (singlePassEventsDetailsNode != null) {
  1056.            slowLinkThresholdValue = singlePassEventsDetailsNode.getAttribute("SlowLinkThresholdInKbps");
  1057.            linkSpeedValue = singlePassEventsDetailsNode.getAttribute("LinkSpeedInKbps");
  1058.            domainControllerIpValue = singlePassEventsDetailsNode.getAttribute("DomainControllerIPAddress");
  1059.            domainControllerNameValue = singlePassEventsDetailsNode.getAttribute("DomainControllerName");
  1060.            processingTypeValue = singlePassEventsDetailsNode.getAttribute("ProcessingAppMode");
  1061.            loopbackModeValue = singlePassEventsDetailsNode.getAttribute("PolicyProcessingMode");
  1062.            processingTriggerValue = singlePassEventsDetailsNode.getAttribute("ProcessingTrigger");
  1063.            totalPolicyProcessingTime = singlePassEventsDetailsNode.getAttribute("PolicyElapsedTime");
  1064.            extensionProcessingTimeArray = singlePassEventsDetailsNode.getElementsByTagName("ExtensionProcessingTime");
  1065.        }
  1066.        if (slowLinkThresholdValue == null) {
  1067.            slowLinkThresholdValue = dataNotFoundWarningLabelNodeText;
  1068.        }
  1069.        if (linkSpeedValue == null) {
  1070.            linkSpeedValue = dataNotFoundWarningLabelNodeText;
  1071.        }
  1072.        if (domainControllerIpValue == null) {
  1073.            domainControllerIpValue = dataNotFoundWarningLabelNodeText;
  1074.        }
  1075.        else {
  1076.            domainControllerIpValue = domainControllerIpValue.replace(/^\\\\/, "");
  1077.        }
  1078.        if (domainControllerNameValue == null) {
  1079.            domainControllerNameValue = dataNotFoundWarningLabelNodeText;
  1080.        }
  1081.        else {
  1082.            domainControllerNameValue = domainControllerNameValue.replace(/^\\\\/, "");
  1083.        }
  1084.        if (processingTypeValue == null) {
  1085.            processingTypeValue = dataNotFoundWarningLabelNodeText;
  1086.        }
  1087.        if (loopbackModeValue == null) {
  1088.            loopbackModeValue = dataNotFoundWarningLabelNodeText;
  1089.        }
  1090.        if (processingTriggerValue == null) {
  1091.            processingTriggerValue = dataNotFoundWarningLabelNodeText;
  1092.        }
  1093.  
  1094.        if (extensionProcessingTimeArray != null && extensionProcessingTimeArray.length > 0) {
  1095.             var cseName;
  1096.             var cseElapsedTime;
  1097.             var cseProcessedTime;
  1098.             var cseId;
  1099.             var i;
  1100.             var index = 0;
  1101.             for (i = 0; i < extensionProcessingTimeArray.length; i++) {
  1102.                var cseNameElements = extensionProcessingTimeArray[i].getElementsByTagName("ExtensionName");
  1103.                var cseElapsedTimeElements = extensionProcessingTimeArray[i].getElementsByTagName("ElapsedTime");
  1104.                var cseProcessedTimeElements = extensionProcessingTimeArray[i].getElementsByTagName("ProcessedTime");
  1105.                var cseIdElements = extensionProcessingTimeArray[i].getElementsByTagName("ExtensionGuid");
  1106.                if ((cseNameElements.length > 0) && (cseElapsedTimeElements.length > 0) && (cseProcessedTimeElements.length > 0) && (cseIdElements.length > 0)) {
  1107.                    if ((cseNameElements[0].firstChild != null) && (cseElapsedTimeElements[0].firstChild != null) && (cseProcessedTimeElements[0].firstChild != null) && (cseIdElements[0].firstChild != null)) {
  1108.                        cseName = cseNameElements[0].firstChild.nodeValue;
  1109.                         cseElapsedTime = cseElapsedTimeElements[0].firstChild.nodeValue;
  1110.                         cseProcessedTime = cseProcessedTimeElements[0].firstChild.nodeValue;
  1111.                         cseId = cseIdElements[0].firstChild.nodeValue;
  1112.                         if ((cseName != null) && (cseElapsedTime != null) && (cseProcessedTime != null) && (cseId != null)) {
  1113.                            cseNameArray[index] = cseName;
  1114.                             cseElapsedTimeArray[index] = cseElapsedTime;
  1115.                             index = index + 1;
  1116.                             if (cseId === '{00000000-0000-0000-0000-000000000000}') {
  1117.                                 policyApplicationFinishedTime = cseProcessedTime;
  1118.                             }
  1119.                         }
  1120.                     }
  1121.                 }
  1122.             }
  1123.         }
  1124.          
  1125.         var htmlText = "<html dir=" + document.dir +  ">";
  1126.         htmlText = htmlText + "<head>";
  1127.         htmlText = htmlText + "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-16\" />";
  1128.         if(isComputerProcessing != null)
  1129.         {
  1130.             if(isComputerProcessing === true)
  1131.             {
  1132.                 htmlText = htmlText + "<title>" + processingDetailsComputerTitleNodeText + "</title>";
  1133.             }
  1134.             else
  1135.             {
  1136.                 htmlText = htmlText + "<title>" + processingDetailsUserTitleNodeText + "</title>";
  1137.             }
  1138.         }
  1139.        
  1140.  
  1141.         htmlText = htmlText + "</head><style type=\"text/css\">";
  1142.         htmlText = htmlText + "body    { background-color:#FFFFFF; color:#000000; font-size:68%; font-family:MS Shell Dlg; margin:0,0,10px,0; word-break:normal; word-wrap:break-word; }";
  1143.         htmlText = htmlText + "table   { font-size:100%; table-layout:fixed; width:100%; }";
  1144.         htmlText = htmlText + "td,th   { overflow:visible; text-align:left; vertical-align:top; white-space:normal; }";
  1145.         htmlText = htmlText + ".he0    { background-color:#FEF7D6; border:1px solid #BBBBBB; display:block; font-family:MS Shell Dlg; font-size:100%; font-weight:bold; height:2.25em; margin-bottom:-1px; margin-left:0px; margin-right:0px; padding-left:8px; padding-right:5em; padding-top:4px; position:relative; width:100%; }";
  1146.         htmlText = htmlText + ".he1    { color:#000000; display:block; font-family:MS Shell Dlg; font-size:100%; font-weight:bold; height:2em;margin-left: 5 px; margin-top: 5 px; position:relative; width:100%; }";
  1147.         htmlText = htmlText + ".tblspecialfmt { border:1px solid black;border-collapse:collapse; }";
  1148.         htmlText = htmlText + ".tblfirstcolfmt { border-left-width: 1px;border-top-width: 1px;border-bottom-width: 1px;border-right-width: 0px;border-style: solid; border-color: black; }";
  1149.         htmlText = htmlText + ".tblsecondcolfmt { border-left-width: 0px;border-top-width: 1px;border-bottom-width: 1px;border-right-width: 1px;border-style: solid; border-color: black; }";
  1150.         htmlText = htmlText + "</style>";
  1151.         htmlText = htmlText + "<body>";
  1152.         htmlText = htmlText + "<span class=\"he1\">" + refreshMessageLabelNodeText + " " + policyApplicationFinishedTime + "</span>" ;
  1153.         htmlText = htmlText + "<div class=\"he0\">" + detailsLabelNodeText + "</div>"
  1154.         htmltext = htmlText + "<table><tr>";
  1155.  
  1156.         htmlText = htmlText + "<td>";
  1157.         htmlText = htmlText + "<table>";
  1158.         htmlText = htmlText + "<tr><td colspan=\"2\">&nbsp;</td></tr>";
  1159.  
  1160.  
  1161.         htmlText = htmlText + "<tr><td style=\"width: 50%\"><strong>" + processingTypeLabelNodeText + "</strong></td>";
  1162.         htmlText = htmlText + "<td>" + processingTypeValue + "</td></tr>";
  1163.  
  1164.         htmlText = htmlText + "<tr><td style=\"width: 50%\"><strong>" + loopbackModeLabelNodeText + "</strong></td>";
  1165.         htmlText = htmlText + "<td>" + loopbackModeValue + "</td></tr>";
  1166.  
  1167.         htmlText = htmlText + "<tr><td style=\"width: 50%\"><strong>" + linkSpeedLabelNodeText + "</strong></td>";
  1168.         htmlText = htmlText + "<td>" + linkSpeedValue + "</td></tr>";
  1169.  
  1170.         htmlText = htmlText + "<tr><td style=\"width: 50%\"><strong>" + slowLinkThresholdLabelNodeText + "</strong></td>";
  1171.         htmlText = htmlText + "<td>" + slowLinkThresholdValue + "</td></tr>";
  1172.  
  1173.         htmlText = htmlText + "<tr><td style=\"width: 50%\"><strong>" + domainControllerNameLabelNodeText + "</strong></td>";
  1174.         htmlText = htmlText + "<td>" + domainControllerNameValue +"</td></tr>";
  1175.  
  1176.         htmlText = htmlText + "<tr><td style=\"width: 50%\"><strong>" + domainControllerIpLabelNodeText + "</strong></td>";
  1177.         htmlText = htmlText + "<td>" + domainControllerIpValue +"</td></tr>";
  1178.  
  1179.         htmlText = htmlText + "<tr><td style=\"width: 50%\"><strong>" + processingTriggerLabelNodeText + "</strong></td>";
  1180.         htmlText = htmlText + "<td>" + processingTriggerValue + "</td></tr>";
  1181.  
  1182.         htmlText = htmlText + "</table></td></tr>";
  1183.         htmlText = htmlText + "<tr ><td ><table>";
  1184.  
  1185.  
  1186.         htmlText = htmlText + "<tr><td><span class=\"he1\" >" + extensionsProcessedLabelNodeText +"</span></td></tr>";
  1187.         htmlText = htmlText + "<tr><td><table class=\"tblspecialfmt\" >";
  1188.         htmlText = htmlText + "<tr><td class=\"tblfirstcolfmt\" style=\"width: 50%;background-color:#FEF7D6;\"><strong>" + extensionNameLabelNodeText + "</strong></td>";
  1189.         htmlText = htmlText + "<td class=\"tblsecondcolfmt\" style=\"background-color:#FEF7D6;\" ><strong>" + timeTakenLabelNodeText + "</strong></td></tr>";
  1190.  
  1191.         for (var idx in cseNameArray)
  1192.         {
  1193.             htmlText = htmlText + "<tr><td style=\"width: 50%\">" + cseNameArray[idx] + "</td>";                  
  1194.             htmlText = htmlText + "<td>" + cseElapsedTimeArray[idx] + "</td></tr>";
  1195.         }
  1196.  
  1197.         if (totalPolicyProcessingTime != null)
  1198.         {
  1199.             htmlText = htmlText + "<tr><td class=\"tblfirstcolfmt\" style=\"width: 50%\" >" + totalProcessingTimeLabelNodeText +":</td>";
  1200.             htmlText = htmlText + "<td class=\"tblsecondcolfmt\">" + totalPolicyProcessingTime + "</td></tr>";
  1201.         }
  1202.         htmlText = htmlText + "</table></td></tr></table></td></tr></table></body></html>";
  1203.  
  1204.         if(windowsArray[strWindowId])
  1205.         {
  1206.             delete windowsArray[strWindowId];
  1207.         }
  1208.          
  1209.         // IE specific method for showing the popup.
  1210.         if(navigator.userAgent.indexOf("MSIE") > 0 && window.location.toString().indexOf("file:") === -1)
  1211.        {
  1212.            strDiagArgs = "dialogHeight=360px;dialogWidth=630px;status=no;scroll=yes;resizable=yes;minimize=yes;maximize=yes;";
  1213.  
  1214.             var vModeless = window.showModelessDialog("about:blank", window, strDiagArgs);
  1215.             vModeless.document.write(htmlText);
  1216.             vModeless.document.close();
  1217.             vModeless.location.reload(false);
  1218.             windowsArray[strWindowId] = vModeless;                      
  1219.         }
  1220.         else
  1221.         {
  1222.             strDiagArgs = "height=360px, width=630px, status=no, toolbar=no, scrollbars=yes, resizable=yes";
  1223.        
  1224.             windowsArray[strWindowId] = window.open("", "" , strDiagArgs);
  1225.             windowsArray[strWindowId].document.write(htmlText);
  1226.             windowsArray[strWindowId].focus();
  1227.         }
  1228.     }
  1229. }
  1230. </script>
  1231. </head>
  1232.  
  1233. <body onload="window_onload();" onclick="document_onclick();" onkeypress="document_onkeypress(event);" onunload="cleanUp();">
  1234.  
  1235. <!-- HTML resources -->
  1236. <div style="display:none;">
  1237.         <div id="explainText_windowTitle">Group Policy Management</div>
  1238.         <div id="explainText_windowStyles">
  1239.        
  1240.                             body  { font-size:68%;font-family:MS Shell Dlg; margin:0px,0px,0px,0px; border: 1px solid #666666; background:#F6F6F6; width:100%; word-break:normal; word-wrap:break-word; }
  1241.  
  1242.                             .head { font-weight:bold; font-size:160%; font-family:MS Shell Dlg; width:100%; color:#6587DC; background:#E3EAF9; border:1px solid #5582D2; padding-left:8px; height:24px; }
  1243.  
  1244.                             .path { margin-left: 10px; margin-top: 10px; margin-bottom:5px;width:100%; }
  1245.  
  1246.                             .info { padding-left:10px;width:100%; }
  1247.  
  1248.                             table { font-size:100%; width:100%; border:1px solid #999999; }
  1249.  
  1250.                             th    { border-bottom:1px solid #999999; text-align:left; padding-left:10px; height:24px; }
  1251.  
  1252.                             td    { background:#FFFFFF; padding-left:10px; padding-bottom:10px; padding-top:10px; }
  1253.  
  1254.                             .btn  { width:100%; text-align:right; margin-top:16px; }
  1255.  
  1256.                             .hdr  { font-weight:bold; border:1px solid #999999; text-align:left; padding-top: 4px; padding-left:10px; height:24px; margin-bottom:-1px; width:100%; }
  1257.  
  1258.                             .bdy  { width:100%; height:182px; display:block; overflow:scroll; z-index:2; background:#FFFFFF; padding-left:10px; padding-bottom:10px; padding-top:10px; border:1px solid #999999; }
  1259.  
  1260.                             button { width:6.9em; height:2.1em; font-size:100%; font-family:MS Shell Dlg; margin-right:15px; }
  1261.  
  1262.                             @media print {
  1263.  
  1264.                                 .bdy { display:block; overflow:visible; }
  1265.  
  1266.                                 button { display:none; }
  1267.  
  1268.                                 .head { color:#000000; background:#FFFFFF; border:1px solid #000000; }
  1269.  
  1270.                             }
  1271.  
  1272.                
  1273.         </div>
  1274.         <div id="explainText_settingPathLabel">Setting Path:</div>
  1275.         <div id="explainText_explainTextLabel">Explanation</div>
  1276.         <div id="explainText_printButton">
  1277.         <button name="Print" onClick="window.print()" accesskey="P"><u>P</u>rint</button>
  1278.  
  1279.         </div>
  1280.         <div id="explainText_closeButton">
  1281.         <button name="Close" onClick="window.close()" accesskey="C"><u>C</u>lose</button>
  1282.                
  1283.         </div>
  1284.         <div id="explainText_noExplainTextAvailable">No explanation is available for this setting.</div>
  1285.         <div id="explainText_supportedLabel">Supported On:</div>
  1286.         <div id="explainText_noSupportedTextAvailable">Not available</div>
  1287. </div><table class="title" >
  1288. <tr><td colspan="2" class="gponame">OneDriveConfigureTESTING</td></tr>
  1289. <tr>
  1290.     <td id="dtstamp">Data collected on: 2018-05-09 6:32:38 PM</td>
  1291.     <td><div id="objshowhide" tabindex="0" onclick="objshowhide_onClick();return false;"></div></td>
  1292. </tr>
  1293. </table>
  1294.  
  1295. <div class="gposummary">
  1296. <div class="he0_expanded"><span class="sectionTitle" tabindex="0">General</span><a class="expando" href="#"></a></div>
  1297. <div class="container"><div class="he1"><span class="sectionTitle" tabindex="0">Details</span><a class="expando" href="#"></a></div>
  1298. <div class="container"><div class="he4i"><table class="info" >
  1299. <tr><td scope="row">Domain</td><td>DOMAIN.local</td></tr>
  1300. <tr><td scope="row">Owner</td><td>DOMAIN\Domain Admins</td></tr>
  1301. <tr><td scope="row">Created</td><td>2018-05-04 5:21:50 PM</td></tr>
  1302. <tr><td scope="row">Modified</td><td>2018-05-09 6:16:14 PM</td></tr>
  1303. <tr><td scope="row">User Revisions</td><td>42 (AD), 42 (SYSVOL)</td></tr>
  1304. <tr><td scope="row">Computer Revisions</td><td>14 (AD), 14 (SYSVOL)</td></tr>
  1305. <tr><td scope="row">Unique ID</td><td>{UNIQUE-ID}</td></tr>
  1306. <tr><td scope="row">GPO Status</td><td>Enabled</td></tr>
  1307. </table></div></div>
  1308. <div class="filler"></div>
  1309. <div class="he1"><span class="sectionTitle" tabindex="0">Links</span><a class="expando" href="#"></a></div>
  1310. <div class="container"><div class="he4i"><table class="info3" ><tr><th scope="col">Location</th><th scope="col">Enforced</th><th scope="col">Link Status</th><th scope="col">Path</th></tr>
  1311.     <tr><td>GPO Test 5</td><td>No</td><td>Enabled</td><td>DOMAIN.local/Temp/GPO Test 5</td></tr>
  1312.     </table>
  1313.     <br/>This list only includes links in the domain of the GPO.</div></div>
  1314. <div class="filler"></div>
  1315. <div class="he1"><span class="sectionTitle" tabindex="0">Security Filtering</span><a class="expando" href="#"></a></div>
  1316. <div class="container"><div class="he4i"><b>The settings in this GPO can only apply to the following groups, users, and computers:</b></div>
  1317. <div class="he4i">
  1318. <table class="info" ><tr><th scope="col">Name</th></tr><tr><td>NT AUTHORITY\Authenticated Users</td></tr></table>
  1319. </div>
  1320. </div>
  1321. <div class="filler"></div>
  1322.  
  1323. <div class="filler"></div>
  1324. <div class="he1"><span class="sectionTitle" tabindex="0">Delegation</span><a class="expando" href="#"></a></div>
  1325. <div class="container"><div class="he4i"><b>These groups and users have the specified permission for this GPO</b></div>
  1326. <div class="he4i">
  1327. <table class="info3" >
  1328. <tr><th scope="col">Name</th><th scope="col">Allowed Permissions</th><th scope="col">Inherited</th></tr>
  1329. <tr><td>DOMAIN\Domain Admins</td><td>Edit settings, delete, modify security</td><td>No</td></tr>
  1330. <tr><td>DOMAIN\Enterprise Admins</td><td>Edit settings, delete, modify security</td><td>No</td></tr>
  1331. <tr><td>NT AUTHORITY\Authenticated Users</td><td>Read (from Security Filtering)</td><td>No</td></tr>
  1332. <tr><td>NT AUTHORITY\ENTERPRISE DOMAIN CONTROLLERS</td><td>Read</td><td>No</td></tr>
  1333. <tr><td>NT AUTHORITY\SYSTEM</td><td>Edit settings, delete, modify security</td><td>No</td></tr>
  1334. </table>
  1335.  
  1336. </div></div></div>
  1337. <div class="filler"></div>
  1338. </div>
  1339. <div class="he0_expanded"><span class="sectionTitle" tabindex="0">Computer Configuration (Enabled)</span><a class="expando" href="#"></a></div>
  1340. <div class="container"><div class="he1h_expanded"><span class="sectionTitle" tabindex="0">Policies</span><a class="expando" href="#"></a></div>
  1341. <div class="container"><div class="he1"><span class="sectionTitle" tabindex="0">Administrative Templates</span><a class="expando" href="#"></a></div>
  1342. <div class="container"><div class="he4i">Policy definitions (ADMX files) retrieved from the central store.</div><div class="he3"><span class="sectionTitle" tabindex="0">OneDrive</span><a class="expando" href="#"></a></div>
  1343. <div class="container"><div class="he4i"><table class="info3" >
  1344. <tr><th scope="col">Policy</th><th scope="col">Setting</th><th scope="col">Comment</th></tr>
  1345. <tr><td><span class="explainlink" tabindex="0" onkeypress="javascript:showExplainText(this); return false;" onclick="javascript:showExplainText(this); return false;" gpmc_settingName="Allow syncing OneDrive accounts for only specific organizations" gpmc_settingPath="Computer Configuration/Administrative Templates/OneDrive" gpmc_settingDescription="This setting lets you prevent users from easily uploading files to other organizations by specifying a list of allowed tenant IDs. &lt;br/&gt;&lt;br/&gt;If you enable this setting, users will get an error if they attempt to add an account from an organization that is not allowed. If a user has already added the account, the files will stop syncing.&lt;br/&gt;&lt;br/&gt;If you disable or do not configure this setting, users can add accounts from any organization. &lt;br/&gt;&lt;br/&gt;To block specific organizations instead, use &amp;quot;Block syncing OneDrive accounts for specific organizations.&amp;quot;&lt;br/&gt;&lt;br/&gt;This setting will take priority over the policy &amp;quot;Block syncing OneDrive accounts for specific organizations.&amp;quot; Do not enable both policies at the same time.&lt;br/&gt;      " gpmc_supported="At least Windows Server 2008 R2 or Windows 7">Allow syncing OneDrive accounts for only specific organizations</span></td><td>Enabled</td><td></td></tr>
  1346. <tr><td colspan="3"><table class="subtable_frame" >
  1347. <tr><td colspan="2">Specify tenant ID</td></tr><tr><td colspan="2">In the value field, type the tenant ID you wish to add to this list</td></tr><tr><td colspan="2"> </td></tr><tr><td colspan="2"><table class="subtable" >
  1348. <tr><th scope="col">Tenant GUID: </th></tr>
  1349. <tr><td>INSERT-YOUR-TENANT-ID-HERE</td></tr>
  1350. </table></td></tr></table></td></tr><tr><th scope="col">Policy</th><th scope="col">Setting</th><th scope="col">Comment</th></tr>
  1351. <tr><td><span class="explainlink" tabindex="0" onkeypress="javascript:showExplainText(this); return false;" onclick="javascript:showExplainText(this); return false;" gpmc_settingName="Enable OneDrive Files On-Demand" gpmc_settingPath="Computer Configuration/Administrative Templates/OneDrive" gpmc_settingDescription="This setting allows you to explicitly control whether OneDrive Files On-Demand is enabled for your tenant.&lt;br/&gt;&lt;br/&gt;If you enable this setting, OneDrive Files On-Demand will be turned ON by default for all users the policy is applied to.&lt;br/&gt;&lt;br/&gt;If you disable this setting, OneDrive Files On-Demand will be explicitly disabled and a user cannot turn it on.&lt;br/&gt;&lt;br/&gt;If you do not configure this setting, OneDrive Files On-Demand can be either turned on or off by a user.&lt;br/&gt;      " gpmc_supported="At least Windows Server, Windows 10 Version 1709">Enable OneDrive Files On-Demand</span></td><td>Enabled</td><td></td></tr>
  1352. <tr><td><span class="explainlink" tabindex="0" onkeypress="javascript:showExplainText(this); return false;" onclick="javascript:showExplainText(this); return false;" gpmc_settingName="Prevent OneDrive from generating network traffic until the user signs in to OneDrive" gpmc_settingPath="Computer Configuration/Administrative Templates/OneDrive" gpmc_settingDescription="Enable this setting to prevent the OneDrive sync client (OneDrive.exe) from generating network traffic (checking for updates, etc.) until the user signs in to OneDrive or starts syncing files to the local computer.&lt;br/&gt;&lt;br/&gt;If you enable this setting, users must sign in to the OneDrive sync client on the local computer, or select to sync OneDrive or SharePoint files on the computer, for the sync client to start automatically.&lt;br/&gt;&lt;br/&gt;If this setting is not enabled, the OneDrive sync client will start automatically when users sign in to Windows.&lt;br/&gt;&lt;br/&gt;If you enable or disable this setting, do not return the setting to Not Configured. Doing so will not change the configuration and the last configured setting will remain in effect." gpmc_supported="At least Windows Server 2008 R2 or Windows 7">Prevent OneDrive from generating network traffic until the user signs in to OneDrive</span></td><td>Enabled</td><td></td></tr>
  1353. <tr><td><span class="explainlink" tabindex="0" onkeypress="javascript:showExplainText(this); return false;" onclick="javascript:showExplainText(this); return false;" gpmc_settingName="Set the maximum percentage of upload bandwidth that OneDrive.exe uses" gpmc_settingPath="Computer Configuration/Administrative Templates/OneDrive" gpmc_settingDescription="This setting allows you to configure the maximum percentage of the available bandwidth on the computer that OneDrive sync will use to upload. (OneDrive only uses this bandwidth when syncing files.) The bandwidth available to a computer is constantly changing so a percentage allows sync to respond to both increases and decreases in bandwidth availability while syncing in the background. The lower the percentage of bandwidth OneDrive sync is allowed to take, the slower the computer will sync files. We recommend a value of 50% or higher. Sync enables upload limiting by periodically allowing the sync engine to go full speed for one minute and then slowing down to the upload percentage set by this setting. This enables two key scenarios. First, a very small file will get uploaded quickly because it can fit in the interval where sync is measuring the maximum possible speed. Second, for any long running upload, sync will keep optimizing the upload speed per the percentage value set by this setting.&lt;br/&gt;&lt;br/&gt;If you enable this setting, computers affected by this policy will use the maximum bandwidth percentage that you specify.&lt;br/&gt;&lt;br/&gt;If you disable this setting, computers will allow the users to determine how much upload bandwidth they can use.&lt;br/&gt;&lt;br/&gt;If you enable or disable this setting, do not return the setting to Not Configured. Doing so will not change the configuration and the last configured setting will remain in effect." gpmc_supported="At least Windows Server 2008 R2 or Windows 7">Set the maximum percentage of upload bandwidth that OneDrive.exe uses</span></td><td>Enabled</td><td></td></tr>
  1354. <tr><td colspan="3"><table class="subtable_frame" >
  1355. <tr><td colspan="2">Select the maximum percentage of bandwidth to take up when uploading files.</td></tr><tr><td colspan="2">Valid values are from 10 - 90.</td></tr><tr><td>Bandwidth:</td><td>70</td></tr>
  1356. </table></td></tr><tr><th scope="col">Policy</th><th scope="col">Setting</th><th scope="col">Comment</th></tr>
  1357. <tr><td><span class="explainlink" tabindex="0" onkeypress="javascript:showExplainText(this); return false;" onclick="javascript:showExplainText(this); return false;" gpmc_settingName="Silently configure OneDrive using the primary Windows account" gpmc_settingPath="Computer Configuration/Administrative Templates/OneDrive" gpmc_settingDescription="This setting allows you to configure OneDrive silently using the primary Windows account. &lt;br/&gt;&lt;br/&gt;If you enable this setting, OneDrive will attempt to sign in to OneDrive for Business using these credentials. OneDrive will check the space on disk before syncing, and if it is large OneDrive will prompt the user to choose their folders. The threshold for which the user is prompted can be configured using DiskSpaceCheckThresholdMB. OneDrive will attempt to sign in on every account on the machine and once successful, that account will no longer attempt silent configuration.&lt;br/&gt;&lt;br/&gt;If you enable this setting, ADAL must be enabled or the account configuration will fail.&lt;br/&gt;&lt;br/&gt;If you enable this setting and the user is using the legacy OneDrive for Business sync client, the new client will attempt to take over sync from the legacy client. If successful OneDrive will persist the user&amp;#39;s sync settings from the legacy client.&lt;br/&gt;&lt;br/&gt;If you disable this setting, OneDrive will not attempt to automatically sign in users.&lt;br/&gt;&lt;br/&gt;Other settings which are useful with SilentAccountConfig include DiskSpaceCheckThresholdMB, and DefaultRootDir.&lt;br/&gt;      " gpmc_supported="At least Windows Server 2008 R2 or Windows 7">Silently configure OneDrive using the primary Windows account</span></td><td>Enabled</td><td></td></tr>
  1358. <tr><td><span class="explainlink" tabindex="0" onkeypress="javascript:showExplainText(this); return false;" onclick="javascript:showExplainText(this); return false;" gpmc_settingName="The maximum size of a user&amp;#39;s OneDrive for Business before they will be prompted to choose which folders are downloaded" gpmc_settingPath="Computer Configuration/Administrative Templates/OneDrive" gpmc_settingDescription="This setting is used in conjunction with SilentAccountConfig. Any user who has a OneDrive for Business that is larger than the specified threshold (in MB) will be prompted to choose the folders they would like to sync before OneDrive downloads the files.&lt;br/&gt;      " gpmc_supported="At least Windows Server 2008 R2 or Windows 7">The maximum size of a user&#39;s OneDrive for Business before they will be prompted to choose which folders are downloaded</span></td><td>Enabled</td><td></td></tr>
  1359. <tr><td colspan="3"><table class="subtable_frame" >
  1360. <tr><td colspan="2">Specify tenant GUID and the maximum size of a user&#39;s OneDrive for Business before the user is prompted to choose the folders they would like to sync. </td></tr><tr><td colspan="2">In the name field, type the tenant GUID. Enter the size in the value field.</td></tr><tr><td colspan="2">Valid values are from 0 to 4294967295 MB (inclusive).</td></tr><tr><td colspan="2"><table class="subtable" >
  1361. <tr><th scope="col">Tenant paths: </th><th scope="col">&nbsp;</th></tr>
  1362. <tr><td>INSERT-YOUR-TENANT-ID-HERE</td><td>50000</td></tr>
  1363. </table></td></tr></table></td></tr></table>
  1364. </div></div></div></div></div>
  1365. <div class="filler"></div>
  1366. <div class="he0_expanded"><span class="sectionTitle" tabindex="0">User Configuration (Enabled)</span><a class="expando" href="#"></a></div>
  1367. <div class="container"><div class="he1h_expanded"><span class="sectionTitle" tabindex="0">Policies</span><a class="expando" href="#"></a></div>
  1368. <div class="container"><div class="he1"><span class="sectionTitle" tabindex="0">Administrative Templates</span><a class="expando" href="#"></a></div>
  1369. <div class="container"><div class="he4i">Policy definitions (ADMX files) retrieved from the central store.</div><div class="he3"><span class="sectionTitle" tabindex="0">OneDrive</span><a class="expando" href="#"></a></div>
  1370. <div class="container"><div class="he4i"><table class="info3" >
  1371. <tr><th scope="col">Policy</th><th scope="col">Setting</th><th scope="col">Comment</th></tr>
  1372. <tr><td><span class="explainlink" tabindex="0" onkeypress="javascript:showExplainText(this); return false;" onclick="javascript:showExplainText(this); return false;" gpmc_settingName="Coauthoring and in-app sharing for Office files" gpmc_settingPath="User Configuration/Administrative Templates/OneDrive" gpmc_settingDescription="This setting enables live coauthoring and in-app sharing for Office files opened locally from your computer. Coauthoring and in-app sharing for Office files is allowed by default. (Coauthoring is available in Office 2013 and Office 2016.)&lt;br/&gt;&lt;br/&gt;If you enable this setting, coauthoring and in-app sharing for Office is enabled, but users can disable it on the Office tab in the sync client if they wish.&lt;br/&gt;&lt;br/&gt;If you disable this setting, coauthoring and in-app sharing for Office files is disabled, and the Office tab is hidden in the sync client. If you disable this setting, then the &amp;quot;Users can choose how to handle Office files in conflict&amp;quot; setting will act as disabled and in case of file conflicts, the file will be forked." gpmc_supported="At least Windows Server 2008 R2 or Windows 7">Coauthoring and in-app sharing for Office files</span></td><td>Enabled</td><td></td></tr>
  1373. <tr><td><span class="explainlink" tabindex="0" onkeypress="javascript:showExplainText(this); return false;" onclick="javascript:showExplainText(this); return false;" gpmc_settingName="Prevent users from changing the location of their OneDrive folder" gpmc_settingPath="User Configuration/Administrative Templates/OneDrive" gpmc_settingDescription="This setting allows you to prevent users from changing the location of their OneDrive sync folder.&lt;br/&gt;&lt;br/&gt;If you enable this setting, users cannot change the location of their OneDrive - {tenant name} folder during the Welcome to OneDrive wizard. This forces users to use either the default location, or, if you&amp;#39;ve set the &amp;quot;Set the default location for the OneDrive folder&amp;quot; setting, ensures all users have their local OneDrive folder in the location that you&amp;#39;ve specified.&lt;br/&gt;&lt;br/&gt;If you disable this setting, users can change the location of their sync folder during the Welcome to OneDrive wizard." gpmc_supported="At least Windows Server 2008 R2 or Windows 7">Prevent users from changing the location of their OneDrive folder</span></td><td>Enabled</td><td></td></tr>
  1374. <tr><td colspan="3"><table class="subtable_frame" >
  1375. <tr><td colspan="2">Specify tenant GUID and value of the setting. 1 for turning on this setting, 0 for turning off this setting </td></tr><tr><td colspan="2">In the name field, type the tenant GUID. Enter 1 or 0 in the value field.</td></tr><tr><td colspan="2"><table class="subtable" >
  1376. <tr><th scope="col">Tenant paths: </th><th scope="col">&nbsp;</th></tr>
  1377. <tr><td>INSERT-YOUR-TENANT-ID-HERE</td><td>1</td></tr>
  1378. </table></td></tr></table></td></tr><tr><th scope="col">Policy</th><th scope="col">Setting</th><th scope="col">Comment</th></tr>
  1379. <tr><td><span class="explainlink" tabindex="0" onkeypress="javascript:showExplainText(this); return false;" onclick="javascript:showExplainText(this); return false;" gpmc_settingName="Prevent users from seeing the tutorial in the OneDrive Sign in Experience" gpmc_settingPath="User Configuration/Administrative Templates/OneDrive" gpmc_settingDescription="This setting allows you to prevent users from launching the web browser tutorial at the end of the OneDrive First Run Experience&lt;br/&gt;&lt;br/&gt;If you enable this setting, users that sign in will not see the tutorial at the end of the Sign in Experience.&lt;br/&gt;&lt;br/&gt;If you disable this setting users will follow the original behavior. Disable has the same effect as not configuring this setting" gpmc_supported="At least Windows Server 2008 R2 or Windows 7">Prevent users from seeing the tutorial in the OneDrive Sign in Experience</span></td><td>Enabled</td><td></td></tr>
  1380. <tr><td><span class="explainlink" tabindex="0" onkeypress="javascript:showExplainText(this); return false;" onclick="javascript:showExplainText(this); return false;" gpmc_settingName="Prevent users from synchronizing personal OneDrive accounts" gpmc_settingPath="User Configuration/Administrative Templates/OneDrive" gpmc_settingDescription="This setting allows you to block users from syncing files from consumer (Microsoft Account-based) OneDrive. By default, users are allowed to synchronize personal OneDrive accounts.&lt;br/&gt;&lt;br/&gt;If you enable this setting, users will be prevented from setting up a sync relationship for their personal OneDrive account. If they had previously been synchronizing a personal OneDrive account, they are shown an error when they start the sync client, but their files remain on the disk.&lt;br/&gt;&lt;br/&gt;If you disable this setting, users are allowed to synchronize personal OneDrive accounts." gpmc_supported="At least Windows Server 2008 R2 or Windows 7">Prevent users from synchronizing personal OneDrive accounts</span></td><td>Enabled</td><td></td></tr>
  1381. <tr><td><span class="explainlink" tabindex="0" onkeypress="javascript:showExplainText(this); return false;" onclick="javascript:showExplainText(this); return false;" gpmc_settingName="Prevent users from using the remote file fetch feature to access files on the computer" gpmc_settingPath="User Configuration/Administrative Templates/OneDrive" gpmc_settingDescription="This setting allows you to block users from using the fetch feature when they are logged in to OneDrive.exe with their Microsoft account. The fetch feature allows your users to go to OneDrive.com, select a Windows computer that&amp;#39;s currently online and running the OneDrive Sync Client, and access all their personal files from that computer. By default, users can use the fetch feature.&lt;br/&gt;&lt;br/&gt;If you enable this setting, users will be prevented from using the fetch feature.&lt;br/&gt;&lt;br/&gt;If you disable this setting, users can use the fetch feature.&lt;br/&gt;&lt;br/&gt;This setting is for computers running 32-bit or 64-bit versions of Windows." gpmc_supported="At least Windows Server 2008 R2 or Windows 7">Prevent users from using the remote file fetch feature to access files on the computer</span></td><td>Enabled</td><td></td></tr>
  1382. <tr><td><span class="explainlink" tabindex="0" onkeypress="javascript:showExplainText(this); return false;" onclick="javascript:showExplainText(this); return false;" gpmc_settingName="Set the default location for the OneDrive folder" gpmc_settingPath="User Configuration/Administrative Templates/OneDrive" gpmc_settingDescription="This setting allows you to set a specific path as the default location of the OneDrive folder when users go through the Welcome to OneDrive wizard when configuring file synchronization. By default, the path is under %userprofile%.&lt;br/&gt;&lt;br/&gt;If you enable this setting, the local OneDrive - {tenant name} folder location will default to the path that you specify in the OneDrive.admx file.&lt;br/&gt;&lt;br/&gt;If you disable this setting, the local OneDrive - {tenant name} folder location will default to %userprofile%." gpmc_supported="At least Windows Server 2008 R2 or Windows 7">Set the default location for the OneDrive folder</span></td><td>Enabled</td><td></td></tr>
  1383. <tr><td colspan="3"><table class="subtable_frame" >
  1384. <tr><td colspan="2">Specify tenant GUID and default path. </td></tr><tr><td colspan="2">In the name field, type the tenant GUID. Enter the path in the value field.</td></tr><tr><td colspan="2"><table class="subtable" >
  1385. <tr><th scope="col">Tenant paths: </th><th scope="col">&nbsp;</th></tr>
  1386. <tr><td>INSERT-YOUR-TENANT-ID-HERE</td><td>C:\OneDrive\%username%\</td></tr>
  1387. </table></td></tr></table></td></tr></table>
  1388. </div></div></div></div><div class="filler"></div>
  1389. <div class="he1h_expanded"><span class="sectionTitle" tabindex="0">Preferences</span><a class="expando" href="#"></a></div>
  1390. <div class="container"><div class="he1_expanded"><span class="sectionTitle" tabindex="0">Windows Settings</span><a class="expando" href="#"></a></div>
  1391. <div class="container"><div class="he2"><span class="sectionTitle" tabindex="0">Registry</span><a class="expando" href="#"></a></div>
  1392.         <div class="container"><div class="he3"><span class="sectionTitle" tabindex="0">EnableADAL (Order: 1)</span><a class="expando" href="#"></a></div>
  1393. <div class="container"><div class="he4h"><span class="sectionTitle" tabindex="0">General</span><a class="expando" href="#"></a></div>
  1394. <div class="container"><div class="he4i"><table class="info" >
  1395. <tr><td>Action</td><td>Update</td></tr>
  1396. </table>
  1397. <b>Properties</b><table class="subtable" ><tr><td>Hive</td><td>HKEY_CURRENT_USER</td></tr>
  1398. <tr><td>Key path</td><td>SOFTWARE\Microsoft\OneDrive</td></tr>
  1399. <tr><td>Value name</td><td>EnableADAL</td></tr>
  1400. <tr><td>Value type</td><td>REG_DWORD</td></tr>
  1401. <tr><td>Value data</td><td>0x1 (1)</td></tr>
  1402. </table></div></div><div class="he4h"><span class="sectionTitle" tabindex="0">Common</span><a class="expando" href="#"></a></div>
  1403. <div class="container"><div class="he4i"><b>Options</b><table class="subtable" ><tr><td>Stop processing items on this extension if an error occurs on this item</td><td>No</td></tr>
  1404. <tr><td>Run in logged-on user's security context (user policy option)</td><td>No</td></tr>
  1405. <tr><td>Remove this item when it is no longer applied</td><td>No</td></tr>
  1406. <tr><td>Apply once and do not reapply</td><td>No</td></tr>
  1407. </table></div></div></div><div class="he3"><span class="sectionTitle" tabindex="0">ClientEverSignedIn (Order: 2)</span><a class="expando" href="#"></a></div>
  1408. <div class="container"><div class="he4h"><span class="sectionTitle" tabindex="0">General</span><a class="expando" href="#"></a></div>
  1409. <div class="container"><div class="he4i"><table class="info" >
  1410. <tr><td>Action</td><td>Update</td></tr>
  1411. </table>
  1412. <b>Properties</b><table class="subtable" ><tr><td>Hive</td><td>HKEY_CURRENT_USER</td></tr>
  1413. <tr><td>Key path</td><td>Software\Microsoft\OneDrive</td></tr>
  1414. <tr><td>Value name</td><td>ClientEverSignedIn</td></tr>
  1415. <tr><td>Value type</td><td>REG_DWORD</td></tr>
  1416. <tr><td>Value data</td><td>0x0 (0)</td></tr>
  1417. </table></div></div><div class="he4h"><span class="sectionTitle" tabindex="0">Common</span><a class="expando" href="#"></a></div>
  1418. <div class="container"><div class="he4i"><b>Options</b><table class="subtable" ><tr><td>Stop processing items on this extension if an error occurs on this item</td><td>No</td></tr>
  1419. <tr><td>Run in logged-on user's security context (user policy option)</td><td>No</td></tr>
  1420. <tr><td>Remove this item when it is no longer applied</td><td>No</td></tr>
  1421. <tr><td>Apply once and do not reapply</td><td>No</td></tr>
  1422. </table><b>Item-level targeting: Filter Group</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1423. <tr><td>bool</td><td>AND</td></tr>
  1424. <tr><td>not</td><td>1</td></tr>
  1425. <tr><td colspan="2"><b>Item-level targeting: Registry Match</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1426. <tr><td>bool</td><td>AND</td></tr>
  1427. <tr><td>not</td><td>0</td></tr>
  1428. <tr><td>type</td><td>MATCHVALUE</td></tr>
  1429. <tr><td>hive</td><td>HKEY_CURRENT_USER</td></tr>
  1430. <tr><td>key</td><td>Software\Microsoft\OneDrive\Accounts\Business1</td></tr>
  1431. <tr><td>valueName</td><td>ConfiguredTenantId</td></tr>
  1432. <tr><td>valueType</td><td></td></tr>
  1433. <tr><td>valueData</td><td>INSERT-YOUR-TENANT-ID-HERE</td></tr>
  1434. <tr><td>min</td><td>0.0.0.0</td></tr>
  1435. <tr><td>max</td><td>0.0.0.0</td></tr>
  1436. <tr><td>gte</td><td>1</td></tr>
  1437. <tr><td>lte</td><td>0</td></tr>
  1438. </table></td></tr>
  1439. <tr><td colspan="2"><b>Item-level targeting: Registry Match</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1440. <tr><td>bool</td><td>OR</td></tr>
  1441. <tr><td>not</td><td>0</td></tr>
  1442. <tr><td>type</td><td>MATCHVALUE</td></tr>
  1443. <tr><td>hive</td><td>HKEY_CURRENT_USER</td></tr>
  1444. <tr><td>key</td><td>Software\Microsoft\OneDrive\Accounts\Business2</td></tr>
  1445. <tr><td>valueName</td><td>INSERT-YOUR-TENANT-ID-HERE</td></tr>
  1446. <tr><td>valueType</td><td></td></tr>
  1447. <tr><td>valueData</td><td></td></tr>
  1448. <tr><td>min</td><td>0.0.0.0</td></tr>
  1449. <tr><td>max</td><td>0.0.0.0</td></tr>
  1450. <tr><td>gte</td><td>1</td></tr>
  1451. <tr><td>lte</td><td>0</td></tr>
  1452. </table></td></tr>
  1453. <tr><td colspan="2"><b>Item-level targeting: Registry Match</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1454. <tr><td>bool</td><td>OR</td></tr>
  1455. <tr><td>not</td><td>0</td></tr>
  1456. <tr><td>type</td><td>MATCHVALUE</td></tr>
  1457. <tr><td>hive</td><td>HKEY_CURRENT_USER</td></tr>
  1458. <tr><td>key</td><td>Software\Microsoft\OneDrive\Accounts\Business3</td></tr>
  1459. <tr><td>valueName</td><td>INSERT-YOUR-TENANT-ID-HERE</td></tr>
  1460. <tr><td>valueType</td><td></td></tr>
  1461. <tr><td>valueData</td><td></td></tr>
  1462. <tr><td>min</td><td>0.0.0.0</td></tr>
  1463. <tr><td>max</td><td>0.0.0.0</td></tr>
  1464. <tr><td>gte</td><td>1</td></tr>
  1465. <tr><td>lte</td><td>0</td></tr>
  1466. </table></td></tr>
  1467. <tr><td colspan="2"><b>Item-level targeting: Registry Match</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1468. <tr><td>bool</td><td>OR</td></tr>
  1469. <tr><td>not</td><td>0</td></tr>
  1470. <tr><td>type</td><td>MATCHVALUE</td></tr>
  1471. <tr><td>hive</td><td>HKEY_CURRENT_USER</td></tr>
  1472. <tr><td>key</td><td>Software\Microsoft\OneDrive\Accounts\Business4</td></tr>
  1473. <tr><td>valueName</td><td>INSERT-YOUR-TENANT-ID-HERE</td></tr>
  1474. <tr><td>valueType</td><td></td></tr>
  1475. <tr><td>valueData</td><td></td></tr>
  1476. <tr><td>min</td><td>0.0.0.0</td></tr>
  1477. <tr><td>max</td><td>0.0.0.0</td></tr>
  1478. <tr><td>gte</td><td>1</td></tr>
  1479. <tr><td>lte</td><td>0</td></tr>
  1480. </table></td></tr>
  1481. </table><b>Description</b><table class="subtable" >
  1482. <tr><td>Apply only if OneDrive is NOT configured</td></tr></table>
  1483. </div></div></div><div class="he3"><span class="sectionTitle" tabindex="0">SilentBusinessConfigCompleted (Order: 3)</span><a class="expando" href="#"></a></div>
  1484. <div class="container"><div class="he4h"><span class="sectionTitle" tabindex="0">General</span><a class="expando" href="#"></a></div>
  1485. <div class="container"><div class="he4i"><table class="info" >
  1486. <tr><td>Action</td><td>Update</td></tr>
  1487. </table>
  1488. <b>Properties</b><table class="subtable" ><tr><td>Hive</td><td>HKEY_CURRENT_USER</td></tr>
  1489. <tr><td>Key path</td><td>Software\Microsoft\OneDrive</td></tr>
  1490. <tr><td>Value name</td><td>SilentBusinessConfigCompleted</td></tr>
  1491. <tr><td>Value type</td><td>REG_DWORD</td></tr>
  1492. <tr><td>Value data</td><td>0x0 (0)</td></tr>
  1493. </table></div></div><div class="he4h"><span class="sectionTitle" tabindex="0">Common</span><a class="expando" href="#"></a></div>
  1494. <div class="container"><div class="he4i"><b>Options</b><table class="subtable" ><tr><td>Stop processing items on this extension if an error occurs on this item</td><td>No</td></tr>
  1495. <tr><td>Run in logged-on user's security context (user policy option)</td><td>No</td></tr>
  1496. <tr><td>Remove this item when it is no longer applied</td><td>No</td></tr>
  1497. <tr><td>Apply once and do not reapply</td><td>No</td></tr>
  1498. </table><b>Item-level targeting: Filter Group</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1499. <tr><td>bool</td><td>AND</td></tr>
  1500. <tr><td>not</td><td>1</td></tr>
  1501. <tr><td colspan="2"><b>Item-level targeting: Registry Match</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1502. <tr><td>bool</td><td>AND</td></tr>
  1503. <tr><td>not</td><td>0</td></tr>
  1504. <tr><td>type</td><td>MATCHVALUE</td></tr>
  1505. <tr><td>hive</td><td>HKEY_CURRENT_USER</td></tr>
  1506. <tr><td>key</td><td>Software\Microsoft\OneDrive\Accounts\Business1</td></tr>
  1507. <tr><td>valueName</td><td>ConfiguredTenantId</td></tr>
  1508. <tr><td>valueType</td><td></td></tr>
  1509. <tr><td>valueData</td><td>INSERT-YOUR-TENANT-ID-HERE</td></tr>
  1510. <tr><td>min</td><td>0.0.0.0</td></tr>
  1511. <tr><td>max</td><td>0.0.0.0</td></tr>
  1512. <tr><td>gte</td><td>1</td></tr>
  1513. <tr><td>lte</td><td>0</td></tr>
  1514. </table></td></tr>
  1515. <tr><td colspan="2"><b>Item-level targeting: Registry Match</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1516. <tr><td>bool</td><td>OR</td></tr>
  1517. <tr><td>not</td><td>0</td></tr>
  1518. <tr><td>type</td><td>MATCHVALUE</td></tr>
  1519. <tr><td>hive</td><td>HKEY_CURRENT_USER</td></tr>
  1520. <tr><td>key</td><td>Software\Microsoft\OneDrive\Accounts\Business2</td></tr>
  1521. <tr><td>valueName</td><td>INSERT-YOUR-TENANT-ID-HERE</td></tr>
  1522. <tr><td>valueType</td><td></td></tr>
  1523. <tr><td>valueData</td><td></td></tr>
  1524. <tr><td>min</td><td>0.0.0.0</td></tr>
  1525. <tr><td>max</td><td>0.0.0.0</td></tr>
  1526. <tr><td>gte</td><td>1</td></tr>
  1527. <tr><td>lte</td><td>0</td></tr>
  1528. </table></td></tr>
  1529. <tr><td colspan="2"><b>Item-level targeting: Registry Match</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1530. <tr><td>bool</td><td>OR</td></tr>
  1531. <tr><td>not</td><td>0</td></tr>
  1532. <tr><td>type</td><td>MATCHVALUE</td></tr>
  1533. <tr><td>hive</td><td>HKEY_CURRENT_USER</td></tr>
  1534. <tr><td>key</td><td>Software\Microsoft\OneDrive\Accounts\Business3</td></tr>
  1535. <tr><td>valueName</td><td>INSERT-YOUR-TENANT-ID-HERE</td></tr>
  1536. <tr><td>valueType</td><td></td></tr>
  1537. <tr><td>valueData</td><td></td></tr>
  1538. <tr><td>min</td><td>0.0.0.0</td></tr>
  1539. <tr><td>max</td><td>0.0.0.0</td></tr>
  1540. <tr><td>gte</td><td>1</td></tr>
  1541. <tr><td>lte</td><td>0</td></tr>
  1542. </table></td></tr>
  1543. <tr><td colspan="2"><b>Item-level targeting: Registry Match</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1544. <tr><td>bool</td><td>OR</td></tr>
  1545. <tr><td>not</td><td>0</td></tr>
  1546. <tr><td>type</td><td>MATCHVALUE</td></tr>
  1547. <tr><td>hive</td><td>HKEY_CURRENT_USER</td></tr>
  1548. <tr><td>key</td><td>Software\Microsoft\OneDrive\Accounts\Business4</td></tr>
  1549. <tr><td>valueName</td><td>INSERT-YOUR-TENANT-ID-HERE</td></tr>
  1550. <tr><td>valueType</td><td></td></tr>
  1551. <tr><td>valueData</td><td></td></tr>
  1552. <tr><td>min</td><td>0.0.0.0</td></tr>
  1553. <tr><td>max</td><td>0.0.0.0</td></tr>
  1554. <tr><td>gte</td><td>1</td></tr>
  1555. <tr><td>lte</td><td>0</td></tr>
  1556. </table></td></tr>
  1557. </table><b>Description</b><table class="subtable" >
  1558. <tr><td>Apply only if OneDrive is NOT configured</td></tr></table>
  1559. </div></div></div><div class="he3"><span class="sectionTitle" tabindex="0">OneDriveFresh (Order: 4)</span><a class="expando" href="#"></a></div>
  1560. <div class="container"><div class="he4h"><span class="sectionTitle" tabindex="0">General</span><a class="expando" href="#"></a></div>
  1561. <div class="container"><div class="he4i"><table class="info" >
  1562. <tr><td>Action</td><td>Update</td></tr>
  1563. </table>
  1564. <b>Properties</b><table class="subtable" ><tr><td>Hive</td><td>HKEY_CURRENT_USER</td></tr>
  1565. <tr><td>Key path</td><td>Software\Microsoft\Windows\CurrentVersion\RunOnce</td></tr>
  1566. <tr><td>Value name</td><td>OneDriveFresh</td></tr>
  1567. <tr><td>Value type</td><td>REG_EXPAND_SZ</td></tr>
  1568. <tr><td>Value data</td><td>%LocalAppData%\Microsoft\OneDrive\OneDrive.exe</td></tr>
  1569. </table></div></div><div class="he4h"><span class="sectionTitle" tabindex="0">Common</span><a class="expando" href="#"></a></div>
  1570. <div class="container"><div class="he4i"><b>Options</b><table class="subtable" ><tr><td>Stop processing items on this extension if an error occurs on this item</td><td>No</td></tr>
  1571. <tr><td>Run in logged-on user's security context (user policy option)</td><td>No</td></tr>
  1572. <tr><td>Remove this item when it is no longer applied</td><td>No</td></tr>
  1573. <tr><td>Apply once and do not reapply</td><td>No</td></tr>
  1574. </table><b>Item-level targeting: Filter Group</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1575. <tr><td>bool</td><td>AND</td></tr>
  1576. <tr><td>not</td><td>1</td></tr>
  1577. <tr><td colspan="2"><b>Item-level targeting: Registry Match</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1578. <tr><td>bool</td><td>AND</td></tr>
  1579. <tr><td>not</td><td>0</td></tr>
  1580. <tr><td>type</td><td>MATCHVALUE</td></tr>
  1581. <tr><td>hive</td><td>HKEY_CURRENT_USER</td></tr>
  1582. <tr><td>key</td><td>Software\Microsoft\OneDrive\Accounts\Business1</td></tr>
  1583. <tr><td>valueName</td><td>ConfiguredTenantId</td></tr>
  1584. <tr><td>valueType</td><td></td></tr>
  1585. <tr><td>valueData</td><td>INSERT-YOUR-TENANT-ID-HERE</td></tr>
  1586. <tr><td>min</td><td>0.0.0.0</td></tr>
  1587. <tr><td>max</td><td>0.0.0.0</td></tr>
  1588. <tr><td>gte</td><td>1</td></tr>
  1589. <tr><td>lte</td><td>0</td></tr>
  1590. </table></td></tr>
  1591. <tr><td colspan="2"><b>Item-level targeting: Registry Match</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1592. <tr><td>bool</td><td>OR</td></tr>
  1593. <tr><td>not</td><td>0</td></tr>
  1594. <tr><td>type</td><td>MATCHVALUE</td></tr>
  1595. <tr><td>hive</td><td>HKEY_CURRENT_USER</td></tr>
  1596. <tr><td>key</td><td>Software\Microsoft\OneDrive\Accounts\Business2</td></tr>
  1597. <tr><td>valueName</td><td>INSERT-YOUR-TENANT-ID-HERE</td></tr>
  1598. <tr><td>valueType</td><td></td></tr>
  1599. <tr><td>valueData</td><td></td></tr>
  1600. <tr><td>min</td><td>0.0.0.0</td></tr>
  1601. <tr><td>max</td><td>0.0.0.0</td></tr>
  1602. <tr><td>gte</td><td>1</td></tr>
  1603. <tr><td>lte</td><td>0</td></tr>
  1604. </table></td></tr>
  1605. <tr><td colspan="2"><b>Item-level targeting: Registry Match</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1606. <tr><td>bool</td><td>OR</td></tr>
  1607. <tr><td>not</td><td>0</td></tr>
  1608. <tr><td>type</td><td>MATCHVALUE</td></tr>
  1609. <tr><td>hive</td><td>HKEY_CURRENT_USER</td></tr>
  1610. <tr><td>key</td><td>Software\Microsoft\OneDrive\Accounts\Business3</td></tr>
  1611. <tr><td>valueName</td><td>INSERT-YOUR-TENANT-ID-HERE</td></tr>
  1612. <tr><td>valueType</td><td></td></tr>
  1613. <tr><td>valueData</td><td></td></tr>
  1614. <tr><td>min</td><td>0.0.0.0</td></tr>
  1615. <tr><td>max</td><td>0.0.0.0</td></tr>
  1616. <tr><td>gte</td><td>1</td></tr>
  1617. <tr><td>lte</td><td>0</td></tr>
  1618. </table></td></tr>
  1619. <tr><td colspan="2"><b>Item-level targeting: Registry Match</b><table class="subtable" ><tr><th scope="col">Attribute</th><th scope="col">Value</th></tr>
  1620. <tr><td>bool</td><td>OR</td></tr>
  1621. <tr><td>not</td><td>0</td></tr>
  1622. <tr><td>type</td><td>MATCHVALUE</td></tr>
  1623. <tr><td>hive</td><td>HKEY_CURRENT_USER</td></tr>
  1624. <tr><td>key</td><td>Software\Microsoft\OneDrive\Accounts\Business4</td></tr>
  1625. <tr><td>valueName</td><td>INSERT-YOUR-TENANT-ID-HERE</td></tr>
  1626. <tr><td>valueType</td><td></td></tr>
  1627. <tr><td>valueData</td><td></td></tr>
  1628. <tr><td>min</td><td>0.0.0.0</td></tr>
  1629. <tr><td>max</td><td>0.0.0.0</td></tr>
  1630. <tr><td>gte</td><td>1</td></tr>
  1631. <tr><td>lte</td><td>0</td></tr>
  1632. </table></td></tr>
  1633. </table><b>Description</b><table class="subtable" >
  1634. <tr><td>Apply only if OneDrive is NOT configured.
  1635.  
  1636. This is necessary because OneDrive will not auto-configure with ADAL unless it&#39;s running in the foreground and OneDrive&#39;s default startup has the /background parameter set. </td></tr></table>
  1637. </div></div></div></div></div></div></div>
  1638. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement