Enterprise Batch Deployment Win7 (ii)--combined with AIK tools for unattended

Source: Internet
Author: User

Background introduction

In the previous article, we described how to use the WDS service to deploy the operating system in bulk, some of the settings that require human involvement in the process of deployment, and how to use the AIK tool to really do unattended installation

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8B/25/wKiom1hFbsixK2CuAACYgWfLgQ0237.png "title=" 1.png " Style= "Float:none;" alt= "Wkiom1hfbsixk2cuaacygwflgq0237.png"/>

What is an unattended installation

Unattended installation is the automatic submission of an answer file in the installation process where human interaction is required. The process of human-computer interaction is a bit like exam answer, each option is a question, need to specify the answer, and answer file is to write all the answers in advance, waiting for the problem

Contents of the answer file

Since the answer file is set up in advance for human-computer interaction, it is necessary to know where human-computer interaction occurs during the installation of the operating system. As previously known, the operating system has three stages of PE boot, formal installation, and OOBE Setup, in addition to the formal installation phase, the PE boot and OOBE phases require human involvement, and the content is:

PE boot

1. Press F12 to boot from the network

2. Select which PE boot image to use

3. Enter your account password to get permission to access the WDS server

4. Select the installation image

5. Disk partitioning, specifying which partition the operating system is installed on

OOBE Settings

1. Language and time zone

2. User and computer name

3. User Password

4. Acceptance of the terms

5. Select Automatic Update mode

6. Check the date and time

7. Select a network location

Therefore, the answer file is the need to answer all the "questions" above. You do not need to press F12 to set PXE boot on the WDS server first right-click Properties, and then boot menu

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/8B/22/wKioL1hFbsjToBa5AACY0N2Q3NU881.png "title=" 2.png " Style= "Float:none;" alt= "Wkiol1hfbsjtoba5aacy0n2q3nu881.png"/>

Making an answer file

1. Find a computer to install the AIK tool

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/8B/25/wKiom1hFbsmBQ272AAJ3mXYndLk209.png "title=" 3.png " Style= "Float:none;" alt= "Wkiom1hfbsmbq272aaj3mxyndlk209.png"/>

2. Insert the WIN7 system CD, the WIN7 system CD to be consistent with the WDS installation image, here to create an answer file for the WDS installation image, so be consistent with the WDS

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M00/8B/25/wKiom1hFbsnif91lAAD1Ar2AExg717.png "title=" 4.png " Style= "Float:none;" alt= "Wkiom1hfbsnif91laad1ar2aexg717.png"/>

The Install.wim file under sources is tested on the local disk because it will fail on the disc if you need to have read and write access to the image when you import the installation image into the AIK tool

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M00/8B/22/wKioL1hFbsqxXl26AABldmwwjV4606.png "title=" 5.png " Style= "Float:none;" alt= "Wkiol1hfbsqxxl26aabldmwwjv4606.png"/>

3. After completing the Install.wim import, you are ready to start making an answer file. First create an answer file, you can see the answer file has 7 steps, we need to answer is step 1 and step 7, and the answer in the Windows image

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/8B/22/wKioL1hFbsrQN2h4AACRCk02JiU441.png "title=" 6.png " Style= "Float:none;" alt= "Wkiol1hfbsrqn2h4aacrck02jiu441.png"/>

4. Find the answer to the Steps 1,windowspe section

(1) Add Settings UI interface

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/8B/25/wKiom1hFbsrSzQNgAAAgKEawTYI760.png "title=" 7.png " Style= "Float:none;" alt= "Wkiom1hfbsrszqngaaagkeawtyi760.png"/>

(2) To create and modify the partition information, it is important to note that there are several partitions to be added several times to create and modify information, which is planned to a 60G hard disk, where the first 200M to make system reservation space, the remaining installation Win7 system, so you need to add 2 times

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8B/25/wKiom1hFbsvQNniMAAAa7FKwQpo484.png "title=" 8.png " Style= "Float:none;" alt= "Wkiom1hfbsvqnnimaaaa7fkwqpo484.png"/>

