Forum Discussion

takoroni's avatar
takoroni
Copper Contributor
Dec 09, 2020

SMSCACHEDIR location

Hi all

in my 

client push installation properties -> installation properties 

we have SMSSITECODE=MCS SMSCACHEDIR="D:\SCCM" SMSMP=https://sccmserver.com 

whan i t try to install it manually ,no matter what i put in the command it ignore it & try installing the SMSCACHEDIR in drive D 

example  

ccmsetup.exe /MP:https://sccmserver.com SMSSitecode=mcx SMSCACHEDIR="C:\SCCM"

in the ccmsetup.log 

we get MSI: Invalid Drive: D:\

in the command line section i see it referring to right command 

but also FromAD: command line = SMSSITECODE=MCX  SMSCACHEDIR="D:\SCCM"  

 

any idea ??

needless to say i don't have drive D in this computer

and the installation fail

Roni

 

  • takoroni Have you tried specifying just the MP FQDN (without the https:// prefix) for the /mp command line parameter? According to the documentation, you should only include the https:// prefix when specifying a CMG for the /mp parameter. I wonder if the inclusion of the prefix "breaks" ccmsetup.exe, causing it to revert to the installation properties published in AD.

     

    In the SMSMP client.msi property, the https:// prefix does need to be included. So what you could try for your manual installation is something like this:

     

    ccmsetup.exe /MP:sccmserver.com SMSSITECODE=MCX SMSMP=https://sccmserver.com SMSCACHEDIR="C:\SCCM"

     

    For details, see CCMSetup.exe command-line parameters: /mp and Client.msi properties: SMSMP .

     

    For what it's worth: for domain-joined computers, it's usually not necessary to specify the /mp parameter and/or the SMSMP property, as they will retrieve these values from AD anyway.

    • takoroni's avatar
      takoroni
      Copper Contributor

      Michiel Overweel thank

      i remove the mp and left only the 

      SMSSITECODE=MCX SMSCACHEDIR="C:\SCCM"

       

      i has successfully install in c: drive

       

      Thank you

Resources