Windows 10: Create media for automated unattended install of Windows 10  

Page 9 of 9 FirstFirst ... 789

  1. Posts : 13,969
    Windows 10 Pro
    Thread Starter
       2 Weeks Ago #80

    Janothin said: View Post
    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:
    Name:  image.png
Views: 119
Size:  108.7 KB

    Kari
      My ComputerSystem Spec


  2. Posts : 13,969
    Windows 10 Pro
    Thread Starter
       2 Weeks Ago #81

    RBCC said: View Post
    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):
    Click image for larger version. 

Name:	image.png 
Views:	14 
Size:	647.6 KB 
ID:	187806
    (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:
    Name:  image.png
Views: 118
Size:  92.1 KB

    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):
    Click image for larger version. 

Name:	image.png 
Views:	13 
Size:	425.8 KB 
ID:	187805

    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 ComputerSystem Spec

  3.    2 Weeks Ago #82

    dariorso86 said: View Post
    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 ComputerSystem Spec

  4.    1 Week Ago #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 ComputerSystem Spec


  5. Posts : 13,969
    Windows 10 Pro
    Thread Starter
       1 Week Ago #84

    Reth said: View Post
    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 ComputerSystem Spec

  6.    1 Week Ago #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 ComputerSystem Spec


  7. Posts : 13,969
    Windows 10 Pro
    Thread Starter
       1 Week Ago #86

    Reth said: View Post
    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 ComputerSystem Spec

  8.    1 Week Ago #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 ComputerSystem Spec

  •    1 Week Ago #88

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


  • Posts : 1
    Windows 10 1803
       6 Days Ago #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 ComputerSystem Spec


  •  
    Page 9 of 9 FirstFirst ... 789

    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 Xbox Windows Phone


    Related Threads
    The way Windows operating system is delivered and installed has changed quite a lot from days when Windows 3.0 was delivered on 6 floppy disks. To install, you booted PC from floppy 1, which in its turn asked you to eject it and insert floppy 2 to...
    yesterday, 4 august 0400 south african time , my computer must have loaded trusteer rapport , made a system restore point before running it and my system time zone was set to cuiaba, brazil . i tried to go back to a pre trusteer rapport system...
    Is an unattended upgrade possible? in Installation and Upgrade
    Hi, We've got hundreds of computers running Win 7 Pro that we'd like to upgrade to Windows 10. Is there a way of running the setup with an answer file? Anywhere I can get example answer files from? I don't really care what the settings...
    I have been creating generalized images for deployment in an enterprise scenario. In order to do so, I've installed Windows 10, booted into audit mode from the Welcome Screen, then customized Windows. After this, I can run sysprep with an unattend...
    I had a run on the preview 10240 by unattended installation. what I wanted to see is if I could create a golden image on one very old PC (HP Elitebook 6930p), sysprep it and afterwards apply that image by autoupdating the drivers to my Dell...
    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 20:48.
    Find Us