(3) If you need to enter key, you can add ProductKey to step 1, the enterprise environment most use KMS activation, so here does not add

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/8B/22/wKioL1hFbsvQMNQRAAATXfYvY0E058.png "title=" 9.png " Style= "Float:none;" alt= "Wkiol1hfbsvqmnqraaatxfyvy0e058.png"/>

(4) Select the installation image and installation location and the account and password used to contact the WDS server in the domain

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8B/25/wKiom1hFbsviB_TOAAAbVNZ74zU910.png "title=" 10.png "Style=" Float:none; "alt=" Wkiom1hfbsvib_toaaabvnz74zu910.png "/>

So far, the answer to step 1 windowsPE has been exhausted.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8B/22/wKioL1hFbsuBJzPrAABIrn0pp7A912.png "title=" 11.png "Style=" Float:none; "alt=" Wkiol1hfbsubjzpraabirn0pp7a912.png "/>

5. Look for the answer to step 7,oobe setup. Because you are deploying computers in a workgroup, you need to be aware that if LocalAccount is not added to step 7, the previous OOBE settings will be invalidated because OOBE itself is the localaccount of the user's first login when the operating system is installed

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8B/22/wKioL1hFbsyBHdfJAAAvyXwtQiE668.png "title=" 12.png "Style=" Float:none; "alt=" Wkiol1hfbsybhdfjaaavyxwtqie668.png "/>

At this point, the answer to the OOBE setup for step 7 is exhausted

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/8B/25/wKiom1hFbszwiW_mAAAY6m_qTi8217.png "title=" 13.png "Style=" Float:none; "alt=" Wkiom1hfbszwiw_maaay6m_qti8217.png "/>

6. Answer the answers to step 1 windowsPE

(1) UI interface language set to Simplified Chinese

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/8B/25/wKiom1hFbszTGK7GAABSaF_pVLg231.png "title=" 14.png "Style=" Float:none; "alt=" Wkiom1hfbsztgk7gaabsaf_pvlg231.png "/>

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M00/8B/22/wKioL1hFbs2C7o7nAABKiQUJJqo481.png "title=" 15.png "Style=" Float:none; "alt=" Wkiol1hfbs2c7o7naabkiqujjqo481.png "/>

(2) Select the disk ID number of the installation system and whether it needs to be formatted

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/8B/22/wKioL1hFbs2CjytfAAAhs86jznY425.png "title=" 16.png "Style=" Float:none; "alt=" Wkiol1hfbs2cjytfaaahs86jzny425.png "/>

Create a disk partition where the partition size unit is m,extend=false to indicate that the remaining space is not used because this is a 200M system reservation

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/8B/25/wKiom1hFbs3wB4jxAAAe83fBgDM863.png "title=" 17.png "Style=" Float:none; "alt=" Wkiom1hfbs3wb4jxaaae83fbgdm863.png "/>

On the partition where the operating system is installed, Extend=true indicates that all the remaining space is exhausted, so you do not need to specify the size

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/8B/25/wKiom1hFbs7Q_zF8AAAibobGoyI647.png "title=" 18.png "Style=" Float:none; "alt=" Wkiom1hfbs7q_zf8aaaibobgoyi647.png "/>

When modifying partition information, it is important to note that the system retains the partition Active=true

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/8B/22/wKioL1hFbs7AP3OqAAAzCvKR9ZM205.png "title=" 19.png "Style=" Float:none; "alt=" Wkiol1hfbs7ap3oqaaazcvkr9zm205.png "/>

While the partition of the installation system can not be filled in, the details refer to the documentation that the AIK installer comes with.

650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/8B/25/wKiom1hFbs7i8O8nAAAxfVkfyyM648.png "title=" 20.png "Style=" Float:none; "alt=" Wkiom1hfbs7i8o8naaaxfvkfyym648.png "/>

