Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
21 views3 pages

Using Virtual Machine

The document outlines two methods for setting up a Virtual Machine (VM) on Windows 11: using Hyper-V for Pro, Enterprise, and Education editions, and using VirtualBox for all editions including Home. It provides step-by-step instructions for enabling Hyper-V, creating a VM, and installing an operating system, as well as similar steps for VirtualBox. The document concludes by recommending Hyper-V for a lightweight experience and VirtualBox for more customization options.

Uploaded by

vanshau
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
21 views3 pages

Using Virtual Machine

The document outlines two methods for setting up a Virtual Machine (VM) on Windows 11: using Hyper-V for Pro, Enterprise, and Education editions, and using VirtualBox for all editions including Home. It provides step-by-step instructions for enabling Hyper-V, creating a VM, and installing an operating system, as well as similar steps for VirtualBox. The document concludes by recommending Hyper-V for a lightweight experience and VirtualBox for more customization options.

Uploaded by

vanshau
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 3

Here are the **steps to set up and use a Virtual Machine (VM) in Windows 11** using

**Hyper-V** and **VirtualBox** (you can choose either one):

---

# **Method 1: Using Hyper-V (Built-in)**


> Hyper-V is available only on **Windows 11 Pro, Enterprise, and Education**
editions.
> If you have Windows 11 Home, skip to **Method 2 (VirtualBox)**.

---

## ✅ **Step 1: Enable Hyper-V**


1. Open **Settings** → **Apps** → **Optional Features**.
2. Scroll down and click **More Windows features**.
3. Check the following options:
- **Hyper-V**
- **Virtual Machine Platform**
- **Windows Hypervisor Platform**
4. Click **OK** and restart the system.

---

## ✅ **Step 2: Open Hyper-V Manager**


1. Press **Win + S** → Type **Hyper-V Manager** → Open it.

---

## ✅ **Step 3: Create a Virtual Machine**


1. In Hyper-V Manager, click **"New" → "Virtual Machine"**.
2. Set the following options:
- **Name** → Choose a name for the VM.
- **Generation** → Select **Generation 1** (unless you need UEFI).
- **Startup Memory** → Allocate at least **4 GB** (or more if you have enough
RAM).
- **Network** → Choose **Default Switch**.
- **Virtual Hard Disk** → Create a new VHD (at least **20 GB**).
- **Installation Options** → Select **ISO file** → Browse and select your OS
ISO.

---

## ✅ **Step 4: Start the Virtual Machine**


1. Select the VM from the list.
2. Click **Start** → Right-click the VM → **Connect**.

---

## ✅ **Step 5: Install the Operating System**


1. The VM will boot from the ISO file.
2. Follow the on-screen instructions to install the OS.

---

## ✅ **Step 6: Configure VM Settings (Optional)**


1. Right-click the VM → **Settings**.
2. Adjust the following based on your system resources:
- **Memory** – Increase or decrease the RAM.
- **Processor** – Increase the number of cores if needed.
- **Network Adapter** – Choose a different network switch if required.

---

## ✅ **Step 7: Use and Manage the VM**


1. Start the VM from Hyper-V Manager.
2. Use **Ctrl + Alt + Left Arrow** to switch back to the host OS.
3. Shut down the VM properly after use.

---

# **Method 2: Using VirtualBox (Free and Available on All Editions)**


> Suitable for **Windows 11 Home** or if you prefer an open-source solution.

---

## ✅ **Step 1: Download and Install VirtualBox**


1. Go to [https://www.virtualbox.org](https://www.virtualbox.org).
2. Download the latest version for **Windows Hosts**.
3. Install VirtualBox using the default settings.

---

## ✅ **Step 2: Create a New Virtual Machine**


1. Open **VirtualBox** → Click **"New"**.
2. Set the following options:
- **Name** → Choose a name for the VM.
- **Type** → Select the OS type (e.g., Linux, Windows).
- **Version** → Choose the specific version (e.g., Ubuntu 64-bit).
- **Memory** → Allocate at least **4 GB** (or more if possible).
- **Virtual Hard Disk** → Create a new VDI (VirtualBox Disk Image).
- **Storage on physical hard disk** → Choose **Dynamically allocated**.
- **Size** → Set at least **20 GB**.

---

## ✅ **Step 3: Attach an ISO File**


1. Select the VM → Click **Settings**.
2. Go to **Storage** → Click **Empty** under **Controller: IDE**.
3. Click the disk icon → Choose a disk file → Select your OS ISO.

---

## ✅ **Step 4: Start the Virtual Machine**


1. Start the VM from the VirtualBox dashboard.
2. The VM will boot from the ISO file.

---

## ✅ **Step 5: Install the Operating System**


1. Follow the on-screen instructions to install the OS.
2. After installation, remove the ISO file:
- Go to **Devices** → **Optical Drives** → **Remove disk from virtual drive**.

---

## ✅ **Step 6: Install Guest Additions (Optional but Recommended)**


1. After installation, select **Devices** → **Insert Guest Additions CD**.
2. Follow the prompts to install drivers for better performance.
3. Restart the VM.

---

## ✅ **Step 7: Adjust VM Settings (Optional)**


1. Right-click the VM → **Settings**.
2. Adjust the following as needed:
- **Memory** – Increase or decrease the RAM.
- **Processors** – Increase the number of cores.
- **Display** – Increase video memory.

---

## ✅ **Step 8: Use and Manage the VM**


1. Start and stop the VM from VirtualBox.
2. Use **Right Ctrl** to release mouse and keyboard control.

---

## 😎**Setup Complete!** 😎
- ✅ Use Hyper-V if you want a lightweight and fast VM.
- ✅ Use VirtualBox if you need more customization or are using Windows 11 Home.

You might also like