Subscribe:

Ads 468x60px

Pages

mercredi 6 janvier 2016

Posts from Online Tech Tips for 01/06/2016

Computer Tips From a Computer Guy Is this email not displaying correctly?
View it in your browser.

Online Tech Tips Newsletter

 

In This Issue

Jan 05, 2016 01:00 pm | Aseem Kishore | Computer Tips

How to Share an Internet Connection with Other Computers

Looking for a quick way to share your Internet connection with others around you? These days, this is only useful in a handful of situations. I’ve personally only used a shared Internet connection when in a car with a friend who had a laptop tethered to his smartphone.

My iPad was Wi-Fi only, so I was able to connect to his laptop Wi-Fi and get Internet access. The only other time I have used it is when I was staying in a hotel room and they only had a wired Ethernet connection for Internet. I setup my computer and created a personal Wi-Fi network so that everyone else could connect their smartphones, tablets, etc.

In this article, I’ll show you how to share your Internet connection from your Windows computer. Not that this only works well in certain scenarios.

  1. Your computer needs to have more than one network adapter, preferably an Ethernet port and a Wi-Fi card. A 3G/4G device that you tether to your computer can be used in place of an Ethernet port, but you still need the Wi-Fi card.
  2. It’s always best to share your connection by creating a virtual wireless network. Doing it any other way is super convoluted and almost never works. Don’t worry, I’ve tried and I’m a geek.
  3. It’s best to be connected to the Internet via the Ethernet port or tethered device and to leave the Wi-Fi network not connected to any network.

If you match up with those three items above, then you will most likely be successful in setting up a shared Internet connection. Now let’s get started.

Create Virtual Wireless Network

The first thing you want to do is make sure your Wi-Fi network is not connected to any network. Why? We want the Wi-Fi network to use the Internet from the Ethernet port or tethered device, therefore the Wi-Fi network should remain disconnected to start.

You can check this by clicking on Start and then typing in ncpa.cpl and pressing Enter. You should see a red X next to the icon.

wifi disconneted

Now we have to open an Administrative Command Prompt window. Click on Start, type in command, and then right-click on the top result and choose Run as Administrator.

admin command prompt

Next, we have to create our virtual wireless network and start it. To do this, you need to type in the following commands:

create hosted network

netsh wlan set hostednetwork mode=allow ssid="pickaname" key="pickapassword"
netsh wlan start hostednetwork

As you can see, you can choose a SSID for your new network and set the password also. Whatever SSID you set will be the name of the wireless network that shows up on other devices. Once the network has been started, go to Control Panel and open the Network and Sharing Center.

list of networks

You will see the current network you are connected to, which in my case is Ethernet 2. Below that, you should see your new network, which will say No network access and Identifying. If you open ncpa.cpl again or click on Change adapter settings in Network and Sharing Center, you’ll see that Local Area Connection 3 is actually Microsoft Hosted Network Virtual Adapter.

network adapters

Now in order to get the new network to have Internet access, we need to configure the other network connection. In my example, that would be Ethernet 2. Go ahead and click on the blue link for Ethernet 2. You can also go to ncpa.cpl again, right-click on Ethernet 2 and choose Properties.

ethernet properties

This will bring up the status window for the connection. Now click on the Properties button.

ethernet sharing settings

Click on the Sharing tab and then check the Allow other network users to connect through this computer’s Internet connection box. Under Home networking connection, you need to select the adapter name for the new virtual wireless network, which is Local Area Connection 3 in my case. If you don’t know the name of the adapter, go to ncpa.cpl and find the one that says Microsoft Hosted Network Virtual Adapter.

Now when you go to the Network and Sharing Center, you will see that the new connection also has Internet access.

internet connected

That’s it! Now you should have a functioning wireless network that will allows others to connect and use the Ethernet or tethered connection for Internet access. Go to any of your other devices and look for your new wireless network. Connect using the password you set and you should be good to go.

Note that if you want to see how many people are connected to your new wireless network, you have to open a command prompt and type in the following command:

show clients connected

netsh wlan show hostednetwork

Finally, if you are done with sharing your network connection, you can get rid of the virtual wireless network by typing in the following two commands:

stop hosted network

netsh wlan stop hostednetwork
netsh wlan set hostednetwork mode=disallow

Make sure you type in both of these commands so that if you ever need to create the virtual wireless network again, you will be able to do so. That’s about it. Hopefully, this article will help you share your Internet connection easily with others. If you run into any issues, feel free to post a comment. Enjoy!

