Quantcast
Channel: VMware Communities : All Content - VMware View
Viewing all articles
Browse latest Browse all 9103

Horizon View Toolbox 2 Fling

$
0
0

I could not post this in the comments for the Horizon Toolbox 2 – VMware Labs fling, error:

Access Denied

You don't have permission to access "http://labs.vmware.com/wp-comments-post.php" on this server.

Reference #18.6e95dc17.1452539334.1b884f98

 

Probably had to do with length or content so here it is:

 

We dont want to install the built in remote assistance but would like the ability to use the existing Microsoft remote assistance (Initiate Remote Assistance from a Command Line or a Script). I was able to modify the registry of my admin machine to handle a new protocol handler to support a new href added to C:\Program Files\VMware\HorizonToolbox\HorizonToolbox2.0.1\webapps\toolbox\WEB-INF\templates\console.html in the toolkit.

 

 

This is not a secure way of accomplishing this, perhaps you could find something more appropriate.

 

 

The registry keys needed on my local admin machine:

Windows Registry Editor Version 5.00


[HKEY_CLASSES_ROOT\msra]
@="URL:Microsoft Remote Assistance Protocol"
"URL Protocol"=""


[HKEY_CLASSES_ROOT\msra\shell]


[HKEY_CLASSES_ROOT\msra\shell\open]


[HKEY_CLASSES_ROOT\msra\shell\open\command]
@="cmd /C for /F \"delims=: tokens=2\" %%c in (\"%1\") do msra.exe /offerra %%c"






 

Added the following html to line 142 of console.html:

<a title="Offer MS Remote Assistance" href="msra:{{vm.name}}" target="_blank">{{vm.name}}</a>

 

If your url tries to connect to "unsafe:msra:vmname" then you'll need to edit the javascript to add the msra protocol handler. I did this on line 124 in C:\Program Files\VMware\HorizonToolbox\HorizonToolbox2.0.1\webapps\toolbox\js\angular.min.js

change https?|ftp|mailto|tel|file to https?|ftp|mailto|msra|tel|file

 

Of course you need the proper GPO's deployed to offer remote assistance:

System/Remote Assistance

 

PolicySettingWinning GPO
Offer Remote AssistanceEnabledRemoteAssistance
Permit remote control of this computer:Allow helpers to remotely control the computer
Helpers:
Helpdesk
PolicySettingWinning GPO
Solicited Remote AssistanceEnabledRemoteAssistance
Permit remote control of this computer:Allow helpers to remotely control the computer
Maximum ticket time (value):1
Maximum ticket time (units):Hours
Method for sending e-mail invitations:
PolicySettingWinning GPO
Turn on session loggingEnabledRemoteAssistance

 


Viewing all articles
Browse latest Browse all 9103

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>