Pin to taskbat


Is it possible with PSADT to pin to taskbar but only for the default user? Not I would like not applying the change to everyone, just the new users?

Is it possible doing the samething with registry key so applying to HKU\ntuser.dat (default user profile)?

Use Set-PinnedApplication to pin to taskbar. AFAIK, you can’t pin to task bar using a reg mod, so you won’t be able to do this just for the default user.

To set a registry key only for the default user;

Invoke-HKCURegistrySettingsForAllUsers -RegistrySettings -UserProfiles (Get-UserProfiles | Where { $_.NTAccount -eq “Default User” })

Wow I loved this option, but… I getting the following error with Windows 10 Enterprise, 2015 LTSB 10240

Set-PinnedApplication -Action ‘PintoStartMenu’ -FilePath “$envProgramFilesX86\Internet Explorer\iexplore.exe”

[06-14-2017 16:07:45.892] [Installation] [Invoke-Verb] :: Performing action [Choose default app] is not programatically supported for this file [C:\Program Files (x86)\Internet Explorer\iexplore.exe].

Any suggestions, please and thanks.

I am not aware of the suggested option. However, if you enumarate in a text file all existing profiles… Then use a set-activesetup and check if the process is a new one from the text file.