Create media for automated unattended install of Windows 10  

Page 9 of 98 FirstFirst ... 78910111959 ... LastLast

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

    Janothin said:
    This is the answer file for Windows Setup. I've had no issues with the xml file for installation Windows 10 but I'll get that shortly.
    Opening your autounattend.xml file in Notepad, I instantly noticed it is my sample answer file from step 3.22 which you have used without any modifications. Because of this, answer file being made by me I wouldn't even need to test it; I know it is correct and works.

    Anyway, just to be 100% sure I just tested it on GPT / UEFI machine. In fact, I tested it twice, first with secure boot enabled, then with secure boot disabled. Worked like a charm both times.

    I am sorry but as the answer file does not contain any errors and is working exactly as it should, I do not know what to suggest to you.

    Not necessary your case, but the only scenario this answer would not work is if it was used on MBR disk on a BIOS based machine. The answer file is for GPT disk on UEFI machine, therefore using it on MBR / BIOS system would give this error:
    Create media for automated unattended install of Windows 10-image.png

    Kari
      My Computer


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

    RBCC said:
    I keep getting Setting ShowWindowsLive is deprecated in the Windows image Components/specialize/amd64_Microsoft-Windows-Shell-Setup_neutral/ShowWindowsLive , can I delete this ? Will this keep the unattend.xml from working? John
    First of all, you should always check if a setting is deprecated and if yes, never use it. Select the setting in Properties pane and check the status before entering any value (#1 in screenshot). If you have already entered a value for a deprecated setting, validating answer file will show an error (#2):
    Create media for automated unattended install of Windows 10-image.png
    (Click to enlarge.)

    Most properties for answer file settings can be entered and removed manually. If you accidentally entered a value for a deprecated setting, just delete it. However, some properties cannot be entered manually; instead you have to choose a value from drop down list. This is the case with deprecated setting ShowWindowsLive, in which you can only select value TRUE or FALSE from drop down list.

    Properties selected from a drop down list cannot be deleted in Windows SIM, they can only be changed to another value. In this case, you have two options. Option 1 is to delete the whole component containing the setting in question from answer file pane, then add it again from component pane and this time not select any values for deprecated settings:
    Create media for automated unattended install of Windows 10-image.png

    Option 2 is to simply delete the setting in question (highlighted in screenshot below) from your already saved answer file by opening it in Notepad or any text / code editor and removing the whole line (setting opening tag, value, setting closing tag):
    Create media for automated unattended install of Windows 10-image.png

    Theoretically, Windows Setup & OOBE should be clever enough to skip deprecated settings when answer file is processed. Testing this just now, I had no issues to use an answer file with a few deprecated settings I added for test purposes. However, this is computing and Windows we are talking about, almost anything can happen. I strongly recommend going by the book, not using any settings and values in an answer file that clearly are not meant to be used.

    Kari
      My Computer


  3. Posts : 3
    Windows 10
       #82

    dariorso86 said:
    Hi, thank you for this awesome guide.
    I have a question.
    I need to integrate in the unattend file a batch file which contain the following comand:
    dism /online /Import-DefaultAppAssociations: "%UserProfile%\Desktop\MyDefaultAppAssociations.xml
    to import custom default app associations for the new users.
    What is the best way to do it?
    In the end I used the information in this post:
    windows 10 - Run PowerShell-Script from Server in unattend.xml - Server Fault
    I'll let you know if it works correctly.
      My Computer


  4. Posts : 4
    Windows 10
       #83

    Hello, I am also having trouble with the first stage of this, the Windows Setup. When I use the steps, I get the following error:
    "Windows could not assign a volume label to a partition on disk 0. The error occurred while applying the unattended answer file's <DiskConfiguration> setting. Error code: 0x80004005"
    The error code appears to point at an upgrade issue, but since the test computer I'm using is completely blank I don't think that's it. So far I'm unable to find relevant help using the error text. Our current setup is using UEFI, Windows 10 Enterprise, and I have set up the drive and partitions as listed. Any ideas?
      My Computer


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

    Reth said:
    Hello, I am also having trouble with the first stage of this, the Windows Setup. When I use the steps, I get the following error:
    "Windows could not assign a volume label to a partition on disk 0. The error occurred while applying the unattended answer file's <DiskConfiguration> setting. Error code: 0x80004005"
    The error code appears to point at an upgrade issue, but since the test computer I'm using is completely blank I don't think that's it. So far I'm unable to find relevant help using the error text. Our current setup is using UEFI, Windows 10 Enterprise, and I have set up the drive and partitions as listed. Any ideas?
    You are not going to like my answer!

    The answer file autounattend.xml built in this tutorial in steps 3.1 through 3.21 and posted as complete answer file in step 3.22 is 100% working and valid. Following the instructions as told, step by step, the answer file will work every time. Error like what you got can only be caused by user; either a component or setting is missing, PC disk configuration shows primary HDD something else than Disk0, or there's some other typo in answer file.

    The procedure in this tutorial, the steps required and told, everything is tested so incredibly many times that I can say with confidence that it works. If not, it's a user caused error.

    Please zip and post your autounattend.xml file here, I will check it and try to find out what's wrong with it.

    Kari
      My Computer


  6. Posts : 4
    Windows 10
       #85

    Ok, here's my autounattend. The good news is I've confirmed the other half is working as intended; basically if I strip out this one and do the initial steps manually, the rest goes on its own. But this one is being uncooperative for some reason.Autounattend.zip
      My Computer


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

    Reth said:
    Ok, here's my autounattend. The good news is I've confirmed the other half is working as intended; basically if I strip out this one and do the initial steps manually, the rest goes on its own. But this one is being uncooperative for some reason.Autounattend.zip
    Only one minor error in your answer file, with EN-US OS you should also use UIFallbackLanguage EN-US, not EN-GB. Other than that, your answer file worked perfectly in my tests. No issues, no error messages.

    Kari
      My Computer


  8. Posts : 4
    Windows 10
       #87

    Changed the language to EN-US in UIFallbackLanguage. Ran another test. Still giving me flak about a problem labeling a partition. I have to assume the issue is with something other than the actual answer file at this point, but I do not know what to test. If I go through a manual install it identifies the Windows installed drive as disk 0, so it's not an obvious issue with the drive configuration. Is there a way that I can tell, pre-install, what disk number a drive is assigned to? Is there a way I can force it to automatically install to "The Available Drive"? Any other workaround I can attempt? Kind of at my wits end on this, I have been trying to bulldoze through this problem for over three weeks almost nonstop.
      My Computer


  9. Posts : 4
    Windows 10
       #88

    ...also, does Secure Boot have any effect on this?
      My Computer


  10. Posts : 1
    Windows 10 1803
       #89

    Capturing reference Win10 1803 image for MDT 2013


    Hi Kari,
    This is tremendous job thank you for all your efforts to create this great workflow. I believe many admins are really appreciated to learn this. I have a question if I want to capture a custom image for MDT deployment for Win 10 1803 how these steps are will change it since the TS are taking care of drive partitioning and we have customsettings.ini and bootstrap.ini files created. I try your workflow except to create the partitioning answer file, only i create unattended answer.xml with the OEM settings but it does not work. Also, I use a script to delete all Windows Store Apps which is really important for our image during the time when the reference machine was connected to the internet, and according to another article that is an issue when Sysprep to capture the WIM. The wim file is created without any errors but when start the dep[loyment failed with Error: 5640 50: Run DISM.exe. What is your suggestion about this scenario?
    Thank you for your time and effort here!
      My Computer


 

Tutorial Categories

Create media for automated unattended install of Windows 10 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 01:02.
Find Us




Windows 10 Forums