Rick Houchins at myITforum.com

Together we can do amazing things...

SCCM Right Click Tools


 This is version 1.1 of the SCCM Right Click Tools.  It will check for the installation of the SCCM admin console and if it does not find it the installation will exit.

Special thanks Ken Delikta he is the man behind the curtain, and also thanks to John Marcum for the changes he made to my original tool.

 

Version 1 includes: (This tool will not work with SMS 2003)
1.       Most of the tools that were included in the original SMS Console Additions V1.4  (thanks to those guys)
2.
       The ability to see the computer details and security compliance web reports for a single client inside collections
3.
       A separate drill down for client logs as well as security update client logs.
4.
       The ability to check the status of an advertisement with a right click from that advertisementIn order to get the client and the advertisement web reports to work you must perform the following. Version 1.2 adds

 1.       Fixed the right click tools on the “collections” that didn’t open a CMD window when running. Also fixed the echo so the results now show up in a command window

Version 1.3 adds


1.       Will detect the version of the tool installed so re-installation of unnecessary files does not occur when new versions are released
2
.       Now has an entry in Add Remove Programs which enables un-installation of the program

 

 Version 1.4 (4/9/2008)

  1. No more hard coding of your site code to get scripts and reports to run correctly
  2. Detects and uninstalls any previous versions of the tool.
  3. Right click tool added to the software updates node, but it only works if there is a update list with patches deployed. 
  4. Prefixed each tool with your SCCM site code for easier recognition
  5. Right click ability on each advertisement that will display three web reports
  6. Added a prompt to see the CCMsetup.log on the SCCM Client install
  7. Fixed the Client Action for User Policy Evaluation and Update
  8. Added all the client actions from the control panel including the Security Updates Scan and Security Updates Deployment Evaluation

 Version 1.5 (5/21/2008)

  1. Added an extension to the client tools that will tell you what collection a user or system belongs to. Thanks to Matthew Hudson
  2. Added a web report to show all the advertisements for a certain system.

Version 1.6 (5/30/2008)

  1. CCM and CCMSetup directories now work properly.

Version 1.7 (6/17/2008)

  1. Added the Software Updates Scan Cycle to the Collection root so it runs not just on one client but a whole collection.  Requested by a member from the forum community.

Version 1.8 (2/13/2009)

  1. Added Support for Windows 2008 64bit.
  2. New Tool to Re-run advertisements from a drop down list.
  3. Added the ability to run client actions from the Query results.
  4. Fixed issue with script.bat

Version 1.9 (3/24/2009)

  1. Added Reboot/Shutdown options for client machines.

Version 2.0 (4/1/2010)

  1. Repleaced some of the VB scripts with custom HTA's
  2. Added new code to make the install easier
  3. Complete rewrite of some of the tools

http://myitforum.com/cs2/blogs/rhouchins/0401ConfigMgrTools.zip

Comments

tysonflint said:

Starting this weekend, Symantec Endpoint Protection detected some of these files as viruses.  I'm thinking that it must be something in the latest antivirus definitions.  We had to create an exclusion in the Symantec Admin console for these folders and them reinstall the right click tools:

C:\Program Files\Microsoft Configuration Manager Console\AdminUI\XmlStorage\Tools\

C:\Program Files (x86)\Microsoft Configuration Manager Console\AdminUI\XmlStorage\Tools\

Someone should probably contact Symantec on this, so the hash for these EXEs can be whitelisted:

Security Risk Found!Trojan.Gen in File: C:\Program Files (x86)\Microsoft Configuration Manager Console\AdminUI\XmlStorage\Tools\whatcoll.exe by: Auto-Protect scan.  Action: Quarantine failed : Delete failed : Access denied.  Action Description: The file was left unchanged.

Security Risk Found!Trojan.Gen in File: C:\Program Files (x86)\Microsoft Configuration Manager Console\AdminUI\XmlStorage\Tools\sms_ping.exe by: Auto-Protect scan.  Action: Delete succeeded.  Action Description: The file was deleted successfully.

Security Risk Found!Trojan.Gen in File: C:\Program Files (x86)\Microsoft Configuration Manager Console\AdminUI\XmlStorage\Tools\connectc.exe by: Auto-Protect scan.  Action: Quarantine failed : Delete failed : Access denied.  Action Description: The file was left unchanged.

Security Risk Found!Trojan.Gen in File: C:\Program Files (x86)\Microsoft Configuration Manager Console\AdminUI\XmlStorage\Tools\coll-changecache.exe by: Auto-Protect scan.  Action: Delete succeeded.  Action Description: The file was deleted successfully.

