How to Share the internet between the Virtual Machines in VMWare

Sathish Nadarajan
 
Solution Architect
February 13, 2018
 
Rate this article
 
Views
12530

I have created a virtual machine in VM Ware and added that to my ADDS in the host OS. After that, I can able to connect to the VM using the MSTSC command itself. But, when I wanted to Use Internet within that VM, it was not working. A simple setting needs to be changed on the Ethernet adapter settings.

 

image

 

The Network and Sharing Center will opened like below.

 

image

 

Click on the “Change adapter settings”

 

image

 

 

Right Click “Ethernet”

On the properties, go to Sharing Tab.

 

image

 

Select the Checkbox “Allow other network users to connect through this computer’s Internet Connection” Option and select the Networking connection accordingly.

Now, the Internet will work within the Virtual Machine as well.

 

Happy Coding,

Sathish Nadarajan.

Author Info

Sathish Nadarajan
 
Solution Architect
 
Rate this article
 
Sathish is a Microsoft MVP for SharePoint (Office Servers and Services) having 15+ years of experience in Microsoft Technologies. He holds a Masters Degree in Computer Aided Design and Business ...read more
 

VMWare – Virtual machine – Power On – vmware workstation and devicecredential guard are not compatible. vmware workstation can be run after disabling device/credential guard.

Sathish Nadarajan
 
Solution Architect
January 26, 2018
 
Rate this article
 
Views
2955

 

Installed VMWare pro on the Windows Server 2016 Machine and created a VM. When tried to Power-On the VM, faced the below exception.

 

image

 

vmware workstation and devicecredential guard are not compatible. vmware workstation can be run after disabling device/credential guard

On the link, which VMWare gave, has a clean step by step. But, again, I could not make the MountVol command to work. Hence, the alternative commands are as follows.

1. Remove the Hyper-V from the Server Manager -> Features.

 

image

image

2. Go to Local Computer Policy

a. From the Run -> gpedit.msc

 

image

 

b. On the Local Group Policy window, go to Device Guard as shown in the path below.

image

c. Double click on “Turn On Virtualization Based Security” and select the Disabled Option.

 

image

3. Then open the Command Prompt. Type the below commands.

 bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d "DebugTool" /application osloader
 
 bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path "\EFI\Microsoft\Boot\SecConfig.efi"
 
 bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215}
 
 bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS
 
 bcdedit /set hypervisorlaunchtype off
 

4. Do a Restart.

5. Start the VMWare and the VM in it.

Happy Coding,

Sathish Nadarajan.

Category : Azure, Windows

Author Info

Sathish Nadarajan
 
Solution Architect
 
Rate this article
 
Sathish is a Microsoft MVP for SharePoint (Office Servers and Services) having 15+ years of experience in Microsoft Technologies. He holds a Masters Degree in Computer Aided Design and Business ...read more
 

How to Create a Virtual machine in VMWare 9.0 from a VMDK File

Sathish Nadarajan
 
Solution Architect
February 3, 2014
 
Rate this article
 
Views
24230

In the previous article, we saw, how to convert the VHD file into a VMDK file. Now, let us see, how to create a VM on VMWare from this VMDK file.

Let us go with the step by step approaches.

Let us open the VMWare.

 

image

Go to the New Virtual Machine Menu.

image

Select the Custom on the options.

image

Select the Hardware as WorkStation 9.0

image

The Operating system, we are not planning to install now. Hence, give later.

image

Select the Version of OS, which you will be using.

image

Give a name and browse a location folder.

image

Select the Number of Processors required for your VM

image

Allocate appropriate memory. Even in future also, we can edit the hardware configurations.

image

Select the Network Type screen as NAT

image

Select the IO Controllers also.

image

On the disk selection, choose the second option as “Use an Existing virtual disk”

image

Select the VMDK File, which we created.

image

Keep the Existing Format

image

Click on finish.

image

That’s it. We done with our new virtual Machine with our VHD & VMDK.

Happy Coding.

Sathish Nadarajan.

Category : Virtual Machines

Author Info

Sathish Nadarajan
 
Solution Architect
 
Rate this article
 
Sathish is a Microsoft MVP for SharePoint (Office Servers and Services) having 15+ years of experience in Microsoft Technologies. He holds a Masters Degree in Computer Aided Design and Business ...read more
 

How to Convert and Import a VHD as a VMDK – VMWare

Sathish Nadarajan
 
Solution Architect
 
Rate this article
 
Views
73707

Few days back, I got a VHD and I was supposed work on that VHD. I don’t want to make that VHD as a bootable one and run as a separate host OS. Since, already I had a VMWare Workstation 9.0 Installed on my machine, I thought of importing this VHD into my VMWare. But unfortunately, there is no direct option to do this. We need to convert this VHD as a VMDK file, which is the known format for VMWare. There is a tool called WinImage, through which we can do this. WinImage installer is available for 30 days free trial. By using that, we can convert our VHD into VMDK in few clicks. You can download the WinImage from http://www.winimage.com/download.htm.

Now, after downloading and installing the WinImage, open the WinImage.

image

Then Go do “Disk” Menu and select “Convert Virtual Hard Disk Image”.

image

The Popup will be opened to select the VHD.

image

After Opening, follow the below screen shots which suits for your requirement.

image

After that, the next screen will be selecting the file name and mention the file type as VMDK.

image

After that, the screen for showing the progress will appear.

image

Once, its done, we are done with our VHD.

On our next post, let us see, how to mount this VMDK on our VMWare workstation.

Happy Coding.

Sathish Nadarajan.

Category : Virtual Machines

Author Info

Sathish Nadarajan
 
Solution Architect
 
Rate this article
 
Sathish is a Microsoft MVP for SharePoint (Office Servers and Services) having 15+ years of experience in Microsoft Technologies. He holds a Masters Degree in Computer Aided Design and Business ...read more
 

Leave a comment