SMSCACHEDIR location

%3CLINGO-SUB%20id%3D%22lingo-sub-1970926%22%20slang%3D%22en-US%22%3ESMSCACHEDIR%20location%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1970926%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%3C%2FP%3E%3CP%3Ein%20my%26nbsp%3B%3C%2FP%3E%3CP%3Eclient%20push%20installation%20properties%20-%26gt%3B%20installation%26nbsp%3Bproperties%26nbsp%3B%3C%2FP%3E%3CP%3Ewe%20have%20%3CSTRONG%3ESMSSITECODE%3DMCS%20SMSCACHEDIR%3D%22D%3A%5CSCCM%22%20SMSMP%3D%3CA%20href%3D%22https%3A%2F%2Fsccmserver.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsccmserver.com%3C%2FA%3E%3C%2FSTRONG%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewhan%20i%20t%20try%20to%20install%20it%20manually%20%2Cno%20matter%20what%20i%20put%20in%20the%20command%20it%20ignore%20it%20%26amp%3B%20try%20installing%20the%26nbsp%3B%3CSTRONG%3ESMSCACHEDIR%3C%2FSTRONG%3E%20in%20drive%20D%26nbsp%3B%3C%2FP%3E%3CP%3Eexample%26nbsp%3B%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSTRONG%3Eccmsetup.exe%20%2FMP%3A%3CA%20href%3D%22https%3A%2F%2Fsccmserver.com%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fsccmserver.com%3C%2FA%3E%20SMSSitecode%3Dmcx%20SMSCACHEDIR%3D%22C%3A%5CSCCM%22%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3Ein%20the%20%3CSTRONG%3Eccmsetup.log%26nbsp%3B%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3Ewe%20get%26nbsp%3BMSI%3A%20%3CSTRONG%3EInvalid%20Drive%3A%20D%3A%5C%3C%2FSTRONG%3E%3C%2FP%3E%3CP%3Ein%20the%20command%20line%20section%20i%20see%20it%20referring%20to%20right%20command%26nbsp%3B%3C%2FP%3E%3CP%3Ebut%20also%26nbsp%3B%3CSTRONG%3EFromAD%3A%20command%20line%20%3D%20SMSSITECODE%3DMCX%26nbsp%3B%26nbsp%3BSMSCACHEDIR%3D%22D%3A%5CSCCM%22%26nbsp%3B%3C%2FSTRONG%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eany%20idea%20%3F%3F%3C%2FP%3E%3CP%3Eneedless%20to%20say%20i%20don't%20have%20drive%20D%20in%20this%20computer%3C%2FP%3E%3CP%3Eand%20the%20installation%20fail%3C%2FP%3E%3CP%3ERoni%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1976171%22%20slang%3D%22en-US%22%3ERe%3A%20SMSCACHEDIR%20location%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1976171%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F894784%22%20target%3D%22_blank%22%3E%40takoroni%3C%2FA%3E%26nbsp%3BHave%20you%20tried%20specifying%20just%20the%20MP%20FQDN%20(without%20the%20%3CSTRONG%3Ehttps%3A%2F%2F%3C%2FSTRONG%3E%20prefix)%20for%20the%20%3CSTRONG%3E%2Fmp%3C%2FSTRONG%3E%20command%20line%20parameter%3F%20According%20to%20the%20documentation%2C%20you%20should%20only%20include%20the%20%3CSTRONG%3Ehttps%3A%2F%2F%3C%2FSTRONG%3E%20prefix%20when%20specifying%20a%20CMG%20for%20the%20%3CSTRONG%3E%2Fmp%3C%2FSTRONG%3E%20parameter.%20I%20wonder%20if%20the%20inclusion%20of%20the%20prefix%20%22breaks%22%20ccmsetup.exe%2C%20causing%20it%20to%20revert%20to%20the%20installation%20properties%20published%20in%20AD.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EIn%20the%20%3CSTRONG%3ESMSMP%3C%2FSTRONG%3E%26nbsp%3Bclient.msi%20property%2C%20the%20%3CSTRONG%3Ehttps%3A%2F%2F%3C%2FSTRONG%3E%20prefix%20%3CSTRONG%3Edoes%3C%2FSTRONG%3E%20need%20to%20be%20included.%20So%20what%20you%20could%20try%20for%20your%20manual%20installation%20is%20something%20like%20this%3A%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CPRE%20class%3D%22lia-code-sample%20language-applescript%22%3E%3CCODE%3Eccmsetup.exe%20%2FMP%3Asccmserver.com%26nbsp%3BSMSSITECODE%3DMCX%20SMSMP%3Dhttps%3A%2F%2Fsccmserver.com%26nbsp%3BSMSCACHEDIR%3D%22C%3A%5CSCCM%22%3C%2FCODE%3E%3C%2FPRE%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20details%2C%26nbsp%3Bsee%26nbsp%3B%3CA%20title%3D%22CCMSetup.exe%20command-line%20parameters%3A%20%2Fmp%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fconfigmgr%2Fcore%2Fclients%2Fdeploy%2Fabout-client-installation-properties%23mp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3ECCMSetup.exe%20command-line%20parameters%3A%20%2Fmp%3C%2FA%3E%26nbsp%3Band%20%3CA%20title%3D%22Client.msi%20properties%3A%20SMSMP%22%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fmem%2Fconfigmgr%2Fcore%2Fclients%2Fdeploy%2Fabout-client-installation-properties%23smsmp%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EClient.msi%20properties%3A%20SMSMP%3C%2FA%3E%26nbsp%3B.%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EFor%20what%20it's%20worth%3A%20for%20domain-joined%20computers%2C%20it's%20usually%20not%20necessary%20to%20specify%20the%20%3CSTRONG%3E%2Fmp%3C%2FSTRONG%3E%20parameter%20and%2For%20the%20%3CSTRONG%3ESMSMP%3C%2FSTRONG%3E%20property%2C%20as%20they%20will%20retrieve%20these%20values%20from%20AD%20anyway.%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

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

 

2 Replies

@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.

@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