![]() ![]() (New-Object -ComObject shell.application).Namespace('C:\Program Files (x86)\Microsoft Office\Office16\').parsename('powerpnt.exe').invokeverb('pintostartscreen') Pin.ps1 (New-Object -ComObject shell.application).Namespace('C:\Program Files (x86)\Microsoft Office\Office16\').parsename('excel.exe').invokeverb('pintostartscreen') Start /wait reg add "HKU\temphive\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce" /v powerpin /d "C:\WINDOWS\system32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy Bypass -File "C:\windows\w2d\pin.ps1"" /f If you want to add other tiles to all users pinned tiles you can run this as a post script start /wait reg load HKU\temphive c:\users\default\ntuser.dat Import-StartLayout -LayoutPath "c:\temp\Layout.xml" -MountPath "C:\"ĭism /image:c:\ /Import-DefaultAppAssociations:c:\temp\AppAssoc.xml Just prior to sysprep I run a powershell comand to create a file I reimport as a mid level task Export-Startlayout -path c:\temp\layout.xmlĪnd run this to export app assoc Dism /Online /Export-DefaultAppAssociations:c:\temp\AppAssoc.xml %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\internet explorer.lnk %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Google Chrome.lnk %ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\Mozilla Firefox.lnk also you can pin 3 items to the task bar during sysprep I copy the administrators profile to default when I sysprep so that will bring settings in the profile down. MS Docs Referenced for the Layout Modification: I am not pushing the Start Menu and Taskbar modification down per Group Policy because I want the user to be able to change the pinned apps and taskbar if they wish. Setting up the app links in the SysPrep Creator. Importing the LayoutModification.xml in a Post Install Task.Ĥ. Importing the LayoutModification.xml in a Mid-Level Task.ģ. Importing the LayoutModification.xml before SysPrepping.Ģ. What I want in the Taskbar is File Explorer, Firefox, Chrome, VLC.ġ. For the Taskbar, I get Edge and File Explorer. Instead of a layout of two groups of Internet Browsers and Services groups of website links int eh Start Menu, I get three groups of Create, Explore, and Play, several download icons and Microsoft Edge. Even our local administrator account's Start Menu layout and taskbar aren't correct. The layout for the Start Menu and the Taskbar are not what was set. ![]() After SysPrepping the reference VM, I captured the VM and imaged a machine with it. For Windows 10 v1809, I have created the LayoutModification.xml to include the Start Menu of pinned applications and the taskbar using the Microsoft websites listed below.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |