Installing and Configuring Windows 10:70-698 Exam Guide
上QQ阅读APP看书,第一时间看更新

Writing an activation script

To create an activation script using Notepad, complete the following steps:

  1. Click the search box on a taskbar, and enter Notepad.
  2. From the Best match list, click on Notepad.
  3. In the Notepad window, enter the following commands:
slmgr.vbs -ipk <product key>
slmgr.vbs -skms <activationservername:port>
  1. Instead of <product key>, enter the Windows 10 generic VLK.
  2. Instead of <activationservername:port>, enter the name of the KMS host and the TCP port.
  3. Save the file with the .bat extension.
  4. Create a shared folder and assign Read permissions for Everyone, as in Figure 5.17:
Figure 5.17: Creating a shared folder, and assigning read permission to everyone