ConfigMgr Console

Configuration Manager Deployment Test #2

Topics: ConfigMgr Console, Systems Management

Configuration Manager Deployment Test #2

Deploying an Application

In yesterday’s post, “Configuration Manager Deployment Test #1,” I indicated that there are two ConfigMgr deployment tests that should be performed if you have any doubts about the health of your ConfigMgr environment. The first test, demonstrated yesterday, ensures that the basic software deployment process is working correctly. This procedure, however, does NOT test the deployment of source files to a Distribution Point (DP) and then the source file deployment to a ConfigMgr test client. This is where Configuration Manager Deployment Test #2 comes into play.

In today’s test, I will show you how to create a package and program with a small application, deploy it to your DPs, and then deploy it to your test computer. When this test is completed it will prove the functionality of the site server, Management Point (MP), DP, and ConfigMgr test client by showing that all are working as expected.

Choosing a Test Application to Deploy

What application should you deploy? It doesn’t really matter, but I always like to use something small in order to quickly complete the whole process. In this case, I will create a package and program that will copy CMTrace to the %windir% directory. The batch file will be called install.bat and it consists of a single line:

copy %~dp0cmtrace.exe %windir%

Yes, I know that this command line in the batch file could be done within the program execution line, but I also know that over time my batch file will grow to include other items, such as bginfo.exe, which I will install on all computers. By the way, bginfo.exe is super-handy for VMs and labs.

Note: this is not a step-by-step guide. It will only cover high-level steps or important items.

Let’s get started!

Configuration Manager Deployment Test 2-Create Package and Program Wizard-Package

First, create a package with the name, CMTrace, and then provide the appropriate details. Next, ensure that you select the This package contains source files check box.

Configuration Manager Deployment Test 2-Set Source Folder

Provide the location of the source files and then complete the rest of the wizard steps as you would for any other package.

Configuration Manager Deployment Test 2-Create Package and Program Wizard-Standard Program

My Standard Program properties window looks like the above screenshot. Notice that I have changed a few of the options to meet my needs.

Now that my package and program are created, I will distribute the package content to all of my DPs. I like to do this step at this stage instead of distributing the package within the deployment wizard. Why? It can take several days (especially in large organizations) to deploy an application to all DPs. This also allows me to determine if there is a problem with the content distribution before I create the deployment to my test collection.

Configuration Manager Deployment Test 2-Distribute Content

Start by right-clicking on CMTrace and then select Distribute Content.

Configuration Manager Deployment Test 2-Distribute Content Wizard-Content Destination

Add all of the DPs that you would like to test this deployment on. Complete the wizard as you normally would.

Configuration Manager Deployment Test 2-Content Status

Wait for the content distribution to complete. Notice that I have successfully distributed content to my two DPs. Now it is time to create the deployment.

Configuration Manager Deployment Test 2-Deploy

Right-click on the program and select Deploy. Complete the wizard as you normally would to your test collection.

Configuration Manager Deployment Test 2-Deploy Software Wizard-Completion

You can see by the Completion window that I made my deployment as Available.

Configuration Manager Deployment Test 2-Software Center


At this point you can either wait for the Software Center to display the application or you can force the Machine Policy to run, thereby speeding up the process of it being displayed in the Software Center.

Configuration Manager Deployment Test 2-Software Center-Install

Once you see CMTrace in the Software Center, click on the icon and then click on the Install button to start the installation.

Configuration Manager Deployment Test 2-Software Center-Status

The install.bat will complete the install in 1 second or less, so it is very likely that you will miss it! You need to validate that it completed correctly, so first review the Software Center and ensure that Status is Installed (see purple arrow).

Command Prompt

Next open a CMD and confirm that cmtrace.exe is within the Windows directory (%windir%).

Date and Time

Lastly, confirm the date and approximate time the installation was executed. You can do this by opening C:\Windows\ccmcache and locating the cache folder. In my case the cache folder is called, “cq.”

Cache Folder

If you like, you can open the cache folder (in my case C:\Windows\ccmcache\cq) and see all of the source files for your package.

Testing Configuration Manager Deployment

By performing this deployment test you proved that your ConfigMgr environment can deploy an application with source files. How?

First, the package content was distributed.

Second, the installation completed successfully. This proves that both the package and the downloading of the source files to the ConfigMgr cache occurred.

Third, the source files within the cache folder confirmed that the cache was used.

This test proves the functionality of the site server, MP, DP, and ConfigMgr test client.

Additional Configuration Manager Deployment Posts

By IT, for IT.

We are a dedicated group of Systems Administrators and tech-savvy product experts that love what we do and the IT community we do it with.

Back to Top