Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Thursday, January 28, 2016 2:12 PM
I am customizing my reference image and would like to remove all of the items pinned in the start menu. Where is that information kept? I mean there has to be a registry entry, no? I've looked and can't find anything. Is there a way to control this without a GPO? I've read a few articles that talk about exporting the time menu via PS once you've built a machine, but I'm wondering how to clear the whole magilla without having to do it manually. Any ideas/
All replies (6)
Thursday, January 28, 2016 2:40 PM
Hello,
If you like, you can disable whole Start Menu with the help of registry value mentioned here:
http://www.kapilarya.com/fix-start-button-not-working-in-windows-10
Setting the DWORD to 1 should disable Start Menu.
Hope this helps, Good luck :)
Windows Troubleshooting & How to guides - http://www.kapilarya.com
Thursday, January 28, 2016 2:56 PM
Hi,
While preparing image, it is good to removeall the pinned items and capture the same for deployment than GPO option
Regards,
RR
Thursday, January 28, 2016 4:39 PM
That's exactly what I am trying to do, only programmatically - like via a script or reg edit. Not really wanting to do it manually for all the tiles.
Friday, January 29, 2016 7:27 AM
Hi David Grider,
I found the following scripts.
"function Pin-App { param(
[string]$appname,
[switch]$unpin
)
try{
if ($unpin.IsPresent){
((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{$_.Name -eq $appname}).Verbs() | ?{$_.Name.replace('&','') -match 'Von "Start" lösen|Unpin from Start'} | %{$_.DoIt()}
return "App '$appname' unpinned from Start"
}else{
((New-Object -Com Shell.Application).NameSpace('shell:::{4234d49b-0245-4df3-b780-3893943456e1}').Items() | ?{$_.Name -eq $appname}).Verbs() | ?{$_.Name.replace('&','') -match 'An "Start" anheften|Pin to Start'} | %{$_.DoIt()}
return "App '$appname' pinned to Start"
}
}catch{
Write-Error "Error Pinning/Unpinning App! (App-Name correct?)"
}
}
Pin-App "Mail" -unpin
Pin-App "Store" -unpin
Pin-App "Calendar" -unpin
Pin-App "Microsoft Edge" -unpin
Pin-App "Photos" -unpin
Pin-App "Cortana" -unpin
Pin-App "Weather" -unpin
Pin-App "Phone Companion" -unpin
Pin-App "Twitter" -unpin
Pin-App "Skype Video" -unpin
Pin-App "Candy Crush Soda Saga" -unpin
Pin-App "xbox" -unpin
Pin-App "Groove music" -unpin
Pin-App "movies & tv" -unpin
Pin-App "microsoft solitaire collection" -unpin
Pin-App "money" -unpin
Pin-App "get office" -unpin
Pin-App "onenote" -unpin
Pin-App "news" -unpin" ""
It could be used to unpinned the built-in apps.
We may need to make a little changes to suit our needs.
Powershell: Windows 10 Modern Apps an Startmenü anheften oder entfernen (Pin oder Unpin)
NOTE: This response contains a reference to a third party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites.
Best regards
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].
Friday, January 29, 2016 12:21 PM
I saw a similar thing for VB script for IE a while back. I just wasn't sure where to find the EXE's or the shortcuts to enumerate the verbs. That's helpful - I'll look there.
Thanks!
Tuesday, February 2, 2016 2:41 AM | 1 vote
" I just wasn't sure where to find the EXE's or the shortcuts to enumerate the verbs"
How about running "Get-StartApps " with powershell?
Based on your situation, we could run the script as I posted before on a clean installation system (only built-in apps pinned). Then export the start menu with "Export-StartLayout"(a blank start menu) as a template.
Best regards
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].