Install BES Console Right-Click Options (Updated)
Log In or Register to download the BES file, and more.

5 Votes

Versioning - This is the latest version.

1Install BES Console Right-Click Options (Updated)3/31/2015 7:23:43 AM
2Install BES Console Right-Click Options (Updated)3/31/2015 12:52:24 PM

Description

  This task will install additional functionality for the BES Console that will allow you to right-click on a computer in your BES Console and perform common tasks directly on that computer. The new options will appear in the drop-down list when you right-click on a computer in the BES Console.

Windows Remote Management

  The following BES Console right-click options will only be available on Windows computer, the options will be grayed-out for non-Windows systems.  These options are designed to help perform direct management of computers quickly.  You must to be logged into Windows with an NT Authenticated account with permissions to computers for these options to work.

  • Computer Management Console - Opens the Windows Management Console for the selected computer with access to the Services, Event Log and other common management snap-ins.
  • Browse Computer - Opens Windows explorer for the selected computer with access to network shares.  Also allows you to quickly get to the C$ share from here.
  • Remote Desktop - Opens a Windows remote desktop connection for the computer.  Computers must report in 'True' for the 'Remote Desktop Enabled' property for this option to be used.

BES Console Tools

The following BES Console right-click options are designed to make using the BES Console and diagnosing issues easier.

  • Trace Route - Opens a command window and runs a trace route to the selected computer(s).
  • Ping IP(s) - Opens a command window and runs a ping command for each IP Address on the selected computer(s).
  • Copy Hostname - Copies the selected computer(s) hostname into your paste buffer.  Press CRTL-V to paste the hostnames into a text editor after selecting the option.
  • *Open Client Log - Opens the current BES Client log file for the selected computer in a BareTail.  The option is only available for Windows systems.  Requires NT Authentication and access to $ share where the BES Client is installed.
  • *Relay Diagnostics - Opens Internet Explorer to the Relay Diagnostics webpage for a BES Relay.
  • *Start BESClient - Opens a command window and runs PSExec to start the BESClient on the selected computer(s). (Requires PsExec)
  • *Stop BESClient - Opens a command window and runs PSExec to stop the BESClient on the selected computer(s).  (Requires PsExec)

Windows Shell Extensions

  The following right-click options will appear in the drop-down list when you right-click a file in Windows Explorer (they do not appear in the BES Console).  The options are designed to assist custom authoring of Fixlets in the BES Console.

  • 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.

Note: The installed right-click options will only be available for existing users on a computer.  If a new user logs onto the computer, you will need to reinstall the right-click options before they will appear in the BES Console.

Note: Right-click options will be immediately available after installation, or uninstall, even if your BES Console is currently open.

*Indicates new or updated funcationaility


Property Details

ID4012
StatusQA - Ready for Production Level Testing
TitleInstall BES Console Right-Click Options (Updated)
DomainBESC
CategoryBES Task
Source Release Date3/31/2015 12:00:00 AM
Keywordsright-click, baretail
Added by on 3/31/2015 12:52:24 PM
Last Modified by on 3/31/2015 12:52:24 PM
Counters 6548 Views / 231 Downloads
User Rating 1 star 2 star 3 star 4 star 5 star * Average over 2 ratings. ** Log In or Register to add your rating.

Relevance

Used in 19 fixlets and 3 analyses   * Results in a true/false
Show indented relevance
exists regapp "BESConsole.exe"
isWindows (Relevance 1172)
Used in 1070 fixlets and 522 analyses   * Results in a true/false
Show indented relevance
windows of operating system

Actions

Action 1 (default)

Action Link Click here to install All Right-Click Options.
Script Type BigFix Action Script
//Download all utilities; From BigFix Labs
prefetch BESConsoleRightClickInstall.exe sha1:429c7e47b5c9b20c64aff9b569dd761edb911352 size:1011799 http://software.bigfix.com/download/bes/util/BESConsoleRightClickInstall.exe

prefetch CopyFromComputerList.exe sha1:94cb41d251fb7c466ae51531a8db41503ff7b369 size:10240 http://software.bigfix.com/download/bes/util/CopyFromComputerList.exe

