Introduction
In this article, we will walk you through some of the important virtual machine settings in VirtualBox, such as memory, process, and hard disk.
Accessing Virtual Machine Settings in VirtualBox
Open the VirtualBox application, select the virtual machine and click “Settings“.

Select System > Motherboard to access the memory of the virtual machine. Set the amount of RAM as per your requirements, but make sure that the host operating system has enough memory to run the guest OS virtual machine.

Under the Processor tab, set the number of virtual CPU cores for the guest OS. Make sure your host operating system has enough free CPU cores.
An Execution Cap is the amount of time a host CPU spends emulating a virtual CPU. The default setting is 100%.

The “Storage” tab in the virtual machine settings enables you to connect a virtual hard disk, CD/DVD, or floppy drive to your virtual machine.
If you have already created a virtual machine, you will see the SATA controller along with a.vdi disk image file.
Add a Hard Drive to a Virtual Machine
Let’s say you want to add another hard disk to the existing virtual machine. To achieve this task, you can follow the steps below.
1. To add another hard disk, select the storage controller to which you want to add the hard disk and click “Add Disk“. As shown in the below image,

2. Click “Create.”

3. Select VDI (VirtualBox Disk Image) and click Next.

4. Choose “Dynamically allocated” as the disk image option. It will only use space on your physical hard disk as it fills up, though it will not start again automatically when space on it is freed. Click Next.

5. If you want to change the default virtual hard disk location, choose the location, assign the size limit to the virtual hard disk, and then click “Create“.

6. The hard disk selector will show you the attached virtual hard disk to your virtual machine. Select the hard disk image that is not attached and click “Choose“.

7. At the storage controller, you can see the virtual hard disk image attached to the virtual machine. Click OK.

Follow our article below on how to install VirtualBox on Windows 10.
https://easytechhub.com/how-to-install-virtualbox-on-windows-10/
Conclusion
In VirtualBox, we can configure and customize the virtual machine resources by using the VM settings. In this blog post, we will learn how to configure the virtual machine resources in VirtualBox.