Windows unattended file unattend production and custom system installation

Time:2019-12-1

Original link: create media for automated unattended install of windows 10

I have never seen such a detailed description of the unattended installation process of windows 10 as the above article. I have read the long knowledge,It’s worth seeing.。 After that, I will send out my own production process for you to learn.

Just for learning, if there is infringement, please contact me, I will delete this article.

 

Recommend:

  PowerShell Scripting – Create USB Install Media for Windows 10 

  Create Windows 10 ISO image from Existing Installation


If the connection above is not available, download the following files to view locally:

Link: https://pan.baidu.com/s/1urenjjozuh71maaq9wqhfg
Extraction code: zgho

 


My tests:

Unattended configuration of Windows Server 2019 DVD:

Download:

ed2k://|file|cn_windows_server_2019_x64_dvd_4de40f33.iso|5086887936|7DCDDD6B0C60A0D019B6A93D8F2B6D31|/

autounattend.xml

 

zh-CN
            
            zh-CN
            en-US
            zh-CN
            0804:{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}{FA550B04-5AD7-411F-A5AC-CA038EC515D7}
            zh-CN
        
        
            
                
                    
                        
                            1
                            450
                            Primary
                        
                        
                            true
                            4
                            Primary
                        
                        
                            3
                            100
                            MSR
                        
                        
                            2
                            300
                            EFI
                        
                    
                    
                        
                            1
                            WinRE
                            NTFS
                            1
                            DE94BBA4-06D1-4D40-A16A-BFD50179D6AC
                        
                        
                            2
                            FAT32
                            System
                            2
                        
                        
                            4
                            NTFS
                            Windows
                            C
                            4
                        
                        
                            3
                            3
                        
                    
                    0
                    true
                
            
            
                
                    
                        0
                        4
                    
                
            
            
                
                    MFY9F-XBN2F-TYFMP-CCV49-RMYVH
                
                true
                FeiQuan

 

 

unattend.xml

0804:{81D4E9C9-1D3B-41BC-9E6C-4B40BF79E35E}{FA550B04-5AD7-411F-A5AC-CA038EC515D7}
            zh-CN
            zh-CN
            en-US
            zh-CN
        
        
            
                true
                true
                true
                true
                1
                false
            
            
                
                    
                        Main local admin account
                        Admin
                        Administrators
                        Admin
                    
                    
                        Daily standand account
                        User
                        Users
                        Fei
                    
                
            
            FeiQuan
            fei
            China Standard Time
        
    
    
        
            
                FeiQuan
                C:\Windows\System32\oemlogo.bmp
                24/7
                +86 184********
                https://www.cnblogs.com/feiquan/
            
            true
            FeiQuan
            FeiQuan
            fei
            China Standard Time

 

After executing the unattended file, you will enter the account password setting interface of administrator by default. After setting, you can log in directly.

It has been built in. Admin and user users need to set their own password for the first login.

I have packaged an ISO with sub package software and theme settings, which can be installed normally. I won’t provide it. You can customize it yourself.

ISO production(Create Windows 10 ISO image from Existing Installation)The 5.5 part

oscdimg -m -o -u2 -udfver102 -bootdata:2#p0,e,b#pEF,e,b

 


To deploy services through WDS:According to the original tutorial (create media for automated unattend install of windows 10), it is impossible to identify the image. It is estimated that this command does not add the following parameters(Bold red):

Made by install.wim:

dism /capture-image /imagefile:C:\Image\install.wim /capturedir:C:\ /ScratchDir:C:\Scratch /name:"W10Server" /compress:maximum /checkintegrity /verify /bootable  /DESCRIPTION:"W10Server" /FLAGS:ServerStandard /DISPLAYNAME:"W10Server" /DISPLAYDESCRIPTION:"W10Server by Feiquan"

I haven’t tested yet. I don’t have time. I’ll test it when I have time.

I got it by comparing the information of install.wim. After the production, only name, without the following red parts, may not be complete:

Windows Server 2019 SERVERSTANDARD
    Windows Server 2019 SERVERSTANDARD
    ServerStandard
    Windows Server 2019 standard (desktop experience)
    This option will install the full windows graphics environment, taking up additional drive space. It can be useful if you want to use a Windows desktop or an app that requires a desktop.

View the install.wim information you created with the following command:

Imagex / info install.wim path

For unattended domains, see here:http://www.07net01.com/storage_networking/WDSer_wurenzhishouanzhuang_488529_1372741620.html?qqdrsign=047