![]() # Copying new backgrounds #Ĭopy-Item $PSScriptRoot\Wallpaper\DefaultRes\img0.jpg $OSDTargetSystemRoot\Web\Wallpaper\Windows\img0.jpgĬopy-Item $PSScriptRoot\Wallpaper\4k\*.* $OSDTargetSystemRoot\Web\4K\Wallpaper\WindowsĬopy-Item $PSScriptRoot\Lockscreen\img100.jpg $OSDTargetSystemRoot\Web\Screen Rename-Item $OSDTargetSystemRoot\Web\Screen\img100.jpg img106.jpg -Force Rename-Item $OSDTargetSystemRoot\Web\Wallpaper\Windows\img0.jpg img1.jpg -Force Write-Host "Renaming default backgrounds." $OSDTargetSystemRoot = "$($tsenv.Value("OSDisk"))" + "\Windows" I then put this into a “Run PowerShell Script” task after “Inject Drivers” in the PostInstall section of my task sequence. ps1 file I call “CustomizeWindowsOffline.ps1”. It may not be fully patched at deployment time, but that’s still easy enough to do after the fact. More info here: )īy doing things this way, I’ve also decided to not even bother building a reference image at all and instead, I now just load the Windows 10 media into MDT and deploy directly from that. LayoutModification.xml file (For this, you will modify an existing Start menu layout and then export it using Export-StartLayout.Lockscreen folder (This contains a single 1920×1200 img100.jpg image that gets copied to C:\Windows\Web\Screen.).The DefaultRes folder contains a single 1920×1200 img0.jpg image) The 4k folder contains images with the same dimensions as the images located in C:\Windows\Web\4K\Wallpaper\Windows on a Windows 10 machine. Wallpaper folder (this contains 2 folders called 4k and DefaultRes that contains the corporate-branded images.I am also using a custom StartLayout file that I’ve called “LayoutModification.xml”. I can copy our corporate branded backgrounds and modify the default user profile before even the first reboot. Because using CopyProfile during sysprep can have some strange side effects, I’ve decided to just script the customizations immediately after applying the image to the disk. In the past I’ve always deployed Windows operating systems by building a reference image in Audit Mode, customizing the default user profile, then sysprepping, and then finally capturing.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |