Guest User

Untitled

a guest
Nov 17th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. 001| Configure Start Tile Layout
  2. 002| Export-StartLayout -Path $Env:WINDIR\system32\sysprep\StartLayout.xml
  3. 003| Add the following code after </DefaultLayoutOverride>:
  4. <CustomTaskbarLayoutCollection PinListPlacement="Replace">
  5. <defaultlayout:TaskbarLayout>
  6. <taskbar:TaskbarPinList>
  7. <taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\System Tools\File Explorer.lnk" />
  8. <taskbar:DesktopApp DesktopApplicationLinkPath="%APPDATA%\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk" />
  9. </taskbar:TaskbarPinList>
  10. </defaultlayout:TaskbarLayout>
  11. </CustomTaskbarLayoutCollection>
  12. 004| Add the following code to the XML namespace:
  13. xmlns:taskbar="http://schemas.microsoft.com/Start/2014/TaskbarLayout"
  14. 005| Import-StartLayout -LayoutPath $Env:WINDIR\system32\sysprep\StartLayout.xml -MountPath $Env:SYSTEMDRIVE\
  15. 006| Set default app configuration file to the following:
  16. <?xml version="1.0" encoding="UTF-8"?>
  17. <DefaultAssociations>
  18. <Association Identifier=".pdf" ProgId="Acrobat.Document.11" ApplicationName="Adobe Acrobat" />
  19. <Association Identifier="http" ProgId="IE.HTTP" ApplicationName="Internet Explorer" />
  20. <Association Identifier="https" ProgId="IE.HTTPS" ApplicationName="Internet Explorer" />
  21. </DefaultAssociations>
  22. 007| DISM /Online /Import-DefaultAppAssociations:$Env:WINDIR\system32\sysprep\appDefaults.xml
  23. 008| Copy %APPDATA%\Microsoft\Windows\Start Menu\Programs\Accessories\Internet Explorer.lnk to %ALLUSERSPROFILE%\ProgramData\Microsoft\Windows\Start Menu\Programs
  24. 009| Copy Internet Explorer shortcut to \Users\Default\Desktop
  25. 010| Create DWORD under HKLM\Software\Microsoft\Windows\CurrentVersion\Explorer named DisableEdgeDesktopShortcutCreation and set its value to 1
Advertisement
Add Comment
Please, Sign In to add comment