mtniehaus / AutopilotBranding

MIT License
316 stars 82 forks source link

Q: Is the Start2.bin only for Start menu ? What about taskbar ? #12

Open Boss-man opened 5 months ago

Boss-man commented 5 months ago

Hi

As the title says I tried adding new shortcuts to the taskbar, and then copy the Start2.bin file from my users folder. But it didn't apply on the new machine.

Are there more to it when it comes to the taskbar shortcuts ?

mtniehaus commented 5 months ago

Yes, Start2.bin is only for the start menu layout. For the task bar, you have to use the "old" layout XML file, just like you did for Windows 10.

Boss-man commented 5 months ago

I used to use that, but somehow it stopped working and reporting the XML file as invalid.

Its applied thru and Intune package so the xml file has not changed for a long time.

When trying to export a new one, its now being exported as a json file.

Will look at it again tomorrow.

Boss-man commented 5 months ago

Looked at it some more and found this thread on reddit: https://www.reddit.com/r/MDT/comments/1cljzib/comment/l2y7sx3/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

Here it seems that a newer build of W11 broke the import-startlayout command.

I'll now try this solution instead, unless there is a better way: https://www.everything365.online/2023/07/21/deploy-a-customized-windows-11-taskbar-that-allows-users-to-change-the-pinned-apps/

kcyberman17 commented 3 weeks ago

Here is what I did for the Taskbar instead of what is in the script.

Copy-Item "$($installFolder)Layout.xml" "C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\Layout.xml" -Force