• Home
  • Podcast
  • Contact
Ervik.as
Cloud, Cyber Security, EUC, DaaS and HCI
  • Cloud
    • Azure
    • Citrix Cloud
    • Cloud Management
    • Nutanix Clusters
  • Cyber Security
    • Arctic Wolf
    • Cyber Security News
  • EUC
    • Citrix
      • Citrix Analytics
      • Citrix NetScaler
      • Citrix Provisioning
      • Receiver
      • ShareFile
      • Citrix Virtual Apps (XenApp)
      • Citrix Virtual Desktops (XenDesktop)
      • Workspace
      • Workspace app
    • DaaS
      • Azure Virtual Desktop
      • Frame
    • Microsoft
      • HoloLens
      • Microsoft App-V
      • Remote Desktop Services
      • Windows 7
      • Windows 8
      • Windows 10
      • Windows Server 2008
      • Windows Server 2008 R2
      • Windows Server 2012
      • Windows Server 2012 R2
      • Windows Server 2016
    • Thin Clients
      • Igel
      • Wyse
    • VMware
      • Fusion
      • Horizon View
      • Vmware ThinApp
      • Vmware Workstation
    • Parallels
      • Remote Application Server
  • End User Experience
    • ControlUp
    • eG Innovations
    • Goliath Technologies
    • Liquidware
  • Datacenter
    • Backup & Disaster Recovery
      • Altaro
      • HYCU
      • Unitrends
      • Rubrik
      • Veeam Software
    • Containers
      • Docker
      • Red Hat OpenShift
    • Hybrid Multi Cloud
      • Nutanix
        • Nutanix Database Service
        • Files
        • Flow
        • Nutanix AHV
        • Nutanix Cloud Platform
    • Server Virtualization
      • Nutanix AHV
      • Microsoft Hyper-V
      • VMware vSphere
      • Citrix Hypervisor (XenServer)
    • Network & Security
      • Nutanix Flow
      • Palo Alto Networks
  • About
    • Cookie Policy (EU)
    • News
      • Citrix Community News

Blog

Citrix Web Interface 5.x and IIS 7.0 Slow logon for first time usage

Alexander Ervik Johnsen Citrix, IIS 7.0, recycle, Web Interface, XenApp, XenDesktop 2012-11-29

I’ve seen this time and again, during the different version of Web Interface. It was there in IIS 6.x and still is in IIS 7.0. The problem is slow performance for the first user logging on to Web Interface.
This is because the citrix application pool in IIS is, by default, set to recycle nightly at 02:00. After the recycle the web-interface is rebuilt causing a delay to the first user to attempt to log in.
 
This delay can result in users logging tickets / support cases for a slow login process. For this reason, I would recommend you to disable this value, to get rid of any extra support cases.

Pleae note that in some cases you will not be able to run the script. If so open up powershell and run the following command “set-executionpolicy unrestricted”

Powershell script:
 
if (!(get-module | where {$_.name -eq “webadministration”})){
 
if (!(get-module -listavailable | where {$_.name -eq “webadministration”})){
write-error “WebAdministration snapin not available, failing”
break}
 
#this is needed as the module is seen as a script in some cases
 set-executionpolicy unrestricted -force
 
#add the module
 write-host “adding IIS Powershell Module”
import-module webadministration
 }#end if
 
$CitrixPool = get-childitem “IIS:\AppPools” | where {$_.name -eq “CitrixWebInterface5.4.0AppPool”}
 
$schedulePath = $CitrixPool.ItemXPath + “/recycling/periodicRestart”
 
$count = $CitrixPool.recycling.periodicRestart.schedule.Collection.Count
 
#remove scheduled time(s)
 Do {
 Remove-WebconfigurationProperty $schedulePath -Name schedule.collection -AtIndex ($count – 1) -Force
 $count–
 }
 
Until ($count -eq “0″)
 
Please note, this will set your powershell execution policy to unrestricted, this is a side affect of the WebAdministration calling a script.
To revert at the end of the script, run the following command after utilizing this script “set-executionpolicy restricted”

Related Posts

Blog /

DBaaS with Nutanix Era

Blog /

UK’s Science Museum Group Turns to Nutanix to Meet hybrid cloud goals

Blog /

New Global IT Research Report Shows 91% State Hybrid Cloud is Ideal IT Model

Blog /

Citrix Analytics Service Proactively Addresses Security Threats

Blog /

Citrix Desktop Master Class – Approaches to XenApp and XenDesktop business continuity – March 2018

‹ Citrix NetScaler and Citrix CloudBridge Now Available on Amazon Web Services and the AWS Marketplace› AppSense Names Simon Townsend VP of Product Management and Enterprise Technology

Back to Top

Crafted in the land of the Vikings 🇳🇴 by Alexander Ervik Johnsen.
Copyright 2000-2025 - www.ervik.as - All Rights Reserved