Subtotal Windows activation mode under KVM

Source: Internet
Author: User

Using KVM to create the Widnwos image template, the mirror template is already activated by default is a genuine system, but the use of the program copy deployed to different machines found that the activated system becomes inactive, we need to copy to different machines can also display a genuine system

I've been looking for some information on the Internet. By modifying the configuration of the Virsh and modifying the BIOS files can successfully achieve our needs, below to do some simple steps to explain

1. Preparatory work

SLIC 2.1 BINS 1-31-2011.7z Download

Download the above file and unzip it under "SLIC 2.1 bins/dell/2.1 Bin & 2.0 certificate/" to find the appropriate. BIN file as the BIOS file for subsequent virtual machines

I'm using Dell[dell-pe_sc3-dell]2.1.bin as my BIOS file

2. Virsh Configuration file Modification

Below we will modify the Virsh configuration file, set Dell[dell-pe_sc3-dell]2.1.bin as our virtual host BIOS information, after </device> add the following content

< Qemu:commandline >    < = ' -bios '/>< = '/export/       Kvmtest/run/config/dell[dell-pe_sc3-dell]2.1.bin '/></qemu:commandline  >

Start virtual machine with Virsh create templete.xml after modification

3. Windows System Activation

After starting the virtual machine in the system using the command to activate the system, you can change it to the correct serial number, and then save to Active.bat execution can activate the system

cscript%windir%/system32/slmgr.vbs-ipk xxxx-xxxx-xxxx-%windir%/system32/slmgr.vbs-%windir%/ System32/slmgr.vbs-dlv

After activating the system, the system can be used as a system template, which needs to keep the BIOS settings in the Virsh configuration file. The bin file must use the BIOS file that we use when activating, so that the system is active regardless of the copy of the image template file anywhere.

But there's a problem here. Note that the computer name is the same when using the system template, if you install the database service may cause problems, computer name modification here no longer do a detailed explanation, to ask the degree Niang can

Subtotal Windows activation mode under KVM

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.