Custom right-click Computer menu - Not all of the selected computers were able to run the selected action

In all honesty, if “copy computer names” is the desired effect, using the native “Copy text” can give you that. Yes, it copies all columns but you can easily paste the full list in Excel and then just copy the “Computer Names” column from within excel. It’s an extra step that will take you literarily two seconds flat…

3 Likes

@JasonWalker @vk.khurava @jgstew @D.Dean

Thanks everyone for your suggestions but I’d like to tell you that we are unable to copy even single hostname using any of the shared options as well.

I don’t know if apart from below Sha1.exe has any relation with system/user certificates.

Copy Sha1: Computes the Sha1 checksum and Size for the selected file and copies the results into your Windows ClipBoard (paste buffer) as a prefetch action command. Use this feature to quickly generate the download command when distributing custom packages through custom Fixlets.

@ageorgiev,
Currently, we don’t have other option so playing with Excel only, but something is broken, and we have to fix that for smoother performance.

Thank You.

If sha1.exe is missing on the system in the path specified, then you will get the error you are seeing. Or if that binary doesn’t run correctly.

It is only being used to copy data into the clipboard.

If you use the method that I shared, that should work on modern windows systems but it does not rely on RunQuiet or SHA1 being present on the system, but it does cause a command window to appear for a second.

See here: bigfix-content/ConsoleContextMenus/CopyHostname.reg at main · jgstew/bigfix-content · GitHub

If something isn’t working with the console right click menu options, it will put messages in the debug window that are helpful.

1 Like

Hi All,

I’ve been encountering issues with the BigFix Console even after reinstalling and trying several troubleshooting steps. Here’s a summary of what I’ve done so far:

  1. Successfully uninstalled BigFix Console using BESRemoval tool.
  2. Ran **BESAdmin.exe /resetDatabaseEpoch** on the Root Server, but nothing happened after accepting the UAC prompt.
  3. Reinstalled BigFix Console on the Console Server, but still unable to copy hostname.
  4. Tried changing the BigFix Console cache location as suggested here, but the issue persisted.
  5. Updated registry settings related to copying hostname using below, but the error still occurs.

[HKEY_CURRENT_USER\Software\BigFix\Enterprise Console\Settings\ComputerListContextMenuExtensions\CopyHostname]
“MenuDisplayName”=“Copy Hostname”
“ShellCommandRelevance”=“"cmd /c echo " & ( concatenation "," of names of current computers ) & " | clip"”
“ComputerApplicabilityRelevance”=“true”
“MaxSetSize”=dword:00000001

Additional Information:

  • I received assistance from the PMR team, but as this issue relates to a BigFix Labs project, it’s not officially supported by HCL BigFix Support team.
  • Any further guidance or suggestions would be greatly appreciated.

this is what my registry looks like and it works with SINGLE computer, if selecting multiple it doesn’t work

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\BigFix\Enterprise Console\Settings\ComputerListContextMenuExtensions\Copy Hostname]
"ComputerApplicabilityRelevance"="true"
"MaxComputerSetSize"=dword:00000001
"MenuDisplayName"="&Copy Hostname"
"ShellCommandRelevance"="\"C:\\Program Files (x86)\\BigFix Enterprise\\BES Console\\RunQuiet.exe sha1.exe -h \" & name of current computer"
"MaxSetSize"=dword:00000000

The different I see is the path in ShellCommandRelevance has a single fwd slash “/” instead of “//” like mine and right before ""C…

try:

"ShellCommandRelevance"="\"G:\\BigFix Enterprise\\BES Console\\RunQuiet.exe sha1.exe -h \" & name of current computer"

If I want to select multiple I use the default context menu of copy text or copy text with headers, drop that in excel and modify as needed

None of these will work with multiple computers. JGStew and I discussed that earlier in this thread and then I’m afraid we may have taken some of the discussion offline.

There is no right-click option with multiple selections that could copy all of the selected computernames into the clipboard. When we increase the ‘MaxComputerSetSize’, what happens in the Console is that the command (i.e ‘copy to clipboard’) is executed multiple times, and each time it copies one hostname to the clipboard (which pushes the previous hostname back out of the clipboard)

I agree @ceez method of right-click and “Copy Text” or “Copy Text with Headers”, then editing the columns in a spreadsheet or text file is what would be needed.

yeah I was confirming that it does not and has just never worked if selecting multiple computers, only on single computer selection :slight_smile:

1 Like