Tag Archives: command

Clean up the WinSxS folder on Windows 2012 R2

Use the /AnalyzeComponentStore to analyze the size of the Component Store (WinSxS folder) in Windows. The AnalyzeComponentStore option is available in Windows 8.1 Windows Server 2012 R2.

dism.exe /online /Cleanup-Image /AnalyzeComponentStore

Dism.exe removes superseded and unused system files from a system with the /StartComponentCleanup parameter.

dism.exe /online /Cleanup-Image /StartComponentCleanup

Using the /ResetBase switch with the /StartComponentCleanup parameter of dism.exe, all superseded versions of every component in the component store is removed.  All existing service packs and updates cannot be uninstalled after this command is completed. This will not block the uninstallation of future service packs or updates.

dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

The /SPSuperseded parameter removes any backup components needed for de-installation of a service pack. The service pack cannot be uninstalled after this command is completed.

dism.exe /online /Cleanup-Image /SPSuperseded


Configure network settings on a new CentOS 7 server

  1. use the nmtui to configure the network connection.  Define the netmask in the ip address.
     Ex. or
  2. Restart the network services for changes to take place:
    systemctl restart network.service.
  3. To be able to use the ifconfig command, install the net-tools
    yum -y install net-tools
  4. To be able to use the nslookup command, install the bind-utils
    yum -y install bind-utils
  5. Update the build
    yum -y update

Manually uninstalling Symantec Management Agent

Run through the following steps to fully remove the Symantec Management Agent (A.K.A. Altiris Agent).

Run the following command line to remove the Altiris Agent using AeXAgentUtil.exe located by default at

C:\Program Files\Altiris\Altiris Agent\

If you are running this on Windows 2008 or Windows 7, be sure to run this in a command window running as administrator.

AeXAgentUtil.exe /clean

This will remove all plug-ins (agents) and from the computer.  A reboot of the computer is required if you plan to reinstalling agents.

Optional: Delete Program files at :

C:\Program Files\Altiris\Altiris Agent

The utility cannot clean itself out while it was running.

You should also go and delete this resource on the SMP console.  It frees up a license and keeps things tidy.