Create Softwarecenter Shortcut in Start Menu via Configmgr

Target: Create Softwarecenter shortcut in start menu for all users and deploy it via Configmgr package

In my previous post I discripted howto create shortcuts in start menu and in the taskbar via Configmgr. In this post I’ll show you an example to create in Windows 10 start menu a shorcut to the softwarecenter of Configmgr.

You can download the package sources from the following link:

https://www.file-upload.net/download-12690011/softwarecenter_shortcut.zip.html

The package includes the Pinto10v2.exe and the powershell script to create the shortcut.

1

Source-Code of the .ps1:

#create shortcut and pinto Start-menu on Windows 10

.\PinTo10v2.exe /pinsm “$env:Homedrive\Windows\CCM\SCClient.exe”

#Rename the Shortcut

Get-ItemProperty “$env:Homedrive\Users\$env:USERNAME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\SCClient.lnk” | Rename-Item -NewName {$_.name -replace “SCClient”,”Softwarecenter”} -PassThru

Howto deploy the package.

Create a new package:

2

With a program – as command line use the .ps1 file. Run the program with user rights:

3

In the first test you can set the visibility to “Normal” for production deployments set it to Hidden:

4

Limit the package to Win10:

5

Distribute the package to the required Distribution-Points. And deploy it the the required collection.

The result will look like below.

Before the script runs:

6

Afterwards:

7

Create shortcuts in taskbar and start menu on Windows 10 via ConfigMgr

Target: Easily create shortcuts in taskbar and start menu on Windows 10 Professional

I wanted to create a few shortcuts in the taskbar and in the start menu on a few Windows 10 Professional devices.

As we cannot manage the shortcuts with the Windows 10 Professional version – I searched for a solution to manage it via an ConfigMgr package. I found a version of the already known PinTo application which had worked in Windows 7. The new version v2 works also in Windows 10 and the handling is realy easy.

The Sources for the Pinto10v2.exe can be downloaded here / created by Stuart Pearson:

https://www.dropbox.com/s/q4joxy231hz0klj/PinTo10v2_1.1.zip?dl=1

The program is very easy to use - see the syntax below:

Syntax: PinTo10v2 [/pintb | /unpintb | /pinsm | /unpinsm] 'filename'

pintb   = Pin to the Task Bar

unpintb = Unpin from the Task Bar

pinsm   = Pin to the Start Menu

unpinsm = Unpin from the Start Menu

Examples:

Pin powershell.exe to taskbar:

PinTo10v2.exe /pinsm "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"

Unpin powershell.exe from taskbar:

PinTo10v2.exe /pintb "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"

Pin powershell.exe to start menu:

PinTo10v2.exe /pinsm "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"

Unpin powershell.exe to start menu:

PinTo10v2.exe /pinsm "C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"

In this post I’ll explain how to create a shortcut in the taskbar & start menu for Powershell and Internet Explorer.

First copy the PinTo10v2.exe in a folder and create a .cmd file with the required syntax of the Pinto10v2.exe:

1

2

Afterwards I created a package that runs in hidden mode:

3

Distribute the package afterwards to the required distribution-points. And deploy the package to the required collection.

In my case everything went smooth – start menu and taskbar before:

4

Start menu and taskbar afterwards:

5

The PinTo10v2.exe can also be used in powershell-script / for example in the App Deployment Toolkit.

Import “dynamic” start-menu during OSD SCCM

We had the need to import two different start-menus.

One which includes the Office Shortcuts and one without.

But this method you can also use to build your required “dynamic” start layout in Windows 10.

With MS Office installed:

dyn1

Without:

dyn2

The first step is that you export the two start-layouts with the following command:

export-startlayout –path <path><file name>.xml

https://docs.microsoft.com/en-us/windows/configuration/customize-and-export-start-layout

Name it for example:

Start_with_office.xml

And:

Start_without_office.xml

Afterwards create a small powershell script – the scripts copys the IE11 .Ink file and checks if Office 2013 (Office15)

is installed / if yes the start-layout with the Office Icons will be imported if not the default without Office will

be imported.

dyn3

To Import the IE11 Icon again -> you need to copy also the IE.ink file to the destination.

In the package place now the Internet Explorer.Ink file plus the two .xml Layouts and the powershell script:

dyn4

Distribute the package to the required DP’s and you can run the import during the task-sequence:

2017-08-27 16_10_49-Import _dynamic_ start-menu during OSD SCCM - OneNote