Automate Windows Setup Error

Merlin Cheng 0 Reputation points
2023-05-05T01:39:42.8566667+00:00

I want to automate the installation and oobe phases, so I use the Windows System Image Manager to create an unanswered file, and the installation prompts an error, as shown below

图片

part of <DiskConfigutation> of my answer file is from this site

https://learn.microsoft.com/zh-cn/previous-versions/windows/it-pro/windows-8.1-and-8/hh825702(v=win.10)#example-automatically-install-the-default-partition-configuration

here is the answer file

unattended-2.xml

Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 45,051 Reputation points
    2023-05-05T18:33:45.7866667+00:00

    Hello there,

    You can automate Windows installation in several different ways. You can use the methods described below together or individually to accomplish the level of automation that your deployment needs.

    A Setupconfig.ini file is a file that:

    Starts with [SetupConfig] as a header

    Includes one or more parameters or parameters and value pairs

    Each parameter or parameter and value pair is on its own line

    Parameter and value pairs include = between the two, with no spaces.

    More information here https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/windows-setup-automation-overview?view=windows-11

    https://learn.microsoft.com/en-us/windows-hardware/manufacture/desktop/how-configuration-passes-work?view=windows-11

    Hope this resolves your Query !!

    --If the reply is helpful, please Upvote and Accept it as an answer–


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.