tmoon-mint Posted August 22, 2016 Posted August 22, 2016 Hi all, Just wondered if any of you have managed to pin any items to the taskbar via an XML file. I have carried out the changes to our existing XML file that manages the start menu layout as per Microsoft's documentation however once I make the changes the XML file no longer applies and I get a default start menu again. Link to Microsofts documentation here: https://technet.microsoft.com/en-gb/itpro/windows/manage/configure-windows-10-taskbar If anyone manages to get it working it would be nice to know where I am going wrong.
mullet_man Posted August 22, 2016 Posted August 22, 2016 I've got it working, what have you done so far? Took me a while but got their in the end, make sure you copy the code from the website as when I tried to add the code to an exported xml i needed to add the code for the task bar as well as the code at the start of the xml file as per the website. Hope that makes some sort of sense
tmoon-mint Posted August 23, 2016 Author Posted August 23, 2016 So this is my current XML file without the taskbar part in it. Where exactly would I need to add to in order to get the taskbar layout too?
mullet_man Posted August 23, 2016 Posted August 23, 2016 This is mine If you look the very start of the XML is different this is what I had to copy from the MS link to get it working. xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification" xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout" Version="1"> My server isn't called server I've just changed the name. 1
tmoon-mint Posted August 23, 2016 Author Posted August 23, 2016 (edited) Okay I think I might understand now. This is what ive got after making the changes you suggested. Can you see anything wrong here? Sorry if i'm being thick haha. xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification" xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout" xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout" Version="1"> Edited August 23, 2016 by tmoon-mint
snagrat Posted August 23, 2016 Posted August 23, 2016 Thanks this worked for me. Although users can still unpin which I thought this stopped?
snagrat Posted August 23, 2016 Posted August 23, 2016 But log off and back on and they come back. I can cope with that. I can't get file explorer pinned in the task bar though. Using
snagrat Posted August 23, 2016 Posted August 23, 2016 Ah changed it to esktopApp DesktopApplicationLinkPath="c:\windows\explorer.exe" /> and it now works
mullet_man Posted August 23, 2016 Posted August 23, 2016 Nice one glad you got it working, I've not actually tried to unpin as yet am still at the early stage of my Windows 10 deployment for students (this is the start layout for them) staff don't get any layout and can setup their own start menus. I had a nightmare and that's why I changed lots of the shortcut locations to my redirected start menu. I hope it works when in the wild (will let you know in a few weeks when the kids are back)
FreelanceX Posted August 24, 2016 Posted August 24, 2016 You should be able to stop students unpinning them by locking down via taskbar GPO settings? I personally push out a start/task layout via script to new PCs so its the default but can be changed by users as they see fit. Don't like the GPO way of doing it, seeing as it prevents changes. I don't redirect the start menu mind you. I just use GPP to remove and add shortcuts when and where required. This works far better in Windows 10 personally.
aj3094 Posted March 21, 2017 Posted March 21, 2017 Hello, I am following the same code,but when I import getting error xml is not valid layout file Thanks in Advance
aj3094 Posted April 5, 2017 Posted April 5, 2017 Nooo, I am banging my head. Startmenu looks fine But the taskbar. I want to pin out edge and pin IE Thanks
mullet_man Posted April 5, 2017 Posted April 5, 2017 What's happened I've managed to pin IE to the taskbar, my start menu xml is posted further up this thread. I've edited the xml and replaced the shortcuts with direct links to a share on my fileserver, it seems to work fine.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now