This message was deleted.
# citrix-vad
s
This message was deleted.
m
This is my XML
Copy code
<?xml version="1.0" encoding="utf-8"?>
<LayoutModificationTemplate
    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">

  <LayoutOptions StartTileGroupCellWidth="6" />
  <DefaultLayoutOverride LayoutCustomizationRestrictionType="OnlySpecifiedGroups">
    <StartLayoutCollection>
      <defaultlayout:StartLayout GroupCellWidth="6" xmlns:defaultlayout="http://schemas.microsoft.com/Start/2014/FullDefaultLayout">
        <start:Group Name="Customer" xmlns:start="http://schemas.microsoft.com/Start/2014/StartLayout">
          <start:DesktopApplicationTile Size="2x2" Column="0" Row="4" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Office 365\MS Outlook.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="2" Row="4" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Office 365\MS Word.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="4" Row="4" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Office 365\MS Excel.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="2" Row="0" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\ERP1.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="0" Row="0" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Zubehör\Explorer.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="4" Row="0" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\ERP2.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="0" Row="2" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Google Chrome.lnk" />
          <start:DesktopApplicationTile Size="2x2" Column="2" Row="2" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\OfficeSuite.lnk" />
		  <start:DesktopApplicationTile Size="2x2" Column="4" Row="2" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Office 365\MS Teams.lnk" />
        </start:Group>
      </defaultlayout:StartLayout>
    </StartLayoutCollection>
  </DefaultLayoutOverride>

  <CustomTaskbarLayoutCollection PinListPlacement="Replace">
    <defaultlayout:TaskbarLayout>
      <taskbar:TaskbarPinList>
		<taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Zubehör\Explorer.lnk" />
		<taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Google Chrome.lnk" />
      </taskbar:TaskbarPinList>
    </defaultlayout:TaskbarLayout>
  </CustomTaskbarLayoutCollection>

