Fix SCCM Admin console silent command line issues
Question
anyone get the following command line working 🙂 or am I missing something? #sccm #configmgr #memcm 😇
ConsoleSetup.exe /q TargetDir=”%ProgramFiles%ConfigMgr Console” DefaultSiteServerName=MyServer.Contoso.com
https://docs.microsoft.com/en-us/mem/configmgr/core/servers/deploy/install/install-consoles
I couldn’t make this working ✅
Answers ( 12 )
It was because of a pending Teams installation
Got that details when I tried to install it without the silent switch
ConsoleSetup.exe /q TargetDir=”C:\\Program Files\\ConfigMgr Console” DefaultSiteServerName=MyServer.Contoso.com
Doesn’t help much I tried several times before
Hi,
Have you tried command prompt with run as administrator account?
Yes that was what I was trying
Anoop C Nair
Msi params need to be passed in /V.pls try below cmd,if still error try changing msi params to caps(TARGETDIR)
ConsoleSetup.exe /q /V”TargetDir=\”%ProgramFiles%ConfigMgr Console\\” DefaultSiteServerName=MyServer.Contoso.com”
Is there any space needed between /V and parameter
ConsoleSetup.exe /q /V ”TargetDir=”%ProgramFiles%ConfigMgr Console\” DefaultSiteServerName=MyServer.Contoso.com”
I tried both
ConsoleSetup.exe /q /V ”TargetDir=”%ProgramFiles%ConfigMgr Console\” DefaultSiteServerName=MyServer.Contoso.com”
ConsoleSetup.exe /q /V”TargetDir=”%ProgramFiles%ConfigMgr Console\” DefaultSiteServerName=MyServer.Contoso.com”
No luck
Hi,
Try this below command line.
ConsoleSetup.exe /q TargetDir=”C:\Program Files\ConfigMgr Console” DefaultSiteServerName=MyServer.Contoso.com
Thanks
Karthikeyan
It seems the backslash is not pasting for me as well…
I tried different combinations of target folder … none of them seems work
I think it should be
ConsoleSetup.exe /q TargetDir=”%ProgramFiles%\ConfigMgr Console” DefaultSiteServerName=MyServer.Contoso.com
Have you missed the ‘\’ in copy and paste?