Install BES Console Right-Click Options (Updated)
9 Votes |
Versioning - This is the latest version.
1 | Install BES Console Right-Click Options (Updated) | 3/31/2015 7:23:43 AM |
2 | Install 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 ManagementThe 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.
BES Console ToolsThe following BES Console right-click options are designed to make using the BES Console and diagnosing issues easier.
Windows Shell ExtensionsThe 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.
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
4012 | |
QA - Ready for Production Level Testing | |
Install BES Console Right-Click Options (Updated) | |
BESC | |
BES Task | |
3/31/2015 12:00:00 AM | |
right-click, baretail | |
BigFixer1 on 3/31/2015 12:52:24 PM | |
BigFixer1 on 3/31/2015 12:52:24 PM | |
20134 Views / 459 Downloads | |
![]() ![]() ![]() ![]() ![]() |
Relevance
Actions
Action 1 (default)
//Download all utilities; From BigFix LabsSuccess Criteria
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
This action will be considered successful when all lines of the action script have completed successfully.
Action 2
prefetch BESConsoleRightClickInstall.exe sha1:429c7e47b5c9b20c64aff9b569dd761edb911352 size:1011799 http://software.bigfix.com/download/bes/util/BESConsoleRightClickInstall.exe
wait __download/BESConsoleRightClickInstall.exe -c -B -w
This action will be considered successful when the applicability relevance evaluates to false.
Action 3
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
This action will be considered successful when the applicability relevance evaluates to false.
Action 4
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
This action will be considered successful when the applicability relevance evaluates to false.
Action 5
//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
This action will be considered successful when the applicability relevance evaluates to false.
Action 6
prefetch BESConsoleRightClickInstall.exe sha1:429c7e47b5c9b20c64aff9b569dd761edb911352 size:1011799 http://software.bigfix.com/download/bes/util/BESConsoleRightClickInstall.exe
wait __download/BESConsoleRightClickInstall.exe -u -a
This action will be considered successful when the applicability relevance evaluates to false.
Sharing
Social Media: |
Comments
![]() |
|
If any one wants this formatted properly IM me. |
![]() |
|
I do baretail differently but its working pretty slick for me! reg file: Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER\Software\BigFix\Enterprise Console\Settings\ComputerListContextMenuExtensions\beslogtail] "MenuDisplayName"="&Watch BES Log" "ShellCommandRelevance"="\"C:\\Program Files (x86)\\BigFix Enterprise\\BES Console\\baretail.exe %22\\\\\" & ( value of property results whose (name of property of it = \"IP Address\" ) 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\" " "MaxComputerSetSize"=dword:00000005 "ComputerApplicabilityRelevance"="true" and I copy the baretail.exe here: "C:\Program Files (x86)\BigFix Enterprise\BES Console\" and I use the version from here, which is free for corporate use: https://www.baremetalsoft.com/baretail/download.php?p=m I trimmed off the relevance as we are windows only pretty much but you could surely add it back if needed. |
![]() |
|
Fixlet doesn't seem to be working, can't get baretail, and running the other parts of the action also fails, will their be an update? |
![]() |
|
It would be nice if people would post their custom additions to this as updates. I'll make some of my own and post in the near future. |
![]() |
|
Nice! It would be great if you could share what you can of your custom right clicks on here / forum.bigfix.com / etc.... |
![]() |
|
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. |
![]() |
|
prefetch baretail.exe sha1:2aa7d3806d614fd9e1e6b099d134784a98b6dd9e size:225280 https://www.baremetalsoft.com/baretail/download.php?p=m sha256:160d6a3bdc9d64677643376f82e559eb4112289e6b6d722b5b3b32699d18bca9 |
![]() |
|
When I run the Fixlet it says Pending Downloads but never finishes, I'm missing something |
![]() |
|
Downloading baretail from http://bigfix.me:52311/Uploads/bf04ec2badf589a4061ec29c300b4dcc681b884a/baretail.exe.tmp isn't working. Is there an update to this? |