Jump to content

Recommended Posts

Posted

Hi folks,

 

I'm after some advice with tile and taskbar layouts, provisioned by group policy. I've followed the guide here for tiles and have used this for a couple of years https://docs.microsoft.com/en-gb/windows/configuration/customize-and-export-start-layout

 

I have one niggle with tiles, in that I want to create a tile that signs the user out. This points to a shortcut that in turn runs C:\Windows\System32\logoff.exe. I've created the tile like all the others that work, but it doesn't appear. Similarly I would like another tile that runs our PaperCut client app, which is antoher link that goes to the pc-client-local-cache.exe app on the print server. Same problem, the tile doesn't appear. Code for both is as follows. Position seems to be irrelevant, because they just don't appear, so there must be something peculiar about the links or apps that breaks the tile. Any ideas?

 

         

 

I'm also trying to modify the taskbar, but can't get that to work at all. I'm using Microsoft's guide at the following link, but even their example code doesn't work. I just end up with a duff set of tiles and no modified taskbar, which essentially means it has failed to process the XML. Any clues on getting this working, or is it just broken? (I'm testing in 1903) https://docs.microsoft.com/en-gb/windows/configuration/configure-windows-10-taskbar

 

Thanks

Posted
Got all of this setup at my school, I’ll have a look Monday and go through the setup if someone else hasn’t done so by then 🙂
  • Thanks 1
Posted

Thanks, it will be much appreciated.

 

It's frustratingly fragile. This is the code I have just for the tiles, which works fine. But if I change things around too much e.g. drop the group cell width to 4, then it fails to process.

 

 
 
   
     
       
         
         
         
         
       
       
         
         
         
         
         
       
     
   
 

 

I've just tried adding this very simple change to the taskbar, including the end code from the start menu just to demonstrate it was there, and this breaks the processing i.e. I just get the default start menu and no change to the taskbar.

 

   
     
       
  
       
     
   

  • Thanks 1
Posted
It's frustratingly fragile.

When exporting the layout try adding the -UseDesktopApplicationID switch onto the end. e.g.

 

Export-StartLayout -Path "$env:Temp\StartLayout.xml" -UseDesktopApplicationID

 

I've just tried adding this very simple change to the taskbar, including the end code from the start menu just to demonstrate it was there, and this breaks the processing i.e. I just get the default start menu and no change to the taskbar.

To modify the taskbar you also need to add the line highlighted in red below. It's not there by default.

 

    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"
   [color="#FF0000"]xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout"[/color] 
   Version="1">
   
   
       
           
               
                   
                   
                   
                   
               
               
                   
                   
                   
                   
                   
               
           
       
   
   
       
           
               
           
       
   

  • Thanks 2
Posted (edited)

You got the full version of XML you're trying to use with the shortcuts in? Doesn't look like anything is different in your top post from what we use, and it's running fine

 

The only thing we did notice, is for papercut you also need to add a link to pc-toast-notify.exe into "Programs" within the start menu, as the client refers to it and will wobble without it unless they've fixed that in a newer version

 

Edit - Just noticed on ours we're using shutdown /l rather than logoff.exe? Might be worth a shot

 

Steve

Edited by Steve21
  • Thanks 2
Posted

Thanks guys. I've got the tile to work properly, including logoff and the printer credits. @Arthur it was definitely about getting those links correct via using that flag when exporting.

 

Code is now as follows, but I still cannot get the taskbar to change. I've followed the Microsoft guide, ensure that the schema is there, but it doesn't change. I've tried both adding and replacing, doesn't make any difference. Any ideas?

 

	xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout"
xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout"
xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"
xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout"
Version="1">
 
 
   
     
       
         
         
         
         
       
       
         
         
         
         
         
	   
	  
       
     
   
 
 

	
		
		
       	
	
   
 

  • Thanks 1
Posted
Hmm, as a user if I try and browse to %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Word.lnk I get the error "Accessing the resource '%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Word.lnk' has been disallowed." so I'm guessing somewhere in a GPO I've disabled the ability for the user to see this, hence it doesn't appear. Now to try and figure out (a) where I've disabled it or (b) can I point to something else that isn't disabled.
Posted

Have tried using AppUserModelID, same problem. No apps appear on taskbar. Also tried with Replace enabled.

 

	xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout"
xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout"
xmlns="http://schemas.microsoft.com/Start/2014/LayoutModification"
xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout"
Version="1">
 
 
   
     
       
         
         
         
         
       
       
         
         
         
         
         
	   
	  
       
     
   
 
 

	
		
		
		
	
   
 

Posted
I think I've sussed it. It's because I disallow access to the C drive. I've just tried using LNK files in a UNC path that are on a network share (we redirect to a fixed start menu) and now they appear. Wahoo!
  • Thanks 1

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...