This project is read-only.

*** UPDATE ***
SCCM Client Actions Tool has got a new successor:  "PoshCAT" by Kaido Järvemets. Please check this out before using the old one! The old one has no support any more.

Project Description
SCCM Client Actions Tool or SCCM CAT is a practical and simple HTA application for performing most common day-to-day administrative tasks on System Center Configuration Manager 2007 clients. The tool allows running actions remotely on one or more computers. A list of computers can be provided either from a file (XLS, XLSX, CSV, TXT), loaded from SCCM collection or simply entered as a text into a text area. The main goal for creating this tool was to have something simple that doesn’t have any prerequisites and doesn’t require installation. Just pick it up and run. It’s an alternative to SCCM console and right-click tools because it’s not always possible to install SCCM console everywhere and manage clients in closed environments. The features are as follows:

  • Initiate most common SCCM client schedule actions.
  • Initiate various actions to manipulate SCCM client agent. Install/uninstall agent, change GUID, assign site code, change cache size, etc.
  • Initiate SCCM client health checks and fixes. Allows running checks with and without fixes as well as full health check.
  • Initiate various administrative actions on workstations. Copy a file to remote computers, refresh policies, reset security settings, wake on LAN, etc.
  • Query for different values from remote computers. Query for wide range of information such as current management point, available advertisements, logged-on user, WSUS server, WUA version, patch status, system uptime, reboot pending state, etc.
  • Switch between integrated authentication and alternate credentials. Supports using multiple credentials. When logged on username has not enough rights it’s possible to specify alternate credentials by clicking on a link in top-right corner. Windows XP requires that cmdkey.exe is available in HTA folder.
  • Check for newer versions of the tool on startup.
  • Automatically install SCCM client during health check in case version is too old or agent does not work. Optional feature that can be enabled in configuration file.
  • Save list of offline computers for later use. Optional feature that can be enabled in configuration file.
  • Easily configure client installation properties. Ccmsetup.exe command line can be created dynamically by using GUI controls.
  • Use TXT, CSV, XLS or XLSX files as the data source. Files with TXT extension must have computer names on each line. Excel worksheets are read from column A starting from second row and it’s possible to write results back to worksheet. Using exported CSV from SCCM console is also supported.
  • Populate computer list from SCCM collection. Allows loading all collection members into a list.
  • Manually enter computer names into a textbox. Allows manually entering one or more computers in a text box for quick actions.
  • Supports both 32-bit and 64-bit OS on clients.
  • Supports Windows XP SP2 and newer operating systems on clients.
  • Displays real-time progress. Works when running HTA on Windows 7 or Windows Server 2008. Useful when there are thousands of computers and it would be nice to know how much is done. HTA window may not update as smoothly in Windows XP and Windows Server 2003, but it works.
  • Log is created in a text area and in a file. Lastlog.log is written to HTA folder. By default the log is using Trace32 log formatting. Log can be opened directly in application. It’s also possible to keep log history.
  • Uses configuration file to store default settings.

The tasks that can be performed are classified by 5 categories:

  • Client schedule actions
    • Hardware Inventory Cycle
    • Software Inventory Cycle
    • Discovery Data Collection Cycle (Send DDR)
    • Machine Policy Retrieval & Evaluation Cycle
    • Software Updates Deployment Evaluation Cycle
    • Software Updates Scan Cycle
    • File Collection Cycle
    • Windows Installer Source List Update Cycle
    • Software Metering Usage Report Cycle
    • Branch Distribution Point Maintenance Task
    • Certificate Maintenance Task
  • Client agent actions
    • Open SCCM client log folder
    • Open SCCM client setup folder
    • Get management point
    • Restart SMS Agent Host service
    • Repair SCCM client
    • Reset SCCM client policies
    • Reassign site code
    • Generate new SMS GUID
    • Delete trusted root key
    • Delete certificates (re-register client)
    • Re-register ATL.DLL
    • Change client cache size
    • Uninstall SCCM client
    • Install SCCM client
  • Client health actions
    • Check WMI; Fix WMI
    • Check services; Check & Fix services
    • Check admin$ share; Check & Fix admin$ share
    • Check assigned site; Check & Fix assigned site
    • Check registry; Check & Fix registry
    • Check inventory; Check & Fix inventory
    • Check client version; Check & Fix client version
    • Full health check
    • Full health check with fixes
  • Advertisement actions
    • Query advertisement status
    • Get all active advertisements
    • Get all active user advertisements
    • Rerun advertisement
    • Rerun user based advertisement
  • Other actions
    • Ping workstations
    • Wake On LAN
    • Refresh group policies
    • Reset security settings
    • Execute remotely (as SYSTEM)
    • Copy a file
    • Get logged-on user
    • Get computer OU
    • Get WSUS content location
    • Get WUA version
    • Query Update Status
    • Get reboot pending state
    • Get system uptime
    • Log off current user
    • Reboot workstations
    • Shut down workstations
    • Power off workstations



Author: Christjan Schumann

Last edited Aug 8, 2013 at 1:16 PM by pr3m, version 30