mpack, could you please reply to me about these points to finish this issue

?
mpack wrote:There is no problem renaming "windows1" to "windows1.vdi", except that you can't do it while it's registered in VBox - you should unregister the VDI, rename it, then add it back.
I really have tried renaming the windows1 to 'windows1.vdi' by clicking on its properties, and then putting 'vdi' in the end of file name. Thus, I got windows.VDI. However, whenever I open 'windows1.vdi' renamed, I found an error.
Failed to open the hard disk file D:\Users\Mohammad\.VirtualBox\HardDisks\windows1.all files.vdi.
Cannot register the hard disk 'D:\Users\Mohammad\.VirtualBox\HardDisks\windows1.vdi' {6b49ccfb-44f5-4a6e-bc53-32da8d6abd7e} because a hard disk 'D:\Users\Mohammad\.VirtualBox\HardDisks\windows1' with UUID {6b49ccfb-44f5-4a6e-bc53-32da8d6abd7e} already exists.
Result Code: E_INVALIDARG (0x80070057)
Component: VirtualBox
Interface: IVirtualBox {fafa4e17-1ee2-4905-a10e-fe7c18bf5554}
Callee RC: VBOX_E_OBJECT_NOT_FOUND (0x80BB0001)
.
Resizing is supported for dynamic VDI and VHD. If you give it an unsupported format it will tell you, as you've already seen. If the command includes the modifier "--format VDI" then the resulting format will be VDI. The extension you put on the end of the filename does not determine (or even truly indicate) file format. Putting the wrong extension on a file could however be confusing for you in the future.
I am sorry to say I don't agree with you about that the extensioin I put on the end of the filename doesn't determine file format. On the contrary, it does, however the "--format VDI" modifier doesn't do anything at all. I have really tried running that command many times, even I have tried running that command without putting the extension on the end of the filename. However, I have put '--format VDI' modifier. Thus, I got a output filename such what is in this screenshot below:(it is only shown if I choose file type 'all files'.
Also, I have tired:
'VBoxManage clonehd <D:\Users\Mohammad\.VirtualBox\HardDisks\windows.vdi D:\Users\Mohammad\.VirtualBox\HardDisks\windows2.vdi --format VDI
i got VDI
'VBoxManage clonehd <D:\Users\Mohammad\.VirtualBox\HardDisks\windows.vdi D:\Users\Mohammad\.VirtualBox\HardDisks\windows3.VHD --format VDI --variant Standard
I got VHD:
'VBoxManage clonehd <D:\Users\Mohammad\.VirtualBox\HardDisks\windows.vdi D:\Users\Mohammad\.VirtualBox\HardDisks\windows4.Vhdx --format VDI --variant Standard
I got VHDX:
Look at the screenshot below:
Finally, I see that your VM is still using the obsolete v3.x folder structure, or some nasty hybrid. You should look to correct this soon. Cloning the VM (as opposed to the VDI) is the easiest way.
I don't know what is meant with that, but I have the most recent version of VBox
If you mean with structure folder C:\Program Files\Oracle\VirtualBox', I would be saying that the old one was 'C:\Program Files\sun\Oracle\VirtualBox'
However, If you mean with sturcture folder with where Virtualbox program saves its data, I would be saying that the old one is 'D:\Users\Mohammad\
.VirtualBox\HardDisks, and when I have installed the new version, the same path was still until I have created a new VM, then another path was created in D:\Users\Mohammad\
VirtualBox VMs\Windows 7 64Bit.
Note: I now have two different folders for virtualBox program on my host windows existing user account.
'D:\Users\Mohammad\.VirtualBox
D:\Users\Mohammad\VirtualBox VMs