(3) Select the installation image

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M02/8B/22/wKioL1hFbs-yvyC1AABisWFx6uU806.png "title=" 21.png "Style=" Float:none; "alt=" Wkiol1hfbs-yvyc1aabiswfx6uu806.png "/>

Image name, image Group and file name to be consistent with the name on the WDS server

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/8B/22/wKioL1hFbs-gTZxTAACqHH8GaBc020.png "title=" 22.png "Style=" Float:none; "alt=" Wkiol1hfbs-gtzxtaacqhh8gabc020.png "/>

(4) specifies which partition of the disk to which the installation image is installed

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/8B/25/wKiom1hFbtDCEmKCAABORHirc58449.png "title=" 23.png "Style=" Float:none; "alt=" Wkiom1hfbtdcemkcaaborhirc58449.png "/>

(5) Set the account and password to use when connecting to the WDS server in the domain

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M02/8B/22/wKioL1hFbtDxFgUAAABMpmNpelg941.png "title=" 24.png "Style=" Float:none; "alt=" Wkiol1hfbtdxfguaaabmpmnpelg941.png "/>

7. Answer Step 7 OOBE Setup answer sheet

(1) Setting the time zone

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/8B/25/wKiom1hFbtDh12utAABZv9e7DcY189.png "title=" 25.png "Style=" Float:none; "alt=" Wkiom1hfbtdh12utaabzv9e7dcy189.png "/>

(2) OOBE settings, hide and skip all options true,protectyourpc Here are the three options for 1, 2, 3, 1 for the recommended settings, 2 for only important updates, 3 for asking me later, and 3 for that.

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/8B/25/wKiom1hFbtGzp-J6AABWKdSp7N0954.png "title=" 26.png "Style=" Float:none; "alt=" Wkiom1hfbtgzp-j6aabwkdsp7n0954.png "/>

(3) To set up account information, note that the account needs to be added to the Admins group because administrator is disabled by default

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/8B/22/wKioL1hFbtGTay22AABfLWpsTHM101.png "title=" 27.png "Style=" Float:none; "alt=" Wkiol1hfbtgtay22aabflwpsthm101.png "/>

8. Use the Validate Answer file option to check if there are errors after saving

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M01/8B/25/wKiom1hFbtGw7988AABPhhJRlM8209.png "title=" 28.png "Style=" Float:none; "alt=" Wkiom1hfbtgw7988aabphhjrlm8209.png "/>

9. Save the startup file to the Wdsclientunattend directory on the WDS server

650) this.width=650; "src=" Http://s4.51cto.com/wyfs02/M00/8B/22/wKioL1hFbtKgdnbzAABT_MSpZwc792.png "title=" 29.png "Style=" Float:none; "alt=" Wkiol1hfbtkgdnbzaabt_mspzwc792.png "/>

10. Specify an answer file for unattended installation, and set not to automatically join the domain, at this point, the operation is complete

650) this.width=650; "src=" Http://s2.51cto.com/wyfs02/M01/8B/22/wKioL1hFbtLzTIqwAACQWmteIA8892.png "title=" 30.png "Style=" Float:none; "alt=" Wkiol1hfbtlztiqwaacqwmteia8892.png "/>

Validation results

Create a new virtual machine to verify that the configuration is in effect and that all operations are complete

650) this.width=650; "src=" Http://s1.51cto.com/wyfs02/M01/8B/25/wKiom1hFbtaDzgu7AAiUlsojmi8778.png "title=" 31.png "Style=" Float:none; "alt=" Wkiom1hfbtadzgu7aaiulsojmi8778.png "/>




This article from "Rabbit-like rabbit sen Broken" blog, please be sure to keep this source http://arkling.blog.51cto.com/2844506/1879726

Enterprise Batch Deployment Win7 (ii)--combined with AIK tools for unattended

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.