The invention discloses a method and a device for creating virtual machines on batch. The method comprises the following steps that: receiving an instruction for executing a script file; and executing the script file, and creating a preset quantity of virtual machines on batch according to a preset
virtual machine creating file. By use of the method, through the execution of the script file, according to the preset
virtual machine creating file, the preset quantity of virtual machines can be created on batch, so that workers can configure all virtual machines created on batch in one time, the
workload of workers is lowered, speed for creating the virtual machines is quickened, time is saved, time competitiveness is improved for the after sale deployment of an enterprise, a manual configuration error rate is lowered, a
fault rate is lowered for the after sale deployment of the enterprise,
mass force is won, configuration steps are simplified, requirements for the workers are lowered, the professional ability of the workers can be lowered for enterprises, professional force is won, and user experience is improved.