prefetch iteratecmd.bat sha1:6c8f31a88fba6ad5b25b9383204bfb2cbc931a40 size:293 http://software.bigfix.com/download/bes/util/iteratecmd.bat

prefetch RunQuiet.exe sha1:a655065675d32a19cb4ae5170b1992cbb7950f7b size:36864 http://software.bigfix.com/download/bes/util/RunQuiet.exe

prefetch Sha1.exe sha1:34d3307925caed02f4cc61b5c0fee10ee6ff495a size:374272 http://software.bigfix.com/download/bes/util/Sha1-1.1.2.3.exe

//From BigFix.me Fixlet ID#67
//1. Download BareTail
if {not exists file "baretail.exe" of folder "C:\ProgramData"}
download http://bigfix.me:52311/Uploads/bf04ec2badf589a4061ec29c300b4dcc681b884a/baretail.exe.tmp
continue if {(size of it = 114109 AND sha1 of it = "bf04ec2badf589a4061ec29c300b4dcc681b884a") of file "baretail.exe.tmp" of folder "__Download"}
extract baretail.exe.tmp
copy __Download\baretail.exe "C:\ProgramData\baretail.exe"
endif

//2. Create a Shortcut
delete __appendfile
appendfile set WshShell = WScript.CreateObject("WScript.Shell" )
appendfile strAllUsersSM = WshShell.SpecialFolders("AllUsersStartMenu" )
appendfile set oFSO = CreateObject("Scripting.FileSystemObject")
appendfile oFSO.CreateFolder(strAllUsersSM & "\Programs\IBM Endpoint Manager")
appendfile set oShellLink = WshShell.CreateShortcut(strAllUsersSM & "\Programs\IBM Endpoint Manager\baretail.lnk" )
appendfile oShellLink.TargetPath = "C:\ProgramData\baretail.exe"
appendfile oShellLink.WindowStyle = 1
appendfile oShellLink.IconLocation = "C:\ProgramData\baretail.exe"
appendfile oShellLink.Description = "BareTail"
appendfile oShellLink.WorkingDirectory = "C:\ProgramData"
appendfile oShellLink.Save
move __appendfile CreateShortcut.vbs
waithidden cmd.exe /c cscript.exe CreateShortcut.vbs
delete CreateShortcut.vbs

//Install Right-Click options
wait __download/BESConsoleRightClickInstall.exe -c -B -w -t -i -n -o -s

//Update and add Right-Click options to menu; some options require PsExec
Delete __appendfile
Delete c:\ProgramData\OpenClientLog.reg

appendfile REGEDIT4
appendfile
appendfile [HKEY_CURRENT_USER\Software\BigFix\Enterprise Console\Settings\ComputerListContextMenuExtensions\Open Client Log]
appendfile "ComputerApplicabilityRelevance"="((value of property results whose ( name of property of it = \"OS\" ) of current computer) as string as lowercase contains \"win\")"
appendfile "MaxComputerSetSize"=dword:00000005
appendfile "MenuDisplayName"="&Open Client Log"
appendfile "ShellCommandRelevance"="\"C:\\ProgramData\\baretail.exe %22\\\\\" & (value of property results whose (name of property of it = \"DNS Name\" ) of current computer) & \"\\C$\\Program Files (x86)\\BigFix Enterprise\\BES Client\\__BESData\\__Global\\Logs\\\" & year of current date as string & month of current date as two digits as string & day_of_month of current date as two digits as string & \".log%22\""
appendfile [HKEY_CURRENT_USER\Software\BigFix\Enterprise Console\Settings\ComputerListContextMenuExtensions\Open Client Log (x32)]
appendfile "ComputerApplicabilityRelevance"="((value of property results whose ( name of property of it = \"OS\" ) of current computer) as string as lowercase contains \"win\")"
appendfile "MaxComputerSetSize"=dword:00000005
appendfile "MenuDisplayName"="&Open Client Log (x32)"
appendfile "ShellCommandRelevance"="\"C:\\ProgramData\\baretail.exe %22\\\\\" & (value of property results whose (name of property of it = \"DNS Name\" ) of current computer) & \"\\C$\\Program Files\\BigFix Enterprise\\BES Client\\__BESData\\__Global\\Logs\\\" & year of current date as string & month of current date as two digits as string & day_of_month of current date as two digits as string & \".log%22\""
appendfile [HKEY_CURRENT_USER\Software\BigFix\Enterprise Console\Settings\ComputerListContextMenuExtensions\Relay Diagnostics]
appendfile "ComputerApplicabilityRelevance"="relay server flag of current computer"
appendfile "MaxComputerSetSize"=dword:0000000f
appendfile "MenuDisplayName"="&Relay Diagnostics"
appendfile "ShellCommandRelevance"="\"C:\\Program Files (x86)\\Internet Explorer\\iexplore.exe \" & \"http://\" & (value of property results whose (name of property of it = \"DNS Name\" ) of current computer) & \":52311/rd\""
appendfile [HKEY_CURRENT_USER\Software\BigFix\Enterprise Console\Settings\ComputerListContextMenuExtensions\Stop BESClient]
appendfile "ComputerApplicabilityRelevance"="((value of property results whose ( name of property of it = \"OS\" ) of current computer) as string as lowercase contains \"win\")"
appendfile "MaxComputerSetSize"=dword:00000000
appendfile "MenuDisplayName"="&Stop BESClient"
appendfile "ShellCommandRelevance"="\"psexec -s \\\\\" & (value of property results whose (name of property of it = \"DNS Name\" ) of current computer) & \" net stop besclient\""
appendfile [HKEY_CURRENT_USER\Software\BigFix\Enterprise Console\Settings\ComputerListContextMenuExtensions\Start BESClient]
appendfile "ComputerApplicabilityRelevance"="((value of property results whose ( name of property of it = \"OS\" ) of current computer) as string as lowercase contains \"win\")"
appendfile "MaxComputerSetSize"=dword:00000000
appendfile "MenuDisplayName"="&Start BESClient"
appendfile "ShellCommandRelevance"="\"psexec -s \\\\\" & (value of property results whose (name of property of it = \"DNS Name\" ) of current computer) & \" net start besclient\""

copy __appendfile c:\ProgramData\OpenClientLog.reg

override wait
    hidden=true
    runas=currentuser
wait cmd.exe /C regedit.exe /S C:\ProgramData\OpenClientLog.reg
Delete c:\ProgramData\OpenClientLog.reg
Success Criteria

This action will be considered successful when all lines of the action script have completed successfully.

Action 2

Action Link Click here to install only the Windows Remote Management context menu extensions.
Script Type BigFix Action Script
prefetch BESConsoleRightClickInstall.exe sha1:429c7e47b5c9b20c64aff9b569dd761edb911352 size:1011799 http://software.bigfix.com/download/bes/util/BESConsoleRightClickInstall.exe

wait __download/BESConsoleRightClickInstall.exe -c -B -w
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 3

Action Link Click here to install only the BES Console Tools context menu extensions.
Script Type BigFix Action Script
prefetch BESConsoleRightClickInstall.exe sha1:429c7e47b5c9b20c64aff9b569dd761edb911352 size:1011799 http://software.bigfix.com/download/bes/util/BESConsoleRightClickInstall.exe

prefetch CopyFromComputerList.exe sha1:94cb41d251fb7c466ae51531a8db41503ff7b369 size:10240 http://software.bigfix.com/download/bes/util/CopyFromComputerList.exe

prefetch Sha1.exe sha1:34d3307925caed02f4cc61b5c0fee10ee6ff495a size:374272 http://software.bigfix.com/download/bes/util/Sha1-1.1.2.3.exe

prefetch iteratecmd.bat sha1:6c8f31a88fba6ad5b25b9383204bfb2cbc931a40 size:293 http://software.bigfix.com/download/bes/util/iteratecmd.bat

prefetch RunQuiet.exe sha1:a655065675d32a19cb4ae5170b1992cbb7950f7b size:36864 http://software.bigfix.com/download/bes/util/RunQuiet.exe

wait __download/BESConsoleRightClickInstall.exe -t -i -n -o
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 4

Action Link Click here to install only the Windows Shell Extensions for custom content authors.
Script Type BigFix Action Script
prefetch BESConsoleRightClickInstall.exe sha1:429c7e47b5c9b20c64aff9b569dd761edb911352 size:1011799 http://software.bigfix.com/download/bes/util/BESConsoleRightClickInstall.exe

prefetch RunQuiet.exe sha1:a655065675d32a19cb4ae5170b1992cbb7950f7b size:36864 http://software.bigfix.com/download/bes/util/RunQuiet.exe

prefetch Sha1.exe sha1:34d3307925caed02f4cc61b5c0fee10ee6ff495a size:374272 http://software.bigfix.com/download/bes/util/Sha1-1.1.2.3.exe

wait __download/BESConsoleRightClickInstall.exe -s
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 5

Action Link Click here to install Baretail and create a shortcut.
Script Type BigFix Action Script
//1. download utility
download http://bigfix.me:52311/Uploads/bf04ec2badf589a4061ec29c300b4dcc681b884a/baretail.exe.tmp
continue if {(size of it = 114109 AND sha1 of it = "bf04ec2badf589a4061ec29c300b4dcc681b884a") of file "baretail.exe.tmp" of folder "__Download"}
extract baretail.exe.tmp
copy __Download\baretail.exe "{pathname of parent folder of client}\baretail.exe"
//2. create a shortcut
delete __appendfile
appendfile set WshShell = WScript.CreateObject("WScript.Shell" )
appendfile strAllUsersSM = WshShell.SpecialFolders("AllUsersStartMenu" )
appendfile set oFSO = CreateObject("Scripting.FileSystemObject")
appendfile oFSO.CreateFolder(strAllUsersSM & "\Programs\IBM Endpoint Manager")
appendfile set oShellLink = WshShell.CreateShortcut(strAllUsersSM & "\Programs\IBM Endpoint Manager\baretail.lnk" )
appendfile oShellLink.TargetPath = "{pathname of parent folder of client}\baretail.exe"
appendfile oShellLink.WindowStyle = 1
appendfile oShellLink.IconLocation = "{pathname of parent folder of client}\baretail.exe"
appendfile oShellLink.Description = "BareTail"
appendfile oShellLink.WorkingDirectory = "{pathname of parent folder of client}\__BESData\__Global\Logs"
appendfile oShellLink.Save
move __appendfile CreateShortcut.vbs
waithidden cmd.exe /c cscript.exe CreateShortcut.vbs
delete CreateShortcut.vbs
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.

Action 6

Action Link Click here to Uninstall all right-click options.
Script Type BigFix Action Script
prefetch BESConsoleRightClickInstall.exe sha1:429c7e47b5c9b20c64aff9b569dd761edb911352 size:1011799 http://software.bigfix.com/download/bes/util/BESConsoleRightClickInstall.exe

wait __download/BESConsoleRightClickInstall.exe -u -a
Success Criteria

This action will be considered successful when the applicability relevance evaluates to false.


Sharing

Social Media:
Share this page on Yammer

Comments

Log In or Register to leave comments!
jgstew -
Nice! It would be great if you could share what you can of your custom right clicks on here / forum.bigfix.com / etc....
schivers -
MaxComputerSetSize doesn't work. I changed them to MaxSetSize and now it works as advertised. This fixlet helped me figure out how to write my own right click options so thanks for that! Currently have one to restart bes client, one to open client log (32 or 64 and C or D drive) . one to browse to C$, one to ping with -T, copy hostname, one to launch UltraVNC, and one to log off the current user.
jgstew -
prefetch baretail.exe sha1:2aa7d3806d614fd9e1e6b099d134784a98b6dd9e size:225280 https://www.baremetalsoft.com/baretail/download.php?p=m sha256:160d6a3bdc9d64677643376f82e559eb4112289e6b6d722b5b3b32699d18bca9
jmanini -
When I run the Fixlet it says Pending Downloads but never finishes, I'm missing something
danobo -
Downloading baretail from http://bigfix.me:52311/Uploads/bf04ec2badf589a4061ec29c300b4dcc681b884a/baretail.exe.tmp isn't working. Is there an update to this?