Security Risk Found!Trojan.Gen in File: C:\Program Files (x86)\Microsoft Configuration Manager Console\AdminUI\XmlStorage\Tools\sms_ping.exe by: Auto-Protect scan.  Action: Quarantine failed : Delete failed : Access denied.  Action Description: The file was left unchanged.

Security Risk Found!Trojan.Gen in File: C:\Program Files (x86)\Microsoft Configuration Manager Console\AdminUI\XmlStorage\Tools\logs.exe by: Auto-Protect scan.  Action: Delete succeeded.  Action Description: The file was deleted successfully.

# June 22, 2010 8:34 PM

tysonflint said:

I've installed this on a few client machines now and am noticing multiple entries for "Client Tools" when right clicking a machine name in SCCM 2007 SP2.  I've seen another user with this issue: blog.danovich.com.au/.../sccm-right-click-tools-adds-multiple-client-tools-entries

In my case I have two folders that appear to be related to this tool under C:\program files\Microsoft Configuration Manager\AdminUI\XmlStorage\Extensions\Actions

One folder is named 716f8f86-5c3e-448d-baa2-8d2763fa8e7a and has 8 files in it.

Another folder under the Action folder is named 7ba8bf44-2344-4035-bdb4-16630291dcf6 and has 25 files in it.

I came across this info:

7ba8bf44-2344-4035-bdb4-16630291dcf6 is the "Computer Object" GUID for storing menu extensions relating to right clicking on a computer name.

716f8f86-5c3e-448d-baa2-8d2763fa8e7a is for computers in a "Query".

dbb315c3-1d8b-4e6a-a7b1-db8246890f59 is for "Top Level" collections.

fa922e1a-6add-477f-b70e-9a164f3b11a2 is for "Sub collections".

So the "Computer Object" related folder has too many files in it.

Heres the listing:  

12/01/2007  02:50 AM       66 1AbSeparator2.xml

12/01/2007  02:50 AM       66 Separator3.xml

02/14/2009  03:04 AM    1,361 1Client WebReports.xml

02/14/2009  03:04 AM    1,361 2Client WebReports.xml

02/14/2009  03:04 AM    1,361 3Client WebReports.xml

02/14/2009  03:04 AM    1,361 4Client WebReports.xml

02/14/2009  03:04 AM    1,361 5Client WebReports.xml

02/14/2009  03:04 AM    1,361 6Client WebReports.xml

02/14/2009  03:04 AM    1,361 7Client WebReports.xml

02/14/2009  03:04 AM    1,361 8Client WebReports.xml

02/18/2009  06:04 AM    9,090 Client Log Files.xml

02/18/2009  06:09 AM    5,310 Client Security Update Log Files.xml

02/19/2009  03:57 PM    3,883 Client Actions.xml

02/19/2009  04:36 PM    1,519 dClient WebReports.xml

03/20/2009  11:18 AM      561 1install.xml

03/20/2009  11:18 AM      561 2install.xml

03/20/2009  11:19 AM      561 3install.xml

03/20/2009  11:19 AM      561 4install.xml

03/20/2009  11:19 AM      561 5install.xml

03/20/2009  11:19 AM      561 6install.xml

03/20/2009  11:20 AM      561 7install.xml

03/20/2009  11:20 AM      561 8install.xml

03/24/2009  12:55 PM    1,434 eshutdown.xml

03/24/2009  02:20 PM    5,927 AConfigMgrTools.xml

01/21/2011  01:16 PM      658 SMSCliCtr.xml

I deleted these files:

2Client WebReports.xml

3Client WebReports.xml

4Client WebReports.xml

5Client WebReports.xml

6Client WebReports.xml

7Client WebReports.xml

8Client WebReports.xml

And deleted these:

2install.xml

3install.xml

4install.xml

5install.xml

6install.xml

7install.xml

8install.xml

I then noticed that I had two similar looking files:

1Client WebReports.xml

dClient WebReports.xml

I compared these with CompareIt and noticed that only the first line was different (other than a few extra lines of space).

On my test SCCM server, I didn't have the right click tools installed, so only had:

dClient WebReports.xml

I assummed this must have been bug, so then deleted:

1Client WebReports.xml

I renamed 1Install.xml to Install.xml, as SCCM appears to read all XML files in these folders regardless of filename.

I closed and re-opened the console and now when I right click on a computer I get the behavior I was expecting, which is only one menu entry for "Client Tools" (taken from Install.XML).

Here are the final contents of my folder:

c:\program files\Microsoft Configuration Manager\AdminUI\XmlStorage\Extensions\Actions\7ba8bf44-2344-4035-bdb4-16630291dcf6

12/01/2007  02:50 AM       66 1AbSeparator2.xml

12/01/2007  02:50 AM       66 Separator3.xml

02/18/2009  06:04 AM    9,090 Client Log Files.xml

02/18/2009  06:09 AM    5,310 Client Security Update Log Files.xml

02/19/2009  03:57 PM    3,883 Client Actions.xml

02/19/2009  04:36 PM    1,519 dClient WebReports.xml

03/20/2009  11:18 AM      561 install.xml

03/24/2009  12:55 PM    1,434 eshutdown.xml

03/24/2009  02:20 PM    5,927 AConfigMgrTools.xml

01/21/2011  01:16 PM      658 SMSCliCtr.xml

Tyson Flint

Seattle, WA

Jan 24, 2011

# January 25, 2011 12:18 AM

tysonflint said:

More cleanup for the duplicate menu items.  After completing the steps above, I noticed I still had two entries for "Client Tools" when right clicking a computer.  I looked into it and found that the install.xml is the file responsible for the duplicate entry, as it's contents are duplicated in the bigger file named AConfigMgrTools.xml.

I have come to the conclusion that I should delete all files named "Web Reports.XML" that start with a number (leaving the dClient WebReports.xml behind) and also delte all files named install.xml whether they start with a number or not.

The extra XML files made reference to extra unneeded files in C:\windows\SCCMTools.  You can delete these, as they corresponded to the #install.xml files in the SCCM extensions folder listed in the prior post:

C:\windows\SCCMTools\cen1install.vbs

C:\windows\SCCMTools\cen2install.vbs

C:\windows\SCCMTools\cen1install.vbs

C:\windows\SCCMTools\cen1install.vbs

C:\windows\SCCMTools\cen1install.vbs

C:\windows\SCCMTools\cen1install.vbs

C:\windows\SCCMTools\cen1install.vbs

C:\windows\SCCMTools\cen1install.vbs

These are all duplicates of:

C:\windows\SCCMTools\install.vbs

There is a legitimate file file named C:\windows\SCCMTools\install.vbs that is used by AConfigMgrTools.xml, so it should be left behind.

Tyson Flint

Seattle, WA

Jan 25, 2011

# January 25, 2011 5:40 PM

tysonflint said:

Here's a BAT file that does the cleanup.  Run it after installing "Right Click Tools" if you have multiple "Client Tools" menu options when right clicking a machine in the SCCM admin console.

Copy the below into notepad and save as cleanup-extra-menu-items.bat.

You may need to do a search and replace on the quotation marks, as sometimes web posts will convert these to "left quotes" and "right quotes", which are different than the standard quote.  You'll need to do two search and replaces. Copy the "left quote" at the beginning of the line, search for it, and replace with a standard quote by typing in a quote from the keyboard. Copy the "right quote" at the end of the line and replace with a standard quote by typing it in.

Tyson Flint

Seattle, WA

Jan 26, 2011

@echo off

echo This script will cleanup the extra "Client Tools" menu options when right clicking a machine.

echo These options are part of the "Right Click Tools" install.

echo Please verify the path to the SCCM Admin console is correct in the script before proceeding.

pause

set SCCMExtensionPath=C:\Program Files\Microsoft Configuration Manager\AdminUI\XmlStorage\Extensions\Actions\7ba8bf44-2344-4035-bdb4-16630291dcf6

del "%SCCMExtensionPath%\*install.xml"

ren "%SCCMExtensionPath%\dClient WebReports.xml" "dClient WebReports.bak"

del "%SCCMExtensionPath%\*Client WebReports.xml"

ren "%SCCMExtensionPath%\dClient WebReports.bak" "dClient WebReports.xml"

ren "c:\windows\SccmTools\install.vbs" install.bak

del "c:\windows\SccmTools\*install.vbs"

ren "c:\windows\SccmTools\install.bak" install.vbs

echo Cleanup complete, please restart your SCCM Admin Console.

echo This window will now close.

pause

# January 26, 2011 4:31 PM

rejohnson said:

I think the tools need to be updated for Windows 7 64-bit.  Some of them appear to be looking in the wrong folder locations, such as ccmsetup.

Cheers!

Russell

# February 25, 2011 2:08 PM

rejohnson said:

Funny that the install is so inconsistent.  I've had some that worked w/o any duplicates, and others that had the dupes - same image on both PCs.

Anyway, I guess there's no more updating to these tools?  They are not compatible with 64-bit clients as many of the executables are looking for the wrong location to act on - CCM is in SysWOW64, not system32, and ccmsetup is in Windows, not system32...  Really need both x86 and x64 links in the tools.

# June 28, 2011 12:52 PM