How to root Android Device installed in Oracle VirtualBox on Windows I have Android Device installed in Oracle VM VirtualBox on Windows 7. I need to pair two devices without user confirmation. It's Android 4.3. I want to connect two devices with Bluetooth and for that I need to pair them programatically first and I want to achieve this without the user having to press the pair button. My research so far has revealed that unless I have the root permissions I cannot pair two devices without user confirmation. So to achieve my target I want to root the virtual device I have installed on Windows 7. I have come across this thread: xda-developers: How to root Android x86 4.3 that shows that it can be achieved on Ubuntu. Is there any way that I can achieve this on Windows 7 and make my virtual device rooted? Any suggestions will be really appreciated.
for root Android-X86 use this :

Download From XDA

Usage: ROOT SCRIPT FOR ANDROID x86 4.3

On android-x86:
Boot up
Press ALT+F1 //or if doesnt work,download Terminal Emulator then open it and follow ...
"cd" to the folder containing this file
Run "sh install.sh" and follow the instructions

On a linux OS boot:
Open your linux terminal
"cd" to the folder containing this file
Run "sh install.sh" and follow the instructions


other links For more details :

How to root device in Oracle VM Virtual Box

How to Root Android Device installed in Oracle VM Virtual Box

How to root Android x86 4.3
and ...