Customize Windows 10 Image in Audit Mode with Sysprep  

Page 41 of 70 FirstFirst ... 31394041424351 ... LastLast

  1. Posts : 36
    Windows 10 Pro x64
       #400

    Sign-on with MS account not working after deploying customised image


    Tolqua said:
    Did I miss something in the tutorial? How do I end up with one answer file that incorporates my customisations and relocates the user folders?
    Tolqua.

    Looks like I did miss your coverage of this - not in this tutorial, but the one in SevenForums, as you say, covers this in much greater depth and shows the whole process.

    I've now completed the procedure twice including customisation of the default user profile (Windows Updates and settings, 'all user' programs), redirection of user folders and adding OEM details.

    I used Macrium to capture the image and deployed it to a new PC (similar hardware) and completed the OOBE procedure. All was fine except for the cloud sync programs (OneDrive NGSC, Dropbox and Google Drive), but I don't want to go into details in this post regarding these issues as I kind of expected this wouldn't work. What I am surprised about is that logging on using my Microsoft account doesn't sync the settings (plain desktop, account picture, etc). The setting to sync is on and I don't normally have to do anything when logging on this way after a standard Windows installation - it just works so I'm not sure what's going on here.

    I haven't activated Windows on the VM or the 'tech' machine, but I did activate on the target PC and it made no difference.

    Thinking it might have been something to do with the amount of customisation and number of 'all user' programmes, I went back to the VM and applied an earlier snapshot to effectively turn back the clock to a point just after updating Windows. I then ran Windows Update again to pick up any subsequent updates and reinstalled WADK, completed the procedure by running Sysprep using the new answer file and, finally, rebooting and completing OOBE (on the VM as I wasn't intending to deploy this time).

    Result was still the same - I can create a new user with files correctly redirected to D:\Users, but if I try to create one using my MS account, or create a local one then change it to my MS account, it's still the same - no sync of settings.

    This is really baffling so I've looked for even small differences between the tutorial and my experience and can only find the following:

    1. I didn't ensure the tech machine was isolated from the internet during the build as advised. How important is this?

    2. After running Sysprep, my VM shuts down (as per the W7 tutorial), but in this one you say:
    6.4) When the Sysprep has finished, close the Command Prompt and shutdown the computer.

    The only other thing I noticed when installing the WDK and running SIM the second time around was that there was no long delay while SIM builds a catalogue (so I didn't get a beer ), yet I didn't have to specify the location of the old one either.

    Could one of these be the culprit? Any other ideas as to why I'm having this problem?

    Tolqua.
      My Computer


  2. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #401

    I have just noticed that for some reason I had accidentally unsubscribed this thread and have not seen new posts in weeks.

    Another accident now, checking forums and browsing Live Posts to see what is being posted just now I noticed Tolqua's post above. Coming to this thread I could see see there are a few unanswered posts.

    Please give me time to read all through, I will reply all until now unanswered posts as soon as I can.

    My apologies.

    Kari
      My Computer


  3. Posts : 36
    Windows 10 Pro x64
       #402

    Welcome back, Kari!


    Good to have you back, Kari. Thought you'd gone on holiday.

    Please note I've actually answered some of my own questions (see my last post), but I have other interesting things to report/ask now I know you're back. I'll wait until you've had a chance to catch up, though.

    Tolqua.
      My Computer


  4. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #403

    DeltaSM said:
    Do you have an idea how I can schedule these commands on first logon (automatic logon in unattend configuration file)?

    Is it normal that the commands don't work in FirstLogonCommands? All other commands that are in my script are working...
    Being frustrated in complexity to get FirstLogonCommands to work as planned, I use an easy and fast workaround: Any batch file added to built-in administrator's %appdata%\Microsoft\Windows\Start Menu\Programs\Startup folder before sysprepping with /generalize switch will be added to default user profile and run every time any end user signs in to Windows desktop,

    If you want the batch to be run only the first time any user signs in to Windows, add del %0 as last line in your batch (del %0 deletes the batch file itself immediately after it is run).

    In your case, this batch file would do the trick:
    Code:
    icacls %userprofile%\appdata\locallow /setintegritylevel (OI)(CI)L
    icacls %userprofile%\appdata\locallow\microsoft /setintegritylevel (OI)(CI)L
    icacls "%userprofile%\appdata\locallow\microsoft\Internet Explorer" /setintegritylevel (OI)(CI)L
    rmdir /s /q C:\Users\Default\AppData\LocalLow
    del %0
    Kari
      My Computer


  5. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #404

    lenux said:
    I have attempted to customize the Default users profile by using copyprofile just like the tutorial shows but once the sysprep is complete the Start and Search buttons no long work. I've done a lot of searching but I am unable to find any answers to why this is happening. Would anyone here have any idea what I may be doing wrong?

    Thanks for your help.
    Jim
    That is a common issue when sysprepping a system with existing user accounts, however it should not happen when creating a install image in Audit Mode before any user accounts have been created. Personally I have never experienced that.

    Anyway, try this in elevated PowerShell:

    Code:
    $manifest = (Get-AppxPackage Microsoft.WindowsStore).InstallLocation + '\AppxManifest.xml' ; Add-AppxPackage -DisableDevelopmentMode -Register $manifest
    Reboot.
      My Computer


  6. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #405

    Tolqua said:
    All was fine except for the cloud sync programs (OneDrive NGSC, Dropbox and Google Drive), but I don't want to go into details in this post regarding these issues as I kind of expected this wouldn't work. What I am surprised about is that logging on using my Microsoft account doesn't sync the settings (plain desktop, account picture, etc). The setting to sync is on and I don't normally have to do anything when logging on this way after a standard Windows installation - it just works so I'm not sure what's going on here.
    Not using Google Drive and Dropbox I must honestly say I do not know anything about them or issues with them.

    OneDrive I know and use extensively. I've never had any issues with it with relocated Users folder in Home and Pro editions but occasionally in Education and Enterprise editions OneDrive cannot be started and I need to download and run OneDriveSetup.exe from Download Microsoft OneDrive
    Customize Windows 10 Image in Audit Mode with Sysprep-2016_06_21_20_53_571.png


    This always fixes any issues with OneDrive.

    Sync is another issue. I have had no issues with it and have to apologize but I simply do not know why it does not work for you.


    Tolqua said:
    This is really baffling so I've looked for even small differences between the tutorial and my experience and can only find the following:

    1. I didn't ensure the tech machine was isolated from the internet during the build as advised. How important is this?
    That was and is important until the first 14XXX builds. That advice can be ignored in all recent builds.


    Tolqua said:
    2. After running Sysprep, my VM shuts down (as per the W7 tutorial), but in this one you say:
    6.4) When the Sysprep has finished, close the Command Prompt and shutdown the computer.

    That is a remnant from Windows 7 when its built-in native System Image Backup still worked in Audit Mode, nowadays it will no longer work. Only way to use it was to use /quit switch with sysprep command instead of /reboot or /shutdown, sysprepping but remaining in Audit Mode, then launching the Backup before rebooting or shutting down.

    Ignore that.



    Kari
      My Computer


  7. Posts : 36
    Windows 10 Pro x64
       #406

    Issue with MS account sync related to Hyper-V VMs


    The strange issue I've had with failure of MS account to sync settings appears to be related to Hyper-V machines only and nothing to do with the customisation/sysprepping procedure.

    I just created a new VM in Hyper-V, dead simple, accepting all defaults and installing Win 10 Pro 64 v.1511 by browsing to the ISO from the setting on the ODD. All went very smoothly and once installed (no customisation in Audit Mode - just a straight install), I changed from a local account in my name to my Microsoft account. The same problem's still there - the desktop background picture and my user pic remain as the default so whatever's causing this is happening to any VM I create in Hyper-V.

    I did skip entering my MS account details during Windows install and created a local user account first because this ensures the user folder has my name in full. If I enter my MS account email and password during Windows installation, it creates a user folder using just the alias from my email address. This is a small but irritating detail, but it's not the cause of the problem as I've tried it both ways.

    I can also confirm it's nothing to do with verification on of the account on the VM or activation as neither of these has made any difference.

    I've searched for details of this issue, but haven't come up with anything similar anywhere.

    I'm completely baffled by this one.

    Anybody any ideas?

    Tolqua.
      My Computer


  8. Posts : 17
    Windows 10
       #407

    Thank you for this informative thread and videos Kari and keep up the good work. It will be VERY useful as I am just getting into building my first Windows 10 image.
      My Computer


  9. Posts : 36
    Windows 10 Pro x64
       #408

    Problem with MS account logins - Update


    Hi Kari.

    After much testing and head scratching I didn't really get to the bottom of the problem I was having using MS account logins on VMs deployed to physical machines, but since it doesn't happen at all when working with physical machines only I've decided to stick to all local accounts on the VMs and change them to MS accounts after deployment. I guess I can use the procedure in the W7 tutorial to create the user accounts I already know I'll need before SysPrepping, but are there any issues doing it this way? Can I simply delete any unwanted user accounts after deployment (without having logged on as any unwanted user. of course)?

    Also, I seem to remember (maybe from the Windows 8 tutorials) that when redirecting user folders, it's better not to redirect the Program Data folders from the default path on the C: drive. Is this still the case? I only ask because both folders are available for redirection when using the Windows SIM to create the answer file.

    Tolqua.
      My Computer


  10. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #409

    Tolqua said:
    I guess I can use the procedure in the W7 tutorial to create the user accounts I already know I'll need before SysPrepping, but are there any issues doing it this way? Can I simply delete any unwanted user accounts after deployment (without having logged on as any unwanted user. of course)?
    Yes, unwanted / unnecessary accounts can be removed as always. Any admin user can remove any account except his / her own.

    Tolqua said:
    Also, I seem to remember (maybe from the Windows 8 tutorials) that when redirecting user folders, it's better not to redirect the Program Data folders from the default path on the C: drive. Is this still the case? I only ask because both folders are available for redirection when using the Windows SIM to create the answer file.
    Windows 7 supports relocating ProgramData, Windows 8 and later not. Windows SIM with 8, 8.1 and 10 images still shows it as an option but using it is a sure way to get problems.

    Kari
      My Computer


 

Tutorial Categories

Customize Windows 10 Image in Audit Mode with Sysprep Tutorial Index Network & Sharing Instalation and Upgrade Browsers and Email General Tips Gaming Customization Apps and Features Virtualization BSOD System Security User Accounts Hardware and Drivers Updates and Activation Backup and Restore Performance and Maintenance Mixed Reality Phone


  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 00:21.
Find Us




Windows 10 Forums