You cannot simply change the name.
First 2 rules:
1. you can only use this technique on windows 8 and higher.
2. you cannot capture an os that you are right in.
Ok that are da rules.
I found 4 commands that can do this trickery, download them here:
https://mega.nz/#!Nt...GxKi-6CBSi-oV7Q
command 1:
Dism /Capture-Image /ImageFile:C:\Install.wim /CaptureDir:K:\ /Name:"anything you want"
What does this do?
You must mount the .vhd file that you want to capture that is holding an os.
This command capture your mounted .vhd file (in this case K: in your case it might be different and you must change it then) and turn it into a install.wim file.
The install.wim file will be on the root of your hd ( on C: )
The part /Name:"anything you want" is for you to fill in and will appear in for example the winntsetup tool but it is not really important.
This proces is rather fast on a decent computer.
command 2:
DISM /Export-Image /SourceImageFile:C:\install.wim /SourceIndex:1 /DestinationImageFile:C:\install.esd /compress:recovery /CheckIntegrity
What does this do?
Only and only if you want your project file to be as small as can be, you will use this command.
Ok in the first command we created the install.wim file in the root of you hd ( C: )
The file must be right there to make this new command happen!
This command will convert your install.wim file into install.esd
Why? because the install.esd file is so much smaller, it is like you use the best option in winrar.
But beware this command takes a lot of time, even om my 16 GB ram computer.
The result is worth it in my opinion!
command 3 and 4:
Dism /apply-image /imagefile:C:/install.esd /index:1 /ApplyDir:K:\
Dism /apply-image /imagefile:C:/install.wim /index:1 /ApplyDir:K:\
What does this do?
Both commands will give you the option to "unrar" your install.wim or install.esd file to an empty mounted .vhd file.
Again the /ApplyDir:K:\ in this example can be different in your setup so change :K: into the letter that is your mounted empty .vhd
How can you create a empty .vhd file?
You do this with simple vhd manager:
https://www.sordum.o...d-manager-v1-3/
download simple vhd manager:
https://www.sordum.o...ple-vhd-manager
see this video how to use it:
So this completes the circle, from vhd to wim to esd and back from esd or wim to vhd .
Edited by blackbalfur, 01 April 2018 - 04:43 PM.