VMware Horizon Community
obrienr
Enthusiast
Enthusiast
Jump to solution

Horizon Blast - Disable Users Access to Ctrl-Alt-Del

Hi,

With the Horizon Blast(HTML5) client, the user has the option of selecting Ctrl-Alt-Del from the 'menu' bar.

Is it possible to disable/remove this option somewhere in a .properties file on the Horizon View server ?

My use case applies specifically to hosted apps, and I appreciate this is achievable with Group Policy, but I wanted to check if I could disable at the client end.

Thanks for your help,

Richard.

1 Solution

Accepted Solutions
obrienr
Enthusiast
Enthusiast
Jump to solution

Grossag,

Thanks, very useful, appreciate the feedback.

I have not had a chance to test yet, but I will give it a try later in the week.

With the 'Blast' client, Ctl-Alt-Del & Ctl-Alt-Ins do not work from the keyboard, hence the 'widget'.

Richard.

View solution in original post

Reply
0 Kudos
2 Replies
grossag
VMware Employee
VMware Employee
Jump to solution

If the only solution implemented is removing it from the menubar then they can still do it using Ctrl+Alt+Ins manually.  But I understand that if you disable it via GPO you would want it removed on the client side or else users will be confused.

The HTML tag I see for this is:

               <li class="icon-button icon-cad-image"

                   ng-class="{'disable': runningItems.length === 0}"

                   ng-click="runningItems.length !== 0 && ctrlAltDeleteClicked()"

                   title="{{'CTRL_ALT_DEL' | i18n}}"></li>

which implies to me that there is no programmatic way of hiding it (it would be in an ng-show attribute).  If you want to be adventurous I think you can locate the html in the server where the web client is installed and navigate over to %PROGRAMFILES%\VMware\VMware View\Server\broker\webapps\portal\desktop\views, edit sidebar_template.html (I used WordPad running as an administrator), and change the code to:

               <li class="icon-button icon-cad-image"

                   ng-class="{'disable': runningItems.length === 0}"

                   ng-click="runningItems.length !== 0 && ctrlAltDeleteClicked()"

                   ng-show="false"

                   title="{{'CTRL_ALT_DEL' | i18n}}"></li>

(essentially this is adding one extra line saying ng-show="false", which tells AngularJS to never show the item).  IMO this is safer than explicitly commenting out that item, because in case the JavaScript code is ever looking for the item we want it to be able to find it.  I gave this a quick test and it worked as long as I hit F5 the first time I ran into the desktop page to refresh my browser's copy of the html.

obrienr
Enthusiast
Enthusiast
Jump to solution

Grossag,

Thanks, very useful, appreciate the feedback.

I have not had a chance to test yet, but I will give it a try later in the week.

With the 'Blast' client, Ctl-Alt-Del & Ctl-Alt-Ins do not work from the keyboard, hence the 'widget'.

Richard.

Reply
0 Kudos