Hyper-V includes a tool that can convert vhd disks to vhdx which is the newer version and should be used on production environments.
Sometimes the below error can occur which prevents one from attaching the new disk (vhdx) to the virtual machine needed. It seems as the new disk after the conversion to be locked and only by rebooting host the disk can be attached.
The process cannot access the file because it is being used by another process
This issue happens because the original disk is attached on the virtual machine during the conversion. The disk device should be attached as stated from Microsoft (link below). After the conversion the new disk can be attached and will not be locked from the host.
The easiest way to perform massive identical installations on web servers that are located on the same network (VLAN) is through a network map of the remote location. With only two steps you can perform remote installations.
Firstly select map a network drive and assign a drive letter to the remote location.
Select your preferred drive letter.
change directory to your remote location through a cmd or GUI and perform your installations.
While deploying the playbook the below error appears:
ERROR! variable files must contain either a dictionary of variables, or a list of dictionaries. Got: user_password:password database_password:password ( <class ‘ansible.parsing.yaml.objects.AnsibleUnicode’>)
In order to resolve issue, you should just leave a blank between dictionary key and value.
Deploy again your playbook and the result will be successful.