Onde está localizado o arquivo de configuração do menu Iniciar?
The default Start Menu template is located here:
%appdata%\Microsoft\Windows\Shell\DefaultLayouts.xml
Which expands to:
C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Shell\DefaultLayouts.xml
This file should not be modified.
To modify the start menu we use the file called
LayoutModification.xml
that should reside in the same directory:
%appdata%\Microsoft\Windows\Shell\LayoutModification.xml
Which expands to:
C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Shell\LayoutModification.xml
This file can be used in many ways for OEMs to add icons to the Start Menu or for us to override the default Start Menu.
More information on how to use these files can be found on MSDN at Start layout for Windows 10 desktop editions
Exporting a customized Start Menu layout
To export the Start Menu we start by using a computer and a user and adjust the Start Menu on that computer so it looks the way we want it.
Then we use PowerShell to export a customized start menu using the following command:
Export-Startlayout –path C:\Windows\Temp\Startmenu.xml
Import a Start Menu layout using PowerShell
Now that we have an exported Start Menu we can import it using PowerShell. All users that log on to the machine the first time will get this Start Menu layout that you import.
Import-StartLayout –LayoutPath C:\Windows\Temp\Startmenu.xml -MountPath $env:SystemDrive\
After the command is successfully completed the
Layoutmodification.xml
file is created here:
C:\Users\Default\AppData\Local\Microsoft\Windows\Shell\Layoutmodification.xml
When we log on to the computer as a "new" user that hasn't logged on the computer before we get the newly imported Start Menu.
Fonte Personalização do Windows 10 Menu Iniciar e adicione o atalho do IE durante o OSD
Onde o menu inicial do usuário está localizado?
O menu inicial específico do usuário está localizado em:
%appdata%\Microsoft\Windows\Start Menu
Que se expande para:
C:\Users\%username%\AppData\Roaming\Microsoft\Windows\Start Menu
Leitura Adicional
- Um índice A-Z da linha de comando do Windows CMD - Uma excelente referência para todas as coisas relacionadas à linha do Windows cmd.
- variáveis de ambiente - Variáveis de ambiente são usadas principalmente em arquivos de lote, elas podem ser criadas, modificadas e excluídas para uma sessão usando o comando SET.