A friend asked me to help her with a Win 10 Pro 1803 image yesterday

Windows

I'll keep it brief. No MDT in her environment yet, so just basic WDS. 1803 Pro image in audit mode. Applied latest CU. My friend was worried about using copyprofile, so I had her look up all the registry entries that corresponded with the various settings she wanted on the default user profile. After testing, some settings would get over-written upon first user login, so we shotgun approached it with a login script. Here is what we came up with:

SetDefaultProfile.bat - Run as admin in audit mode

https://pastebin.com/qkfgnC9L

LoginScript.bat - Copy to c:\windows\

https://pastebin.com/LCmfEx9G

Copy your company.themepack to C:\Windows\Resources\Themes\

Copy your LayoutModification.xml to c:\windows\

Here is the one we used that is super basic: https://pastebin.com/HKuzTjxA

Run powershell script Import-StartLayout –LayoutPath c:\windows\LayoutModification.xml –MountPath c:\

Sysprep, checking generalize and shutdown. PXE boot and capture image.

I understand this is trivial and MDT is free, but I wanted to post this in case anyone else is also contemplating this. It helps to have a starting point sometimes :)

Edit: Forgot to add final sysprep step

Posted Aug 9, 2018, 3:10 PM UTC · edited

1013
EntropyWinsAgain•

I suggest managing this stuff with GPOs and not startup scripts.

13
NowWhatAdminOP•

Some workstations are take-homes for upper management to use for remote work, so she wanted a solution for those as well. They will never be added to the domain.

5
EntropyWinsAgain•

Ahh gotcha. Then yeah... do what ya gotta do!

3
Szeraax•

Good writeup. It should be noted that MDT while free does increase complexity and process. The fact that you can capture and deploy via just WDS if that's more than enough for your needs makes it a great way to get your org into basic imaging.

5
HalfysRedditJack of All Trades•

Yea I like MDT+WDS but it's much more complicated to set up than it needs to be for sure, if I didn't already force myself to become familiar with it I'd question how much value it has outside of large environments.

3
newnewdrugsaccount•

We've decided it's just not worth it in our org. We have ~200 staff and nearly every pc is the same model. A couple of us have made attempts to push for mdt+wds, but every time we've come to the same conclusion that we just don't need that much granular customization

1
NowWhatAdminOP•

True. This was her reasoning as well. She only has 75 identical workstations :)

1
vikingnerd12•

I am deploying something similar, but since they are all Surface Pro's, I will be using Surface Deployment Accelerator and PDQ Deploy :)

Wish me luck!

1
NowWhatAdminOP•

Good Luck!

1
jhulbeCitrix Admin•

I use a tool call DefProf.

Login as a local test user, set the startmenu how I want it, remove appx packages, set all the little tweaks you want.

Log out, and back in as local admin

Run command DEFPROF TESTUSER and that copies the testuser profile to default

Run Defprof /DeleteAppxService

Delete TESTUSER account

Sysprep like normal

2
andyval•

Have you seen any strange issues when updating from version to version (1709 to 1803) via windows update?

1
P4cm4n88•

dude this is awesome and i wish you were here doing this two months ago. it works great....except some stuff in the login script is access denied.

question too, how did you find some of those reg keys you needed?

2
NowWhatAdminOP•

Thanks. She googled most of them I believe, and a few had to be extracted by using GPO's and an LTSB Thin Client laptop. Then we just found the newly created reg keys and copied them.

I know about the login script access denies, but left them in there anyways since the user can't read that fast :) I was also unsure if administrators would get the same deny errors, but I didn't want to spend anymore time on it TBH ;)

1