The post How to Share an Internet Connection with Other Computers appeared first on Online Tech Tips.

Read More
share on Twitter Like How to Share an Internet Connection with Other Computers on Facebook

Jan 05, 2016 10:41 am | Aseem Kishore | Free Software Downloads

Convert a Windows PC into a Virtual Machine using Hyper-V

A great way to save yourself from viruses, malware and spyware is to use a virtual machine to browse the Internet instead of your regular Windows PC. So what is a virtual machine? It’s basically a full copy of Windows that runs inside another copy of Windows called the host.

The virtual version of Windows is just a large file and special software running on your Windows computer (virtualization software) acts as a fake computer so that Windows can run. Anything you do in the virtual machine will not affect your host operating system. So you could download 10 viruses onto the virtual machine and your main operating system would be safe.

What’s nice about virtual machines is that you can reset them. So if you get a virus while browsing in the virtual machine, you can simply reset the virtual machine to the default state when you first installed it and start over. It’s also a great way to increase your privacy because you can simply erase anything you’ve done in a virtual machine.

Before we get started, let’s talk about the requirements. There are many software virtualization tools out there like VMWare, Parallels, VirtualBox, etc., but I’m going to stick with only Microsoft software. In order for this to work, you need two things:

  1. Disk2VHD – A free tool from Microsoft that will be used to convert any Windows operating system from Windows XP onwards into a virtual machine file.
  2. Windows 8.1 Pro or Windows 10 Pro – You’ll need the Pro versions of either Windows 8.1 or Windows 10 in order to complete this process. Both operating systems have a tool called Hyper-V that can be used to access the virtual file created by Disk2VHD.

It’s also worth noting that even though you can use Windows XP, Vista and 7 as the virtual machine, it’s best if you can convert a Windows 8.1 or Windows 10 machine because the highest resolution that Hyper-V supports for those older operating systems is 1600×1200. It’s really annoying and I don’t know why Microsoft hasn’t bothered to fix this issue yet. Anyway, it’s only a problem for those with high resolution monitors.

Convert Windows OS to VHD

Let’s start with the easy part: converting your current version of Windows into a virtual machine (VHD or VHDX file). To do this, download the Disk2VHD tool mentioned above and run the EXE file.

disk2vhd start

When you run it, you’ll see a screen like the one above. There really isn’t much you have to do here other than choose the location where you want to save the VHDX file and which volumes you want to include.

If you have a large hard drive, you can just let it save the file to the same partition as Windows. If not, choose another location like a second hard drive or an external USB hard drive. By default, it’s going to select all of the volumes it finds on your computer, which may not be want you actually want.

In my case, I have several hard drives connected to the computer, so I only want to select volume C:\, which is 37.26 GB in size. In addition, you want to make sure to select any other volumes that were created when you installed Windows, most likely the Boot volume and System Reserved volume. These are usually really small: in my case, the System Reserved volume is only 34 MB and the other volume, which has no label, is only 322.08 MB.

It’s very important that you select these other volumes in addition to the main Windows volume because if you don’t, the operating system won’t boot when you load it into Hyper-V. Instead, you’ll get a Boot Failure message! This is because those two extra volumes tell the system where Windows is located and how to boot it.

boot failure

It will probably take some time to create the VHDX file depending on how big your Windows partition is. Once finished, you’ll have one really large file and two smaller files.

vhdx images

Install Hyper-V in Windows 8.1/10

Next, we have to install the Hyper-V tools in Windows 8.1 or Windows 10 Pro. If you have the Home editions, you’ll have to upgrade to Pro before you can install Hyper-V. Click on Start and type in windows features.

windows features

At the top, click on Turn Windows features on or off. A window will appear where you can check off extra items you want to install. Go ahead and check the box for Hyper-V. It should automatically check the boxes for Hyper-V Management Tools and Hyper-V Platform also.

enable hyper v

Click OK and let Windows install the features. You will also have to restart your computer. Once you boot back up, click on Start, All Apps and then scroll down to Windows Administrative Tools. You should see Hyper-V Manager listed there. You can also just click on Start and type in Hyper-V to search for it.

start menu hyper v

Configuring Hyper-V

Now for the fun part! Let’s get started with Hyper-V. Go ahead and open the Hyper-V Manager and you’ll see a blank workspace.

hyper v manager

At the far left is the server, which should be the name of your computer. In the middle section are the list of virtual machines and checkpoints. On the right, you have a dynamic menu that changes depending on what item is selected in the left-hand sections. To get started, select the computer name at the far left.

