Yes, that would work too. However, the advantages of using a virtual machine would be:
1. It takes up less disk space;
2. If you are using an unlicensed copy of Windows or an outdated version, such as Windows 7, neither of which get security updates, you won't have to worry about malicious...