When you create Task Sequence media in Configuration Manager, the environment variable TMP is used to locate temporary storage for the creation process.

By default this points to the users temp folder, which is usually on C: drive with limited space.

While this is normally not a problem for creating an online boot media, creating offline media with many driver packages, software packages etc. you are bound to run into trouble.

It is not only the Create TS Media wizard that uses this location, is also used when a WIM file needs to be mounted, so every time you create an new boot media or inject drivers/updates etc. into an image this temporary storage is used. In SCCM 2012 R2, the new Virtual Hard Disk feature will also uses this temporary storage location.

Symptoms

When using the Create Task media Wizard, you receive an error stating that there is not enough disk space.

2014-10-28 08_51_22-Coretech - KK-SCCM-SQL01.ks.kk.dk - [SCCM Siteserver] - Royal TS

When you investigate the CreateTsMedia.log (Located in the <ConfigMgr install path>\\AdminConsole\AdminUILog folder> you will notice that the temporary storage is the temp folder in the users profile.

log

Solution

Well the solution is simple, we must change the location of temp storage to a drive with enough space available.

Start the “System” control panel from Control panel –> System and Security –-> System –> Advanced System Settings. Click Environment Variables…

system

Edit the TMP variable in the user profile to a folder on a drive with plenty of space, make sure the folder already exist.

2014-10-28 08_57_13-Coretech - KK-SCCM-SQL01.ks.kk.dk - [SCCM Siteserver] - Royal TS

Restart the Configuration Manager console, and the new temporary location will be used.