</LayoutModificationTemplate>
j
That shouldn't happen, I changed the path to an executable in our last monthly update and it works fine
m
What if I changed the path to the EXE, by using GPP shortcut replace? Name and path stayed the same, just the path to the exe changed.
j
I had to take (2016) out of the path to one of my shortcut files, and it worked OK
m
I just restore my situtation, I destoryed it testing an send you a screenshot
Ok to cleary specify What I'm seeing, I just restored the FSL VHDX from yesterday. I changed only to path to the EXE via GPP shortcut replace I logon, startmenu looks perfectly fine. The update LNK files in the startmenu work perfectly fine. BUT when I press one of the two affected tiles, nothing happens.
And this it what it looks like after the 2nd logon
I can't even right-click the tiles
j
Very odd. I'd create a whole new XML file and reapply it
m
Sorry for the question: But what would be the difference, to create another XML with the same content? Ps.: I apply it via GPO
j
Nothing, but it should work perfectly, so I can only assume something appears wrong with either the XML being applied or how it is being applied
m
I did as you asked, This leads to an interesting result. The missing buttons work again, but the Google Chrome vanishes.
j
Now I'm really confused
m
Me too. This gives me headaches. This is the last tiny piece before this project goes into testing.
So I restored my FSL VHDX again from yesterday. The ERP icons now work. I don't know why, the Paths are literally the same. I didn't change anything in regards to the Google Chrome LNK, the tile is still gone.
j
Damn Tiles. Bring back the filesystem
m
Whops. Just got worse
So ähm James, back to my original question. Do you happen to know how I can soft reset that, without deleting the VHDX? Something I can hit with a logon script for example?
j
You tried deleting the CloudStore entries out of the Registry?
m
Is it this one?
Copy code
Remove-Item 'HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore\Store\Cache\DefaultAccount\*$start.tilegrid$windows.data.curatedtilecollection.tilecollection' -Force -Recurse
j
Yep, but everything from CloudStore downwards
Looks like you already have 🙂
m
so ähm
Remove-Item 'HKCU:\Software\Microsoft\Windows\CurrentVersion\CloudStore'  -Force -Recurse
Like this?
j
Yep, I'd try that first. I'm sure there is a filesystem entry in LOCALAPPDATA\Microsoft\Windows as well but not sure it writes anything there
m
After the PS command, I'm back with working ERP tiles, but still a missing Chrome tile.
I renamed the LNK & tile to just 'Chrome' but no difference
n
dumb question here, but why are all the shortcuts pointing at %APPDATA%, when I've used .lnk locations in my XML previously I've used %ALLUSERPROFILE% for most of them including Google Chrome, the only exception was for "File Explorer". Also MS don't recommend using an .lnk file, but rather the DesktopApplicationID, though I have seen that cause problems too.
m
No dump question! Because I have this GPO active:
Remove common program groups from Start Menu Enabled
And create the startmenu via GPP shortcuts per user instead.
e
I’ve only seen this with Chrome, might be different versions in diff Master Image builds. Just drop Chrome for Edge ;-)
m
Also MS don't recommend using an .lnk file, but rather the DesktopApplicationID, though I have seen that cause problems too.
Well that's just the result of the Export-StartLayout command, I simple sticked to the Export
@Eric Yes I've a hard feeling that this is because of Chrome. That's why I tried renaming it to something else, but that didn't help.
Just drop Chrome for Edge 😉
Well I try it just for the lolz
Ps.: The Taskbar button, which has the exact same LNK path, works always!
j
In order to get Chrome to show a custom shortcut properly, we had to delete the chrome.VisualElementsManifest.xml file in the image
m
ohhhh so the problem is that the Chrome shortcut is not the original, but created by GPP shortcuts?
n
It might be the result, but it's not recommend cos file paths and shortcut names can change. Try changing the Chrome one to use a DesktopApplicationID="Chrome" see if it makes any difference. Or don't bother with any custom start layout, use the default and be done with it. MS have been known to change the goal posts regarding the startlayout, so I try and not touch it anymore
m
Try changing the Chrome one to use a DesktopApplicationID="Chrome"
With which command or tool, do i get the values for this parameter?
@Eric @James Rankin Well lol, that worked fucking great on the first try.
😀 2
n
Edit the XML and replace
<start:DesktopApplicationTile Size="2x2" Column="0" Row="2" DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Google Chrome.lnk" />
with
<start:DesktopApplicationTile Size="2x2" Column="0" Row="2" DesktopApplicationID="Chrome" />
m
I did understand you, But I would like to know where to get the ID if I want to link something else than Chrome, for example paint or mstsc
So it has to be a Chrome "issue", i play with the XML, google-search gives some interesting hints
n
Get-StartApps
👍🏻 1
m
@Nathan Sperry With the Application ID
n
dump chrome!!
m
Just tested again, a FSL reset works..
@James Rankin
we had to delete the chrome.VisualElementsManifest.xml file in the image
This sound so promising, but it doesn't let the tile re-appear. Google search also brings several hints regarding this file.
Just tested again, a FSL reset works..
Only for the first two logons. 😠
I now decided to ditch the Chrome tile. But now I'm back to the start, now the ERP tiles are invisible, when I logon with the profile from yesterday.
j
Hi @Marco Hofmann I feel your pain with Win2019 Start menu issues😞. Can I ask, where is the xml stored? Local disk? Network share? Also I read an article online that best to apply the startmenu XML via a local GPO rather than domain GPO.
m
Currently on a share, applied via domain gpo
o
@Marco Hofmann: Create a GPP item to publish my script? I've been happily using it for exactly this purpose for almost 2 years: https://github.com/getvpro/Reset-Win10StartMenu Test it in your environment first, obvz
👍🏻 1
m
@Owen Reynolds sound promising! Tested on 2019 1809 ?
o
I had originally written it for Win 10, I tested on Win 2019 1809 just now, and the TILE area reset as expected, but the pinned items in the taskbar area did not! I'll keep testing and upload a new version of the above script ifI can fix it
👍 1
m
I already "fixed" several things for me personally. Testing it in the last few hours, it works very well so far!
Thank you so much!
I translated it, added a SIlentContinue to the Copy step and created an EXE with ps2exe I will add the EXE to the start menu, so users can self service reset their start menu
@Owen Reynolds Just to give back, I don't know if you are interested in my changes.
o
Thanks! I noted I didn't include if (test-path) statements on the original script, yeah 😛
m
Do'h you are right. That is much better than SilentlyContinue, I completely forget. But non-the-less, this was of great help!
o
Excellent! Glad to hear it I've uploaded a new version as well with the code stop prevent false errors: https://github.com/getvpro/Reset-Win10StartMenu/blob/master/Reset-StartMenu.ps1
👍🏻 1
j
@Owen Reynolds @Marco Hofmann Thanks for the thread and script. The script has resolved a really annoying issue with the start menu that I’ve had for a while. 👍🏻
👍 2
👍🏻 2
e
Never ending story. Trying to rip out Google, but customer still wants it. Every time Google is updated in the Master Image (Evergreen) the icon breaks. Heck, even unpin repin does not work, icon okay on Start Menu, but not as pinned