• Home  / 
  • Research
  •  /  Command line options for Software Center

Command line options for Software Center

In SCCM CB 1706 there is a new feature that allows you to direct link an application to Software Center by pasting a link into your browser. This can be achieved by clicking the "Share" icon when you have choose the application you want to link to.

image

This will create a link like this:

softwarecenter:SoftwareID=ScopeId_6DBD4E39-1B15-4F1D-9264-E3BAFE97B0A3/Application_337e2afd-0ec2-4494-bb9e-d8787d7fc627

This link can then be used on a webpage or pasted directly into the address bar.

image

When you do this and the SCCM client with the new Software Center is installed it will trigger the following commandline:

"C:WINDOWSCCMClientUXSCClient.exe" softwarecenter:SoftwareID=ScopeId_6DBD4E39-1B15-4F1D-9264-E3BAFE97B0A3/Application_337e2afd-0ec2-4494-bb9e-d8787d7fc627

But there are some other undocumented command line options that can be used and that was already present in earlier versions of SCCM, I have confirmed them to work with CB 1702 but they might work on even earlier versions.

The first option is Page and it can be used with the following values:

  • AvailableSoftware
  • Updates
  • OSD
  • InstallationStatus
  • Compliance
  • Options

For example, the following syntax would start Sotware Center with the Applications tab open:

"C:WINDOWSCCMClientUXSCClient.exe" softwarecenter:Page=AvailableSoftware

image

To control the layout of the different tabs you can also add the two values FilterType and SortType. Depending on which tab you choose only certain of the values work, you will have to try which options works where.

FilterType:

0=All

1=AllMandatory

2=AllApplicationApps

3=MandatoryAppApplications

4=AllUpdates

5=MandatoryUpdates

6=AllHighImpactTS

7=MandatoryHighImpactTS

8=ACSApplications

SortType:

0=SortByNameDescending

1=SortByNameAscending

2=SortByDateDescending

3=SortByDateAscending

4=SortByPublisherDescending

5=SortByPublisherAscending

6=SortByStatus

The syntax for using FilterType and SortType is:

"C:WINDOWSCCMClientUXSCClient.exe" softwarecenter:Page=InstallationStatus FilterType=2 SortType=6

Thanks to "Erik DK" on the configmanager uservoice for pointing me in the right direction.

Update: Thanks to Mark Silvey @configmgrdev for pointing out that you should be very careful if using the path to SCClient.exe since that might change in the future. Where possible just use the "softwarecenter:" prefix. If you need to find out where the softwarecenter protocol is pointing to create a dynamic path its stored in HKLMSOFTWAREClassessoftwarecentershellopencommand registry path.

Hope this helps!

/Matt

Twitter: @matbg

About the author

Mattias Benninge

2
Leave a Reply

avatar
1 Comment threads
1 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
2 Comment authors
Mattias BenningeSusan Williams Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Susan Williams
Guest
Susan Williams

Hi Mattias, are you aware of any way to use these parameters to open to a particular search. For example, suppose we want to point users to all of the Adobe products available in the Software Center. Can I create a link with parameters that will open Software Center with the search term 'Adobe' that runs the search and returns all software with 'Adobe' in its name?


>