GuyE Posted May 10, 2018 Report Share Posted May 10, 2018 Hi, I'm building a new Windows 10 deployment workflow and was wondering if you could provide some information on what goes on with sysprep unattend files during deployment of the master wim image to the target clients. I understand that some of the settings in the SmartDeploy.xml file are somehow injected into this process, but I'm unsure how Windows is handling the various unattend.xml files created and how SmartDeploy interacts with them. I've read about answer file search order and that C:\Windows\Panther is used to keep a cached master copy of unattend.xml that is used by the sysprep phases. I don't know how this is created and modified though, or at what points. In testing I started with my own unattend.xml file in C:\Windows\Panther\Unattend\ and no others anywhere in C:\Windows. I used this to generalize the master image before capture. I broke out of a subsequent deployment to a target during the postimage phase with cmd /k, and discovered a new unattend.xml file in C:\Windows\Panther (the cached master?) and another in C:\Windows\System32\Panther, neither of which look like mine - they look more like the one used by MDT when creating the master image. Were these created and left over from the generalize sysprep? The settings in my unattend.xml seem to have been disregarded during the deployment, critically an autologon to support PC renaming and domain join (due to computer naming being deprecated in Windows 10 sysprep oobe). Our old Windows 7 workflow has two copies of our unattend.xml copied as postimage tasks to C:\Windows\Panther and C:\Windows\System32\Sysprep\Panther. I picked this up from a post somewhere several years ago to solve a problem and it worked, but I've never really understood why. Perhaps something similar is required for Windows 10? Can you shed some light on how this all works please. Thanks, Guy Link to comment Share on other sites More sharing options...
Jeff Harris Posted May 10, 2018 Report Share Posted May 10, 2018 Hey guy. First, you never want to sysprep/generalize your Reference VM before you capture your image to use with SmartDeploy. We do that for you at deployment. And in short; The settings you enter into the Answer File wizard are in turn applied by SmartDeploy to the answer file that's used by sysprep. Link to comment Share on other sites More sharing options...
GuyE Posted May 11, 2018 Author Report Share Posted May 11, 2018 Hi Jeff, The reason I'm running sysprep before capture is to copy the local Administrator's profile to the default user per this post in your forum. Copyprofile doesn't seem to be an option in the Deploy Wizard. I've created the Win10 master image in a HyperV VM with MDT. On first boot it launches into audit mode, I log on as the local Administrator and then customize. Once finished I run sysprep /generalize /reboot /oobe /unattend:c:\windows\panther\unattend10.xml. This answer file was made in WSIM and includes copyprofile and a handful of other settings to autoanswer in the oobe phase (e.g. locale, language etc) after the reboot and specialize phase. My understanding is that because copyprofile runs in the specialize phase you have to allow a reboot in order for it to run. Oobe runs after that and you end up at the login screen. I shut down at this point (to avoid creating a local Administrator profile) and then capture with SmartDeploy. Reading around, the trend seems to be away from default user customizations in master images. With WaaS and the need to create new masters every 6 months these customizations are too manual and time consuming. The advice seems to be to automate as much as possible in MDT then control settings at the other end with group policy. Cheers, Guy Link to comment Share on other sites More sharing options...
Jeff Harris Posted May 11, 2018 Report Share Posted May 11, 2018 Ah I see. I misunderstood that you were running sysprep generalize, shutting down and capturing the image. I've attached our instructions for using copy profile, just in case. CopyProfile.zip Link to comment Share on other sites More sharing options...
LSS IT Posted May 13, 2018 Report Share Posted May 13, 2018 Jeff - Also trying to create a default profile to work with SmartDeploy on Windows10, but I am unable to download any of the ZIP files that you posted throughout the form. Can you re-post? Link to comment Share on other sites More sharing options...
Ray Posted May 18, 2018 Report Share Posted May 18, 2018 Just wanted to share another program I found that does this wonderfully. It's called DefProf from ForensIT. Essentially you set up a test profile and make all the config changes you want to it. Once you are finished log in to your main account and run an elevated command prompt and type in DefProf "userprofile" without the quotes and it copies all settings to the default profile. It's a life saver for Windows 10 and it's start menu! Just make sure that you debloat properly for all users because those apps will end up coming back regardless. I also have those scripts if needed. Link to comment Share on other sites More sharing options...
DaleJohnson Posted January 31, 2019 Report Share Posted January 31, 2019 I am trying to download the CopyProfile.zip file. The link seems to be broken. Is it possible to get a copy of this file? Thanks Dale Link to comment Share on other sites More sharing options...
RPA Posted April 3, 2019 Report Share Posted April 3, 2019 I've been building SD images since build 1607 (mix of both Win 10 Enterprise and LTSB/LTSC) - Microsoft seemingly is constantly changing something that affects creating images on each successive build they put out. Huge pain - reinventing the wheel all the time. Anyway, I've recently worked through (for my environment, specifically for image for student labs where I'm building Win 10 LTSC 2019 - build 1809). Defprof as mentioned above is good, but with MS changes doesn't properly handle start menu items or default app associations anymore. I still use Deprof because it handles most everything else I'm looking to grab. Anyway, here's what I'm doing (not a huge amount of detail as that would be quite extensive, but these I believe are the high points) Having a desire to keep more than just the Start Menu layout, I still have a need to utilize most of what CopyProfile does (or in my case Defprof). I have many items I'd like to have in my 'Golden Image', so I do the following: 1. Build the image using default admin account and customize to our needs (installed apps customized in a variety of ways, various settings, etc.) 2. I export default application associations out(to utilize in GPO) 3. I then utilize another admin account to run Defprof for the "Administrator" account. 4. Back under "Administrator" account, I copy the following to the 'Default' user: "%LocalAppData%\Microsoft\Windows\CloudStore" "%LocalAppData%\Microsoft\Windows\Caches" "%LocalAppData%\Microsoft\Windows\Explorer" "%LocalAppData%\Microsoft\Windows\Explorer" 5. I shutdown VM and capture image. Once device is imaged and is added to the domain, my users (many are first time logins in student labs & not using roaming profiles), users get the exact desktop experience each time and with GPO, have the default applications associations applied without Windows 10 LTSC 2019 (build 1809) reseting application associations. Link to comment Share on other sites More sharing options...
Gutsy9108 Posted July 18, 2019 Report Share Posted July 18, 2019 On 4/3/2019 at 8:13 AM, RPA said: I've been building SD images since build 1607 (mix of both Win 10 Enterprise and LTSB/LTSC) - Microsoft seemingly is constantly changing something that affects creating images on each successive build they put out. Huge pain - reinventing the wheel all the time. Anyway, I've recently worked through (for my environment, specifically for image for student labs where I'm building Win 10 LTSC 2019 - build 1809). Defprof as mentioned above is good, but with MS changes doesn't properly handle start menu items or default app associations anymore. I still use Deprof because it handles most everything else I'm looking to grab. Anyway, here's what I'm doing (not a huge amount of detail as that would be quite extensive, but these I believe are the high points) Having a desire to keep more than just the Start Menu layout, I still have a need to utilize most of what CopyProfile does (or in my case Defprof). I have many items I'd like to have in my 'Golden Image', so I do the following: 1. Build the image using default admin account and customize to our needs (installed apps customized in a variety of ways, various settings, etc.) 2. I export default application associations out(to utilize in GPO) 3. I then utilize another admin account to run Defprof for the "Administrator" account. 4. Back under "Administrator" account, I copy the following to the 'Default' user: "%LocalAppData%\Microsoft\Windows\CloudStore" "%LocalAppData%\Microsoft\Windows\Caches" "%LocalAppData%\Microsoft\Windows\Explorer" "%LocalAppData%\Microsoft\Windows\Explorer" 5. I shutdown VM and capture image. Once device is imaged and is added to the domain, my users (many are first time logins in student labs & not using roaming profiles), users get the exact desktop experience each time and with GPO, have the default applications associations applied without Windows 10 LTSC 2019 (build 1809) reseting application associations. Hi! I know this is an old thread but I would like to know the log in times (the time when the user enter their credentials to log in and get to the desktop) you have for your domain users in the lab? We have Deepfreeze on the labs and have approximately about two minutes with first login and then 0:40 - 0:55 seconds for the next users. Link to comment Share on other sites More sharing options...
RPA Posted September 3, 2019 Report Share Posted September 3, 2019 On 7/18/2019 at 1:24 PM, Gutsy9108 said: Hi! I know this is an old thread but I would like to know the log in times (the time when the user enter their credentials to log in and get to the desktop) you have for your domain users in the lab? We have Deepfreeze on the labs and have approximately about two minutes with first login and then 0:40 - 0:55 seconds for the next users. This really depends on the applications that are installed (and included in the 'default' profile). I have various images for different departments. For the specific Windows 10 LTSC 2019 mentioned in the thread, first time login is approximately 40 seconds. Some of my engineering school's images take 1:30 on first login. Imaging and attempting to manage software within an image is becoming unmanageable for us. SD has made it better, but we're in early stages of evaluating APP-V, Turbo.net, AppsAnywhere or similar to manage applications. Too much change, year after year to keep baking apps in the image. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now