{"id":40,"date":"2008-09-08T22:44:45","date_gmt":"2008-09-08T13:44:45","guid":{"rendered":"http:\/\/www.jhouseconsulting.com\/index.php\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way\/"},"modified":"2008-10-21T01:00:02","modified_gmt":"2008-10-20T16:00:02","slug":"place-a-xenapp-server-in-and-out-of-service-the-easy-way","status":"publish","type":"post","link":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40","title":{"rendered":"Place a XenApp Server in and out of service the easy way"},"content":{"rendered":"<p>The new theory for placing a server off-line is to apply an &#8220;Out of service&#8221; load evaluator instead of disabling logons. The &#8220;Out of service&#8221; load evaluator consists of an empty Scheduling rule. The issue with this theory is that if you automate the move of a server into an &#8220;Out of service&#8221; load evaluator for maintenance, reboots, etc, then how do you know which load evaluator to move it back into when it&#8217;s ready to be placed back into production? I guess most would hard code this, or reference it from an ini file, etc, but that requires too much maintenance, as it can be difficult to manage in the larger farms that make use of different load evaluators across different hardware and load managed groups. So I enhanced the original version of this script to address this exact problem. It will read the existing load evaluator and write it against a registry value called PreviousLoadEvaluator under the HKLM\\SOFTWARE\\Citrix key. Then you can easily re-run this script with certain parameters to set the load evaluator back to what it was previously using. A simple concept that works very well.<!--more--><\/p>\n<p>For Example:<\/p>\n<p>To move a server into the &#8220;Out of service&#8221; load evaluator, run&#8230;<br \/>\ncscript.exe AttachLE.vbs &#8220;Out of service&#8221;<\/p>\n<p>To move a server back into its previous load evaluator, run&#8230;<br \/>\ncscript.exe AttachLE.vbs SetPrevious<\/p>\n<p>Enjoy!<\/p>\n<pre name=\"code\" class=\"vb.net\">\r\n'\r\n' Script name:\u00a0AttachLE.vbs\r\n'\r\n' Purpose:\u00a0Attaches a load evaluator to a Citrix server.\r\n'\r\n' Syntax:\u00a0AttachLE lename\r\n'\r\n'\u00a0\u00a0\u00a0 lename\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 The load evaluator's name (case sensitive)\r\n'\r\n'---------------------------------------------------------------------------------------\r\n'\r\n' Based on a script written by Frank-Peter Schultze (http:\/\/www.fpschultze.de)\r\n'\r\n' Version 1.0 - Written by Jeremy@jhouseconsulting on 9th July 2008.\r\n' Version 1.1 - Updated by Jeremy@jhouseconsulting on 1st September 2008.\r\n'\r\n' For Example:\r\n'\r\n' To move a server into the \"Out of service\" load evaluator, run...\r\n'\u00a0\u00a0 cscript.exe AttachLE.vbs \"Out of service\"\r\n'\r\n' To move a server back into its previous load evaluator, run...\r\n'\u00a0\u00a0 cscript.exe AttachLE.vbs SetPrevious\r\n\r\n' More Examples:\r\n'\r\n' To move a server into the Default load evaluator run the following command...\r\n' cscript.exe AttachLE.vbs Default\r\n'\r\n' To move a server into the Advanced load evaluator run the following command...\r\n' cscript.exe AttachLE.vbs Advanced\r\n'\r\n'---------------------------------------------------------------------------------------\r\n\r\nOption Explicit\r\n\r\n' Note that the built-in Default load evaluator is MFDefaultLE, and the Advanced load evaluator is LMSDefaultLE.\r\nConst CTX_LE_DEFAULT\u00a0 = \"MFDefaultLE\"\r\nConst CTX_LE_ADVANCED = \"LMSDefaultLE\"\r\n\r\nDim strCitrixServer : strCitrixServer = \"\"\r\nDim strLEName\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 : strLEName\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 = \"\"\r\nDim WshNetwork\r\n\r\nCall GetArgs(strLEName)\r\n\r\nSet WshNetwork = WScript.CreateObject(\"WScript.Network\")\r\nstrCitrixServer = UCase(WshNetwork.ComputerName)\r\n\r\nIF strLEName = \"setprevious\" Then\r\n\u00a0 Call SetPreviousLE(strCitrixServer)\r\nElse\r\n\u00a0 Call GetCurrentLE(strCitrixServer)\r\n\u00a0 Call AttachLEToServer(strCitrixServer, strLEName)\r\nEnd If\r\n\r\nSet WshNetwork = Nothing\r\nwscript.quit(0)\r\n\r\nSub SetPreviousLE(strCitrixServer)\r\n\r\n\u00a0 Dim WshShell, strLEName, strKey, strValue\r\n\r\n\u00a0 Set WshShell = CreateObject(\"WScript.Shell\")\r\n\r\n\u00a0 strKey = \"HKLM\\SOFTWARE\\Citrix\"\r\n\u00a0 strValue = \"PreviousLoadEvaluator\"\r\n\r\n\u00a0 If RegValueExists(strKey &amp; \"\\\" &amp; strValue) Then\r\n\u00a0\u00a0\u00a0 strLEName = WshShell.RegRead(strKey &amp; \"\\\" &amp; strValue)\r\n\u00a0\u00a0\u00a0 wscript.echo \"The previous load evaluator was \" &amp; chr(34) &amp; strLEName &amp; chr(34)\r\n\u00a0 Else\r\n\u00a0\u00a0\u00a0 wscript.echo \"The previous load evaluator was not set. This script will exit.\"\r\n\u00a0\u00a0\u00a0 Set WshShell = Nothing\r\n\u00a0\u00a0\u00a0 Exit Sub\r\n\u00a0 End If\r\n\r\n\u00a0 Select Case LCase(strLEName)\r\n\u00a0\u00a0\u00a0 Case \"default\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 strLEName = CTX_LE_DEFAULT\r\n\u00a0\u00a0\u00a0 Case \"advanced\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 strLEName = CTX_LE_ADVANCED\r\n\u00a0\u00a0\u00a0 Case Else\r\n\u00a0 End Select\r\n\r\n\u00a0 Call AttachLEToServer(strCitrixServer, strLEName)\r\n\u00a0 WshShell.RegDelete(strKey &amp; \"\\\" &amp; strValue)\r\n\r\n\u00a0 Set WshShell = Nothing\r\nEnd Sub\r\n\r\nSub AttachLEToServer(strCitrixServer, strLEName)\r\n\r\n\u00a0 Dim objFarm\r\n\r\n\u00a0 On Error Resume Next\r\n\u00a0 Set objFarm = WScript.CreateObject(\"MetaFrameCOM.MetaFrameLoadEvaluator\")\r\n\u00a0 On Error GoTo 0\r\n\u00a0 If IsObject(objFarm) Then\r\n\u00a0\u00a0\u00a0 objFarm.LEName = strLEName\r\n\u00a0\u00a0\u00a0 objFarm.LoadData(True)\r\n\u00a0\u00a0\u00a0 objFarm.AttachToServerByName False, strCitrixServer\r\n\u00a0\u00a0\u00a0 objFarm.SaveData()\r\n\u00a0\u00a0\u00a0 Set objFarm = Nothing\r\n\u00a0\u00a0\u00a0 Select Case strLEName\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 Case \"MFDefaultLE\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 strLEName = \"Default\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 Case \"LMSDefaultLE\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 strLEName = \"Advanced\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 Case Else\r\n\u00a0\u00a0\u00a0 End Select\r\n\u00a0\u00a0\u00a0 wscript.echo \"The load evaluator for \" &amp; strCitrixServer &amp; \" has now been set to \" &amp; chr(34) &amp; strLEName &amp; chr(34)\r\n\u00a0 Else\r\n\u00a0\u00a0\u00a0 WScript.Echo \"Can not create MFCOM object.\"\r\n\u00a0 End If\r\n\u00a0 Set objFarm = Nothing\r\nEnd Sub\r\n\r\nSub GetCurrentLE(strCitrixServer)\r\n\r\n\u00a0 Dim WshShell, ServerObj, sCurrentLE, strCurrentValue, strKey, strValue\r\n\r\n\u00a0 Const MetaFrameWinSrvObject = 6\r\n\r\n\u00a0 Set WshShell = CreateObject(\"WScript.Shell\")\r\n\u00a0 Set ServerObj = CreateObject(\"MetaframeCom.MetaFrameServer\")\r\n\r\n\u00a0 ServerObj.Initialize MetaFrameWinSrvObject, strCitrixServer\r\n\r\n\u00a0 Set sCurrentLE=ServerObj.AttachedLE\r\n\u00a0 sCurrentLE.Loaddata(True)\r\n\r\n\u00a0 strCurrentValue=sCurrentLE.LEName\r\n\r\n\u00a0 Select Case strCurrentValue\r\n\u00a0\u00a0\u00a0 Case \"MFDefaultLE\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 strCurrentValue = \"Default\"\r\n\u00a0\u00a0\u00a0 Case \"LMSDefaultLE\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 strCurrentValue = \"Advanced\"\r\n\u00a0\u00a0\u00a0 Case Else\r\n\u00a0 End Select\r\n\r\n\u00a0 strKey = \"HKLM\\SOFTWARE\\Citrix\"\r\n\u00a0 strValue = \"PreviousLoadEvaluator\"\r\n\r\n\u00a0 WshShell.RegWrite strKey &amp; \"\\\" &amp; strValue, StrCurrentValue\r\n\r\n\u00a0 wscript.echo strCitrixServer &amp; \" is currently using the \" &amp; chr(34) &amp; StrCurrentValue &amp; chr(34) &amp; \" load evaluator\"\r\n\r\n\u00a0 Set WshShell = Nothing\r\n\u00a0 Set ServerObj = Nothing\r\nEnd Sub\r\n\r\nSub GetArgs(ByRef strLEName)\r\n\u00a0 Dim objArgs, strTmp\r\n\u00a0 Set objArgs = WScript.Arguments\r\n\u00a0 If (objArgs.Count = 1) Then\r\n\u00a0\u00a0\u00a0 strTmp = objArgs.Item(0)\r\n\u00a0\u00a0\u00a0 Select Case LCase(strTmp)\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 Case \"default\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 strLEName = CTX_LE_DEFAULT\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 Case \"advanced\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 strLEName = CTX_LE_ADVANCED\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 Case \"setprevious\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 strLEName = \"setprevious\"\r\n\u00a0\u00a0\u00a0\u00a0\u00a0 Case Else\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 strLEName = strTmp\r\n\u00a0\u00a0\u00a0 End Select\r\n\u00a0 Else\r\n\u00a0\u00a0\u00a0 Call Usage(True)\r\n\u00a0\u00a0\u00a0 Exit Sub\r\n\u00a0 End If\r\nEnd Sub\r\n\r\nSub Usage(blnQuit)\r\n\u00a0 WScript.Echo \"Attaches a load evaluator to a Citrix server.\" &amp; VbCrlf &amp; VbCrlf &amp; _\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"Usage: \" &amp; WScript.ScriptName &amp; \" ''&lt;lename&gt;''\" &amp; VbCrlf &amp; VbCrlf &amp; _\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"Where lename is the load evaluator's name. It IS case sensitive\" &amp; VbCrlf &amp; _\r\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 \"and MUST be surrounded with double quotes if it contains spaces.\" &amp; VbCrlf\r\n\u00a0 If blnQuit Then WScript.Quit(0)\r\nEnd Sub\r\n\r\nFunction RegValueExists(sRegValue)\r\n' Returns True or False based of the existence of a registry value.\r\n\u00a0 Dim oShell, RegReadReturn\r\n\u00a0 Set oShell = CreateObject(\"WScript.Shell\")\r\n\u00a0 RegValueExists = True\u00a0 ' init value\r\n\u00a0 On Error Resume Next\r\n\u00a0 RegReadReturn = oShell.RegRead(sRegValue)\r\n\u00a0 If Err.Number &lt;&gt; 0 Then\r\n\u00a0\u00a0\u00a0 RegValueExists = False\r\n\u00a0 End if\r\n\u00a0 On Error Goto 0\r\n\u00a0 Set oShell = Nothing\r\nEnd Function\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>The new theory for placing a server off-line is to apply an &#8220;Out of service&#8221; load evaluator instead of disabling logons. The &#8220;Out of service&#8221; load evaluator consists of an empty Scheduling rule. The issue with this theory is that if you automate the move of a server into an &#8220;Out of service&#8221; load evaluator &#8230; <a title=\"Place a XenApp Server in and out of service the easy way\" class=\"read-more\" href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40\" aria-label=\"Read more about Place a XenApp Server in and out of service the easy way\">Read more<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[73,5,38],"tags":[71,420,72],"class_list":["post-40","post","type-post","status-publish","format-standard","hentry","category-mfcom","category-scripting","category-xenapp","tag-load-eveluator","tag-mfcom","tag-out-of-service"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"The new theory for placing a server off-line is to apply an &quot;Out of service&quot; load evaluator instead of disabling logons. The &quot;Out of service&quot; load evaluator consists of an empty Scheduling rule. The issue with this theory is that if you automate the move of a server into an &quot;Out of service&quot; load evaluator\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Jeremy Saunders\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"J House Consulting - DevOps, Microsoft, Citrix &amp; Desktop Virtualisation (VDI) Specialist - +61 413 441 846 - Delivering customer success through technology: IT Infrastructure | Citrix | End User Computing | Platform Engineering | DevOps | Full Stack Developer | Technical Architect | Improvisor | Aspiring Comedian | Midlife Adventurer\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Place a XenApp Server in and out of service the easy way - J House Consulting - DevOps, Microsoft, Citrix &amp; Desktop Virtualisation (VDI) Specialist - +61 413 441 846\" \/>\n\t\t<meta property=\"og:description\" content=\"The new theory for placing a server off-line is to apply an &quot;Out of service&quot; load evaluator instead of disabling logons. The &quot;Out of service&quot; load evaluator consists of an empty Scheduling rule. The issue with this theory is that if you automate the move of a server into an &quot;Out of service&quot; load evaluator\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2008-09-08T13:44:45+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2008-10-20T16:00:02+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Place a XenApp Server in and out of service the easy way - J House Consulting - DevOps, Microsoft, Citrix &amp; Desktop Virtualisation (VDI) Specialist - +61 413 441 846\" \/>\n\t\t<meta name=\"twitter:description\" content=\"The new theory for placing a server off-line is to apply an &quot;Out of service&quot; load evaluator instead of disabling logons. The &quot;Out of service&quot; load evaluator consists of an empty Scheduling rule. The issue with this theory is that if you automate the move of a server into an &quot;Out of service&quot; load evaluator\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2008\\\/09\\\/08\\\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#blogposting\",\"name\":\"Place a XenApp Server in and out of service the easy way - J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846\",\"headline\":\"Place a XenApp Server in and out of service the easy way\",\"author\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/author\\\/jeremy#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/Blog-Banner-White-JeremySaunders-1.png\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/#articleImage\",\"width\":1020,\"height\":200},\"datePublished\":\"2008-09-08T22:44:45+08:00\",\"dateModified\":\"2008-10-21T01:00:02+08:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2008\\\/09\\\/08\\\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2008\\\/09\\\/08\\\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#webpage\"},\"articleSection\":\"mfcom, Scripting, XenApp, load eveluator, mfcom, out of service\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2008\\\/09\\\/08\\\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/category\\\/scripting#listItem\",\"name\":\"Scripting\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/category\\\/scripting#listItem\",\"position\":2,\"name\":\"Scripting\",\"item\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/category\\\/scripting\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2008\\\/09\\\/08\\\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#listItem\",\"name\":\"Place a XenApp Server in and out of service the easy way\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2008\\\/09\\\/08\\\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#listItem\",\"position\":3,\"name\":\"Place a XenApp Server in and out of service the easy way\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/category\\\/scripting#listItem\",\"name\":\"Scripting\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/#organization\",\"name\":\"J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846\",\"description\":\"Delivering customer success through technology: IT Infrastructure | Citrix | End User Computing | Platform Engineering | DevOps | Full Stack Developer | Technical Architect | Improvisor | Aspiring Comedian | Midlife Adventurer\",\"url\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/wp-content\\\/uploads\\\/2025\\\/06\\\/Blog-Banner-White-JeremySaunders-1.png\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2008\\\/09\\\/08\\\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40\\\/#organizationLogo\",\"width\":1020,\"height\":200},\"image\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2008\\\/09\\\/08\\\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40\\\/#organizationLogo\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/author\\\/jeremy#author\",\"url\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/author\\\/jeremy\",\"name\":\"Jeremy Saunders\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2008\\\/09\\\/08\\\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/f2d27bd3d985e6ef2024dded7c713b14440d467a6a0100aede3cfefcb4ab20f1?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Jeremy Saunders\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2008\\\/09\\\/08\\\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#webpage\",\"url\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2008\\\/09\\\/08\\\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40\",\"name\":\"Place a XenApp Server in and out of service the easy way - J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846\",\"description\":\"The new theory for placing a server off-line is to apply an \\\"Out of service\\\" load evaluator instead of disabling logons. The \\\"Out of service\\\" load evaluator consists of an empty Scheduling rule. The issue with this theory is that if you automate the move of a server into an \\\"Out of service\\\" load evaluator\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/2008\\\/09\\\/08\\\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/author\\\/jeremy#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/author\\\/jeremy#author\"},\"datePublished\":\"2008-09-08T22:44:45+08:00\",\"dateModified\":\"2008-10-21T01:00:02+08:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/#website\",\"url\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/\",\"name\":\"J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846\",\"description\":\"Delivering customer success through technology: IT Infrastructure | Citrix | End User Computing | Platform Engineering | DevOps | Full Stack Developer | Technical Architect | Improvisor | Aspiring Comedian | Midlife Adventurer\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.jhouseconsulting.com\\\/jhouseconsulting\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Place a XenApp Server in and out of service the easy way - J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846","description":"The new theory for placing a server off-line is to apply an \"Out of service\" load evaluator instead of disabling logons. The \"Out of service\" load evaluator consists of an empty Scheduling rule. The issue with this theory is that if you automate the move of a server into an \"Out of service\" load evaluator","canonical_url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#blogposting","name":"Place a XenApp Server in and out of service the easy way - J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846","headline":"Place a XenApp Server in and out of service the easy way","author":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/author\/jeremy#author"},"publisher":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/#articleImage","width":1020,"height":200},"datePublished":"2008-09-08T22:44:45+08:00","dateModified":"2008-10-21T01:00:02+08:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#webpage"},"isPartOf":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#webpage"},"articleSection":"mfcom, Scripting, XenApp, load eveluator, mfcom, out of service"},{"@type":"BreadcrumbList","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting#listItem","position":1,"name":"Home","item":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting","nextItem":{"@type":"ListItem","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/category\/scripting#listItem","name":"Scripting"}},{"@type":"ListItem","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/category\/scripting#listItem","position":2,"name":"Scripting","item":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/category\/scripting","nextItem":{"@type":"ListItem","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#listItem","name":"Place a XenApp Server in and out of service the easy way"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#listItem","position":3,"name":"Place a XenApp Server in and out of service the easy way","previousItem":{"@type":"ListItem","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/category\/scripting#listItem","name":"Scripting"}}]},{"@type":"Organization","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/#organization","name":"J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846","description":"Delivering customer success through technology: IT Infrastructure | Citrix | End User Computing | Platform Engineering | DevOps | Full Stack Developer | Technical Architect | Improvisor | Aspiring Comedian | Midlife Adventurer","url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/","logo":{"@type":"ImageObject","url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40\/#organizationLogo","width":1020,"height":200},"image":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40\/#organizationLogo"}},{"@type":"Person","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/author\/jeremy#author","url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/author\/jeremy","name":"Jeremy Saunders","image":{"@type":"ImageObject","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/f2d27bd3d985e6ef2024dded7c713b14440d467a6a0100aede3cfefcb4ab20f1?s=96&d=mm&r=g","width":96,"height":96,"caption":"Jeremy Saunders"}},{"@type":"WebPage","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#webpage","url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40","name":"Place a XenApp Server in and out of service the easy way - J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846","description":"The new theory for placing a server off-line is to apply an \"Out of service\" load evaluator instead of disabling logons. The \"Out of service\" load evaluator consists of an empty Scheduling rule. The issue with this theory is that if you automate the move of a server into an \"Out of service\" load evaluator","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/#website"},"breadcrumb":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40#breadcrumblist"},"author":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/author\/jeremy#author"},"creator":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/author\/jeremy#author"},"datePublished":"2008-09-08T22:44:45+08:00","dateModified":"2008-10-21T01:00:02+08:00"},{"@type":"WebSite","@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/#website","url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/","name":"J House Consulting - DevOps, Microsoft, Citrix & Desktop Virtualisation (VDI) Specialist - +61 413 441 846","description":"Delivering customer success through technology: IT Infrastructure | Citrix | End User Computing | Platform Engineering | DevOps | Full Stack Developer | Technical Architect | Improvisor | Aspiring Comedian | Midlife Adventurer","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/#organization"}}]},"og:locale":"en_US","og:site_name":"J House Consulting - DevOps, Microsoft, Citrix &amp; Desktop Virtualisation (VDI) Specialist - +61 413 441 846 - Delivering customer success through technology: IT Infrastructure | Citrix | End User Computing | Platform Engineering | DevOps | Full Stack Developer | Technical Architect | Improvisor | Aspiring Comedian | Midlife Adventurer","og:type":"article","og:title":"Place a XenApp Server in and out of service the easy way - J House Consulting - DevOps, Microsoft, Citrix &amp; Desktop Virtualisation (VDI) Specialist - +61 413 441 846","og:description":"The new theory for placing a server off-line is to apply an &quot;Out of service&quot; load evaluator instead of disabling logons. The &quot;Out of service&quot; load evaluator consists of an empty Scheduling rule. The issue with this theory is that if you automate the move of a server into an &quot;Out of service&quot; load evaluator","og:url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40","og:image":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png","og:image:secure_url":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png","article:published_time":"2008-09-08T13:44:45+00:00","article:modified_time":"2008-10-20T16:00:02+00:00","twitter:card":"summary_large_image","twitter:title":"Place a XenApp Server in and out of service the easy way - J House Consulting - DevOps, Microsoft, Citrix &amp; Desktop Virtualisation (VDI) Specialist - +61 413 441 846","twitter:description":"The new theory for placing a server off-line is to apply an &quot;Out of service&quot; load evaluator instead of disabling logons. The &quot;Out of service&quot; load evaluator consists of an empty Scheduling rule. The issue with this theory is that if you automate the move of a server into an &quot;Out of service&quot; load evaluator","twitter:image":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-content\/uploads\/2025\/06\/Blog-Banner-White-JeremySaunders-1.png"},"aioseo_meta_data":{"post_id":"40","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2025-07-04 13:33:53","updated":"2025-07-04 13:33:53","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/category\/scripting\" title=\"Scripting\">Scripting<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tPlace a XenApp Server in and out of service the easy way\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting"},{"label":"Scripting","link":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/category\/scripting"},{"label":"Place a XenApp Server in and out of service the easy way","link":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/2008\/09\/08\/place-a-xenapp-server-in-and-out-of-service-the-easy-way-40"}],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts\/40","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/comments?post=40"}],"version-history":[{"count":1,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts\/40\/revisions"}],"predecessor-version":[{"id":53,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/posts\/40\/revisions\/53"}],"wp:attachment":[{"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/media?parent=40"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/categories?post=40"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.jhouseconsulting.com\/jhouseconsulting\/wp-json\/wp\/v2\/tags?post=40"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}