Create a Windows 10 Virtual Machine on Synology NAS! | 4K TUTORIAL

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
all right what's up guys today we're going to be talking about how to install a windows virtual machine on synology nas so i'll start off this video by saying what is a virtual machine a virtual machine is basically just an operating system running within another operating system and there's a ton of reasons why this can be really advantageous to you especially if your business owner first off are snapshots virtual machine manager allows you to take snapshots of a virtual machine basically it's like having a copy of your entire computer everything running and all at a bunch of different times you can go back to that means if somebody deletes a file or corrupts a program you can just go back to the previous version and restore it instantly another really good reason is testing you can basically test out an entire operating system all on another computer and if you don't like it just delete it and if you break something by testing out what it can do all you have to do is roll back the changes to the last snapshot you took another really common one is software licenses say you have a very expensive software program that everybody needs to use maybe once a week but it's per computer it's installed on instead of spending hundreds of dollars installing it on everyone's computer you can just install it on a virtual machine and then give everyone access to that virtual machine to log in that way you're just installing one instance of the software on one computer and can save you a ton of money now these are just a few of the many many many reasons why virtualization especially in business sense can really save a ton of money and headache but let's get on to the windows 10 install so to do this you're just going to need three things one a synology obviously two you're going to need at least one storage pool formatted to bt rfs virtual machine manager will not install virtual machines on ext formatted drives so you're going to have to use btrfs and finally you're going to need a windows 10 iso file and license and once you have those three things you can go ahead and get started all right so the first thing you're going to want to do is log into dsm on our synology so from here you can see right here that i've already got virtual machine manager installed but if you don't simply go into package center right here and scroll down to virtual machine manager which is right here and just go ahead and install it all right so let's go ahead and open it up all right so right here is the dashboard shows you how many hosts you have if you had multiple synologies and synology's pro vm license you'd be able to run virtual machines on multiple synologies this gives you things like failover support as well as migration easily so you can go from running a virtual machine on one synology and migrate it over to a different synology then it also shows us how many virtual machines we've got and how many storage pools the first thing you've got to do if you've not set it up already is going to storage and we're going to go ahead and add one here so just click add and we're going to go ahead and create a storage resource so this will show you all the possible storage pools you've got on your synology that are bt rfs formatted and are not currently used in virtual machine manager and i've got this one and this volume 3 is actually just two ssds and raid 0 configuration which really speeds up the performance with virtual machines if you are going to be running a lot of virtual machines i would recommend either running them on an ssd pool or a pool that has ssd caching i've got a tutorial on ssd caching here so once we've selected it just hit next and here it'll tell you the name so i'm going to call it speed because it's really fast and we can even set it to notify us when it's very low on space i would recommend putting this to 15 all right and it's just as simple as that we've now created a new storage pool then if you've not set one up already go into network and click add and you're going to be creating a network for your virtual machines to use this actually lets you do a ton of really cool things because if you wanted to you could create a virtual machine network basically use one or two of the ports in your synology and have them connected to their own network this way you can connect to it and manage it and it is essentially air gapped that means that you can mess around there and do horrible security things but because these virtual machines do not have access to the external network they can't do anything it's a great testing zone but we're just going to select both of them just because it's easier and just give it a name here you can also select to have a vlan id meaning you can create a separate network but virtually so you don't need the additional hardware then if you just want virtual machines to be able to communicate with themselves you can actually create a private network where it just simulates an entire network all within the synology so you can have two virtual machines talking to each other without ever leaving whatever host they're running on but we're just going to do a regular external network here and go all right and so now we're going to go into images and load in our iso file so to do that we're going to hit add and it's got an option here you can either do it from your computer or from your synology so i'm going to select my computer and go into where it's saved and it's going to upload it here an iso file is basically the equivalent of an install disk so just select next and so i'm going to save this on my main storage pool and it's going to go ahead and create it so first it's got to go ahead and upload it and then it's got to convert it to a usable image for the synology so while that's uploading we're going to go here and click download synology guest tools this is basically an additional package you install when you're installing windows and it basically tells the operating system that it is being run on a virtual machine that way it doesn't have to do things like simulate network interfaces and it can just work it's really good for speeding up and it also allows you to control the virtual machine from virtual machine manager meaning you can safely power the machine down without doing the virtual equivalent of pulling the plug out of it and you can even see the ip address i would highly recommend doing this so just click download all right and so now we can see right here our windows 10 iso is built and our synology guest tools are also downloaded so that means we're ready to build our virtual machine all right and so now to actually build the virtual machine we're going to go into virtual machine and select create this is where you can set what operating system you're using so let's go microsoft windows and so now we get to choose which storage pool will be basically the internal hard drive of the operating system so we're going to use that speed pool we created earlier because it's that really fast ssd pool and now we're going to go ahead and give it a name and now we can set how many virtual cpu cores we're going to give the virtual machine for windows i would recommend giving it as many as you can muster another nice thing is if the virtual machine is not using all those cores then it's not like they're completely non-usable they still go back into the synology dsm we can also select some additional options here and so these are your advanced options it allows you to run the cpu and compatibility mode this means you'll be able to migrate the virtual machine from one type of processor to another type of processor if you've got synology vm pro all while it's running for most people you're probably not going to be doing this so i would recommend disabling it because it's just going to add additional overhead then we are going to want the hyper-v entitlements because it helps optimize your virtual machines processor and now we've got some quality of service things basically it says if you really want this virtual machine to have as much processor power as it needs you'll give it a high and if it's not that important and you want other virtual machines to take precedence you can go low it's all relative next up we've got how much ram you'd like to use as we all know windows 10 likes its ram i would recommend giving this at least eight gigabytes and note this is not like the cpu cores if you give it eight gigabytes of ram it is taking up eight gigabytes of ram no matter if the machine is not using it because the way virtual machines work finally for the video card i would recommend selecting vm vga as that's what's going to give you the best performance with windows 10. all right and now we get to select how big of a hard drive we would like to put in the virtual machine another nice thing about btrfs is if i give it 100 gigabytes and windows is only using 50 gigabytes of that it's not going to take up 100 gigabytes of my hard drive space on my synology it's only going to take up 50 gigabytes and finally select whatever virtual network you'd like to use and we are good to go and now we're going to go ahead and choose which iso files to mount to the virtual computer that we're creating so you're going to need the windows install and this is where you choose the additional iso file as being that synology vmware guest tools that allows it to interact more efficiently with synology so auto start allows you to start up the virtual machine as soon as you boot up your synology and then your bios will just choose legacy bios it's the easiest thing to do and finally down here with this virtual usb controller we can actually take one of the real usb ports on our synology and basically forward it to this virtual computer that we're creating this way anytime we plug something into that it'll just be forwarded directly into the virtual machine but i'm not going to set that up and finally we get to choose who's got access to it and now verify everything's correct and i like to say power on the virtual machine after creation all right and as we can see after a minute it's now running so all we have to do is go and click connect and it's basically going to create a virtual terminal for our computer to connect to this is just like if we were to go down to an actual computer and plug in a vga cable this is what you would see except it's all virtual and so now windows is going to take a while so we're just going to wait for it to start up all right and so now it's finally entered the setup menu and so now we're just going to go through the basic windows install and so now we've got the regular end user license agreements and for this we're going to do a very bare bones install so custom windows install and as we can see right here we have this 100 gigabyte hard drive that we created virtually so we're going to just select it and hit next all right and so now we're going to go ahead and kind of let windows do its thing it's going to take a little while so we want to see some information about what it's doing we can go into our dsm and go ahead and select the virtual machine and there's this drop up menu right here that shows you some stats so you can see what the host cpu is running basically how much of my synology's cpu is this virtual machine currently taking up you can see the virtual disk what it's doing and the network right here and so now we're just going to sit back and relax and let windows install all right so after a series of rebooting and just windows doing windows thing we're finally ready to start going so you select your location and just kind of do all the regular windows things as it's doing that i'll point out this key right here which allows you to send commands like control delete escape tab alt and control just in case your browser does not allow those passed through and there's some additional settings here so now we choose our keyboard layout all pretty basic things and so the first time you go through it's going to not be able to figure out internet so just click i don't have internet this is because it does not know how to interface with the network interface we've given it because we've not installed the synology tools just yet i'm going to go ahead and continue with limited setup which is what you need to do to set this up without internet the first time around then just add in your name password security questions the regular windows things no i do not want cortana and then this is all the stuff that windows tries to take and steal your information on and so i just say no to all that because well i like a little bit of privacy in my life at least the illusion of it and so now we've made it to part three of the okay windows is installing and doing its thing it's kind of annoying i kind of wish they had just set up windows install to you do everything up front and then when you click start it does the install as well as the user profiles and everything all in one go that way if you wanted to walk away for an hour it would just be done by the time you got back which would be nice but here we are hey what do you know we finally have windows 10 installed but there's still a couple of things we've got left to do so we're going to go into documents or yes files on windows and go to this pc and we're going to see right here that there is this cd hooked up that has synology vm tool so this is that synology guest package that allows windows to know that it's running within a virtual machine so we're going to double click and hit the install did it open to no it did not and we're just going to go through the install so now it's going through and basically allowing our windows virtual machine and our synology dsm that's running it to actually communicate in a much more efficient way so this will decrease both network and cpu overhead and even give synology a virtual machine manager some access into the windows virtual machine alright and now all we have to do is restart all right and after waiting a minute and letting windows figure itself out we should have a working network connection though i have had to do this before basically go into network click on it and scroll on down to change adapter options and basically just go in and basically disable this network device enable this network device and that's fixed it for me before it's a little bit finicky the very first time you boot up but once you get it working it'll work for the entire life of the virtual machine all right and so now everything should be working let's just test it out we'll we'll use edge and we'll just go to a cool youtube page and lookie right here even youtube's working wow it's a great great thing great things going on here all right so now that we've got the network working let's go back into dsm and see what we can do all right and so now that we've installed synology guest tools we can see right off the bat right here that synology knows what the virtual machine's ip address is so that way we know we can do this we just go and click shutdown and it's going to go through and actually tell the virtual machine to do a shutdown if we do not have synology guest tools installed to shut it down we would have to do a forced shutdown which is the equivalent of just pulling the power cord out of your virtual machine which is not the best thing to do well that's all i've got for you i hope everybody found this video interesting have a good one bye [Music] you
Info
Channel: SpaceRex
Views: 63,591
Rating: undefined out of 5
Keywords: Synology Virtual Machine, Synology Windows 10, Virtual Machine Manager, Synology NAS, Windows Virtual Machine, Virtual machine tutorial, Synology tutorial, Windows 10 Virtual Machine, Mac Windows Virtual Machine
Id: Cx92ZYakJSs
Channel Id: undefined
Length: 17min 45sec (1065 seconds)
Published: Sun May 03 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.