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.
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.
Type Asnp Citrix.* and press Enter. This loads the Citrix-specific PowerShell modules.
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
Note: DesktopGroupName is verified by "Get-BrokerAccessPolicyRule" (or you can see the DesktopGroupName in Citrix Studio)
Results should show as follows:
The following is the result in Web Interface:
7. The following is the result in Storefront: