Step 2: Open up virtualbox instance.
Go to top menu and Click on Devices → Shared Folders → Shared Folders Settings.
If you are getting any error like “The VirtualBox Guest Additions do not appear to be available on this virtual machine, and shared folders cannot be used without them. To use shared folders inside the virtual machine, please install the Guest Additions if they are not installed, or re-install them if they are not working correctly, by selecting Insert Guest Additions CD image from the Devices menu. If they are installed but the machine is not yet fully started then shared folders will be available once it is.”, select the Devices option from VirtualBox's menu bar, and click on the Install Guest Additions CD Image option. Guest Additions installer will start automatically.
Follow the instructions to install.
Step 3 : Click on the green folder icon to Add new shared folder option in the right hand side.
Step 4 : You will prompt to the screen to select the folder you created in step 1. Select that folder and click open. And check “Make Permanent” option.
Step 5 : Go to My computer → computer → Map network drive → Map network drive.
You will see the screen below:
Step 6 : Click on Browse to select the shared folder that is created on step 1. Click OK and Finish.
Step 7 : Then this shared folder will be added to the My computer section.
Step 8 : Now you can access “vmsharedfiles” folder in Ubuntu from Windows 10 in virtualBox.