How to Disable User-Driven Desktop Restart in Web Interface for XenDesktop 5.x
Summary
This article describes how to disable the user-driven desktop restart option found in Web Interface for XenDesktop 5.x
Requirements
A working XenDesktop 5.x Site
Access to DDC and
Microsoft PowerShell
Background
By default, the users have the ability to restart their virtual desktops directly from Web Interface. The following PowerShell commands removes that link taking away the end-user’s ability to restart virtual machines.
Procedure
- Start a PowerShell session 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 “DesktopGroupName_Direct” –AllowRestart $false (Replace “DesktopGroupName” with the name of the desktop group that you wish to disable this feature for), press Enter.
- Type Set-BrokerAccessPolicyRule “DesktopGroupName_AG” –AllowRestart $false (Replace “DesktopGroupName” with the name of the desktop group that you wish to disable this feature for), press Enter.

- Check results of commands by typing: Get-BrokerAccessPolicyRule and press Enter.
- Results should show as follows:

- The following is the result in Web Interface:

More Information
CTX127254 – XenDesktop 5 SDK Cmdlet Help

Thomas Poppelgaard
| #
Hi Youngtech
Citrix have created this knowledge article http://support.citrix.com/article/CTX131993
So i would say yes there is support from Citrix now, i still have people telling me that if you turn on “Interrupt safe mode” then the issue is still there and vSphere 5 doesn’t work with Citrix Provisioning Server 6
Dane Young
| #
Thomas,
Did Citrix actually make a statement that this is supported now? Send me a DM on Twitter @youngtech if you don’t mind. I’m very curious if Citrix is now supporting PVS w/vSphere 5.
Thanks!
–youngtech
Thomas Poppelgaard
| #
fixed =O) thanx for seeing the typo.
Ro
| #
Sorry, not to nag, but it’s called Apple iOS, or just iOS. Not Mac iOS. OS X is often called Mac OS X.
Thanks for a great blog. It’s a great resource to keep up with the virtualization world.
Thomas Poppelgaard
| #
Thanx Aaron