new virtual machine

Now at the far right, click on New and then Virtual Machine. This will bring up the new virtual machine wizard. The first step is to give your virtual machine a name.

virtual machine name

Next, you have to choose the generation for the virtual machine. If you are converting a 64-bit version of Windows to a virtual machine and your computer hardware supports UEFI, go ahead and choose Generation 2, since that allows for more advanced features. Use Generation 1 for 32-bit versions of Windows or if your machine is using legacy BIOS. Generation 2 also supports wide-screen displays when virtualizing Windows 8.1 or Windows 10.

If you have no idea what all that means, just choose Generation 1 to be on the safe side. Note that if the virtual machine fails to boot, you can easily just delete it and start this process again. Select a different generation and see if it boots up properly. Deleting the virtual machine inside Hyper-V does not delete your original VHDX files.

virtual machine generation

On the next screen, you have to choose the amount of memory you want to assign to your virtual machine. I left it at the default value of 1024 MB, but you can increase it if you have enough RAM available on your host machine.

virtual machine memory

Go ahead and skip the Configure Networking screen for now because we will have to do that later. For now, just leave it at Not Connected. On the Connect Virtual Hard Disk screen, you need to select Use an existing virtual hard disk.

connect virtual hard disk

Click the Browse button and select the VHDX image that represents your actual Windows partition. This should be the really big VHDX file. We will have to manually add the other two VHDX drives after the wizard, which I will show further down. At this point, review the summary and click Finish.

Now you should see a new item listed under Virtual Machines. If you click on this, you’ll see a bunch more options in the right-hand pane also.

start virutal machine

To start the virtual machine, select it and then click on Start. The State column will change to Running. Next to view the virtual machine, click on Connect. If you did this now, you’ll see that error message that I mentioned at the beginning of the article: Boot failure. We still need to add the other hard drives.

Select the virtual machine and click Turn Off. Then click on the Settings link. On the left hand side, you should see IDE Controller 0 and IDE Controller 1. Click on the Controller 0 first. If you chose Generation 2, you will see SCSI Controller only.

ide controller

You will see that the first VHDX file we added in the wizard is already listed. Now we have to add the second and third files. Make sure Hard Drive is selected and then click Add.

add second vhdx

The Location box should automatically choose 1 since the 0 slot is taken by our first VHDX file. Each IDE Controller only has two slots available for adding drives. Click Virtual hard disk and choose your second VHDX file.

Now click on IDE Controller 1 and then click the Add button again. Do the same thing here, but choose your third VHDX file.

add third vhdx

Now that we have all three VHDX files attached, we can click OK and start up our virtual machine. This time you should hopefully get a screen with Windows loading!

windows running in hyper v

Configure Networking

Lastly, we need to setup networking for the virtual machine so that you can connect to the local network and to the Internet. To do this, click on Virtual Switch Manager at the top of the right hand menu.

new virtual switch

Click on New virtual network switch and then select External from the list box. Finally, click on Create Virtual Switch.

external virtual switch

Give your virtual switch a name if you like and then choose the correct network from the dropdown box. If you have more than one network card, choose the one that is connected to the network and Internet. Once your switch has been created, we need to tell the virtual machine to use it. To do that, click on the virtual machine in Hyper-V manager and then click on the Settings link in the right pane.

configure network switch

Click on Network Adapter and then choose the new virtual switch that you created in the previous step. That’s it! Now when you start up your virtual machine, it should get network access via the host computer.

Hopefully, this article helps you take your current PC and convert it into a virtual machine that you can run on the same PC or another PC if you like. There are lots of things that can go wrong in this process, so feel free to comment if you run into problems. Enjoy!

The post Convert a Windows PC into a Virtual Machine using Hyper-V appeared first on Online Tech Tips.

Read More
share on Twitter Like Convert a Windows PC into a Virtual Machine using Hyper-V on Facebook

Recent Posts

How to Setup Dual Monitors in Windows
Customize Taskbar, Notification Area and Action Center in Windows 10
Does Your Windows Computer Display Turn Off Every 15 Minutes?
Guide to Network and Sharing Center in Windows 7, 8, 10
How to Watch TV on Your iPhone or Android Device
Copyright © 2016 Online Tech Tips, LLC, All rights reserved.
You signed up for news and information from Online Tech Tips.
unsubscribe from this list | update subscription preferences 

0 commentaires:

Enregistrer un commentaire