How to Disable User-Driven Desktop Restart in Web Interface or StoreFront for XenDesktop

How to Disable User-Driven Desktop Restart in Web Interface or StoreFront for XenDesktop

book

Article ID: CTX131921

calendar_today

Updated On:

Description

By default, the users have the ability to restart their virtual desktops directly from Web Interface or StoreFront. The following PowerShell commands removes that link taking away the end-user’s ability to restart virtual machines.

 

 


Instructions

  1. Start a PowerShell session on the Delivery Controller by clicking the blue icon on the taskbar or browsing to Start > All Programs > Accessories > Windows PowerShell > Windows PowerShell.

  2. Type Asnp Citrix.* and press Enter. This loads the Citrix-specific PowerShell modules.

  3. Type Set-BrokerAccessPolicyRule “Name of the policy rule” –AllowRestart $false, press Enter.

    Note: Name is verified by "Get-BrokerAccessPolicyRule"
    Or, use the command below.
    Get-BrokerAccessPolicyRule -filter { DesktopGroupName -eq "DesktopGroupName" } | Set-BrokerAccessPolicyRule -AllowRestart $false

  4. Note: DesktopGroupName is verified by "Get-BrokerAccessPolicyRule" (or you can see the DesktopGroupName in Citrix Studio)

  5. Results should show as follows:
    User-added image

  6. The following is the result in Web Interface:
    User-added image
    7. The following is the result in Storefront:
    User-added image

Issue/Introduction

How to Disable User-Driven Desktop Restart in Web Interface or StoreFront for XenDesktop

Additional Information

Refer to Citrix eDocs for an index of the XenDesktop 7.6 SDK Cmdlet Help.