Custom right-click Computer menu

(imported topic written by BenKus)

If you don’t know already, BES 6.0 allows for a customization of a BES Console on a per-console basis. Here is some more information:

http://support.bigfix.com/bes/misc/customrightclick.html

Ben

(imported comment written by brolly3391)

woohoo!

I have this sort of functionallity in Microsoft’s SMS and have long wished for it in BigFix.

Thank you x3

(imported comment written by ErnieF91)

Great stuff, but none of my server are showing up relevant under the Windows Remote Desktop Right-Click. I’m assuming it is from this: “ComputerApplicabilityRelevance”="( exists property result whose (name of property of it = “Remote Desktop Enabled” AND value of it = “True”) of current computer )"

What do I need to do to see the Remote Desktop Enabled property?

(imported comment written by dgibson91)

Since all our servers and XP workstations have terminal services enabled, I changed that relevance to :

“ComputerApplicabilityRelevance”="( exists property result whose (name of property of it = “Full OS Name” AND ((value of it contains “Server” AND value of it does not contain “NT”) OR (value of it contains “XP”))) of current computer)"

Otherwise, you will need to enable this retrieve property:

http://support.bigfix.com/download/bes/misc/rightclick/rdp-enabled.besrp

I attached some other right click menu items i found useful.

(imported comment written by jessewk)

Ernie,

The property is available off this page:

http://support.bigfix.com/bes/misc/customrightclick.html

Here is a direct link:

http://support.bigfix.com/download/bes/misc/rightclick/rdp-enabled.besrp

-Jesse

(imported comment written by amitspradhan)

Hey,

Just wanted to check, where do I get the wake-on lan reg entry to customize my console. I can see something which says wake-on lan as the fourth option in the snapshot on http://support.bigfix.com/bes/misc/cust … click.html

but i can find any reg file for this…

Amit

(imported comment written by jessewk)

Try here: http://support.bigfix.com/bes/misc/bes-wol.html

(imported comment written by jr6591)

Has anyone ever figured out why the Copy Hostname right click option does not work. I previously posted something on this but had no answer.

“Not all of the selected computers were able to run the selected action”

This is the error message.

(imported comment written by ckcheong)

Has anyone developed the right click option base on Offer Remote Assistance funtion in Windows XP/2003?

(imported comment written by BenKus)

Hi ckcheong,

Yes… I did this in a side-project one day… I remember it being particularly tricky (because the standard way of launching remote assistance doesn’t have a command-line utility), but I will try to dig it up for you what I made.

Ben

(imported comment written by dgibson91)

Ben, I would also be interested in this. I couldn’t figure out how to pass the parameter of the IP address to the offer remote assistance url. Please post this if you can find it.

(imported comment written by SystemAdmin)

I’ve implemented a few right-click options as posted and they work great on our consoles running within our 32-bit 2003 terminal servers. We have one 64-bit 2003 terminal server which complicates matters a bit. I put in the BigFix-supplied Remote Desktop extension, but the 32-bit console cannot launch (even see) the 64-bit version of mstsc.exe. Anyone know of a way to make windows allow this?

Thanks

(imported comment written by mellis200091)

jessewk

Ernie,

The property is available off this page:

http://support.bigfix.com/bes/misc/customrightclick.html

Here is a direct link:

http://support.bigfix.com/download/bes/misc/rightclick/rdp-enabled.besrp

-Jesse

Jesse,

I have globally activated the remote desktop property, but I have a question about the computers themselves. 99.9% of them are not set to have this setting enabled because we have been using a program called RealVNC to remotely connect to our computers. I would like to see if anyone has any way of turning on the remote desktop on the computers themselves. Anyone covered this?

Thanks,

Mike Ellis

(imported comment written by BenKus)

Hi Mike,

Sure do! We have made a Fixlet site to manage Remote Desktop and Remote Assistance capabilities built into WinXP and higher:

http://support.bigfix.com/product/documents/BigFixRemoteDesktopGuide-v1.pdf

Contact your sales representative for info on how to get access to this site.

Ben

