Windows 10 template
 
Notifications
Clear all

Windows 10 template

8 Posts
2 Users
0 Reactions
2,395 Views
Posts: 18
 SAM
Topic starter
(@mynoc)
Active Member
Joined: 7 years ago

Is there any guide on how to make windows 10 template for Hyper-V ?

7 Replies
Posts: 1509
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hello,

You should be able to follow the guide for Server 2012r2 as this has not changed alot between the desktop and server versions.

You can find the guide at: https://solidcp.com/kb/configuration/hyperv2012r2-os-template/

Reply
Posts: 18
 SAM
Topic starter
(@mynoc)
Active Member
Joined: 7 years ago

Hi,

I am getting error

Screenshot https://prnt.sc/uh7g23

Is there any solution for this ?

Reply
Posts: 1509
Admin
(@trobinson)
Noble Member
Joined: 9 years ago

Hey,

The error shows a problem in sysprep. I would check your sysprep file path and index to expand is set correctly.

Regards,

Trevor

Reply
Posts: 18
 SAM
Topic starter
(@mynoc)
Active Member
Joined: 7 years ago

Hi,

I changed the index to expand 0 and 1 but still getting error

00:00:00
Setup external network

00:00:00
Assigning external IP addresses

00:00:00
Setting external primary IP address

00:00:00
Setup management network

00:00:00
Management network setup - Skipped

00:00:00
Setup private network

00:00:00
Private network setup - Skipped

00:00:00
OS Template Generation: 2

00:00:00
SecureBoot: Enabled

00:00:00
OS Template: Windows 10

00:00:00
Start Converting template VHD

00:00:00
Template VHD path: D:Hyper-VSCPTemplatesWindows10.vhdx

00:00:00
Converting to 'D:Hyper-VSCPCustomersadminadmin-2Virtual Hard Disksadmin-2.vhdx'

00:00:46
Template VHD size: 20 GB

00:00:46
Expanding to 40 GB

00:00:46
Start Expanding VHD

00:00:55
Error running DiskPart utility: Server was unable to process request. ---> The call to IVdsVolume::Extend(...) failed. ---> Exception from HRESULT: 0x8004240F
Server was unable to process request. ---> The call to IVdsVolume::Extend(...) failed. ---> Exception from HRESULT: 0x8004240F
at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
at SolidCP.EnterpriseServer.VirtualizationServerController2012.CreateVirtualMachineInternal(String taskId, VirtualMachine vm, LibraryItem osTemplate, Int32 externalAddressesNumber, Boolean randomExternalAddresses, Int32[] externalAddresses, Int32 privateAddressesNumber, Boolean randomPrivateAddresses, String[] privateAddresses, String summaryLetterEmail)

00:00:55
Sysprep file: WindowsSystem32sysprepunattend.xml

00:00:56
OS Time Zone:

00:00:57
CPU cores: 4

00:00:57
RAM: 4096 MB

00:00:57
Minimum VHD IOPS: 0

00:00:57
Maximum VHD IOPS: 0

00:00:57
Creating Virtual Machine object

00:01:02
Virtual Machine object created

00:01:02
Setting "computer name" provisioning task parameters

00:01:03
Trying to add the Task

00:01:03
The task has been sent to the VPS

00:01:03
Setting "administrator password" provisioning task parameters

00:01:04
Trying to add the Task

00:01:04
The task has been sent to the VPS

00:01:04
Setting "external NIC" provisioning task parameters

00:01:05
Trying to add the Task

00:01:05
The task has been sent to the VPS

00:01:05
Setting "management NIC" provisioning task parameters

00:01:05
Setting "private NIC" provisioning task parameters

00:01:05
Starting VPS...

00:01:08
VPS started

00:01:08
VPS successfully created

Reply
Page 1 / 2
Share: