Microsoft, SCCM

Prevent SCCM from installing files on a specific drive

1 min read

This post is from 2011. Products and screens have changed since then, so check the current documentation before you follow these steps.

By default, the Configuration Manager 2007 site server role component installation files are installed on the first available NTFS formatted disk drive with the most available free disk space. However, some files are not installed in the default installation folder. For example, files are installed in the following folders:

  • The SMS_CCM folder (if the management point site system role is enabled on the computer);
  • The Inetpub\wwwroot\SMSComponent and Inetpub\wwwroot\SMSReporting_sitecode folders (if the reporting point role is enabled on the computer);
  • The %Windir%\System32 folder.

Configuration Manager 2007 will not install site role component files on a drive that contains a file named no_sms_on_drive.sms. Instead, site role components will be installed on a different NTFS formatted disk drive that does not contain the no_sms_on_drive.sms file.

The no_sms_on_drive.sms file prevents site system role component installation, on a drive with this file present, for all site systems that are installed by site component manager. If site role installation files are already present on the drive before placing the no_sms_on_drive.sms file on the drive, the installation files are not moved.

  1. Create an empty file named no_sms_on_drive.sms.

  2. Place the no_sms_on_drive.sms file at the root folder of any drive that you want to prevent Configuration Manager 2007 from installing files on.

  3. Place the no_sms_on_drive.sms file at the root folder of any drive that you want to prevent Configuration Manager 2007


Discover more from Jeroen Tielen

Subscribe to get the latest posts sent to your email.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.