(imported comment written by SystemAdmin)

Can someone help me out with mine? It is suppose to give me the option to right-click and have the option of VNC

on computers. Once VNC is clicked it suppose to open IE to the IP address and to a specific port of the computer that was right-clicked. This is what I have:

Windows Registry Editor Version 5.00

HKEY_CURRENT_USER\Software\BigFix\Enterprise Console\Settings\ComputerListContextMenuExtensions\remotedesktop

“MenuDisplayName”="&VNC"

“ShellCommandRelevance”=""iexplore.exe /v " & ( values of property results whose (name of property of it = “IP Address” ) of current computer) "

“MaxComputerSetSize”=dword:00000001

“ComputerApplicabilityRelevance”="( exists property result whose (name of property of it = “Remote Desktop Enabled” AND value of it = “True”) of current

(imported comment written by BenKus)

Couple of questions:

  1. What do you want to happen if there are multiple IP addresses on the system (the fact that you are trying to concatenate a plural value is one of the reasons this particular clause is failing)? Do you want to use the DNS name instead?

  2. Is the property “Remote Desktop Enabled” show you whether VNC is installed?

  3. Does

iexplore.exe /V

from the command line actually work?

Ben

(imported comment written by SystemAdmin)

Ben Kus

Couple of questions:

  1. What do you want to happen if there are multiple IP addresses on the system (the fact that you are trying to concatenate a plural value is one of the reasons this particular clause is failing)? Do you want to use the DNS name instead?

  2. Is the property “Remote Desktop Enabled” show you whether VNC is installed?

  3. Does iexplore.exe /V from the command line actually work?

Ben

  1. If multiple computers are selected I would want multiple sessions of Internet Explorer (default) broswer to open.

  2. This is where I get a little, ok a lot, lost. I know it should be look for check if the process WinVNC.exe is running. I’m assuming I would just change the “Remote Desktop Enabled” to “WinVNC Enabled”?

  3. It’s suppose open Internet Explorer or the default browser with the IP address of the computer that is right-clicked and VNC selected.

(imported comment written by BenKus)

  1. That is tricky because you can’t launch multiple commands at once easily… I suggest for simplicity, you change it to:

“ShellCommandRelevance”=""iexplore.exe /v " & ( values of property results whose (name of property of it = “DNS Name” ) of current computer) "

  1. You need ot make a BigFix Property “WinVNC Enabled” with the relevance:

exists running application “winvnc.exe”

, then change it to:

“ComputerApplicabilityRelevance”="( exists property result whose (name of property of it = “WinVNC Enabled” AND value of it = “True”) of current computer)"

  1. If that works from the command-line, it should work in the right click menu.

Ben

(imported comment written by SystemAdmin)

I’m unable to use “DNS Name” due to we are a fairly large orginization and duplicate names are bound to exist.

An FYI for others attempting to do the same as I was

Windows Registry Editor Version 5.00

HKEY_CURRENT_USER\Software\BigFix\Enterprise Console\Settings\ComputerListContextMenuExtensions\vnc

“MenuDisplayName”="&VNC"

“ShellCommandRelevance”="“explorer.exe http://” & ( value of property result whose (name of property of it = “IP Address” ) of current computer ) & “:5800"”

“MaxComputerSetSize”=dword:00000001

OK, this should be relatively easy – I want to create a right-click for the Bomgar Jump Client. On my console-machine, I have put the Bomgar-rep.exe in the path and I can issue the following command-lines (from within either bash or cmd.exe) and they work to ‘bring up’ the bomgar jump client and allow me to connect to the remote system (assuming that the host-in-question is X1345):
bomgar-rep.exe --run-script "action=push_and_start_local&hostname="X12345

I make HKCU entries just like the RDP (mstsc) ones, (except I set the number of targets key to 1) – the actual key-value looks like:

After making the entry, I select a computer, right-click, and select ‘Invoke Bomgar Rep Console’ and get the following message:
Not all of the computers were able to run the selected action

I think the quote-escapes and & escapes are wrong; anyone see/understand what I am doing wrong?

best,
celty