All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
[Updated] Windows on OVH VPS SSD
Some things have changed, so here is an updated tutorial with a few different Windows templates for you guys to use. Sorry about the delay, as I've been dealing with a lot recently that has delayed this over and over again.
Here is the old thread which mentions things about TOS, activation/licensing, etc that I won't bother mentioning again here.
https://www.lowendtalk.com/discussion/comment/2190003#Comment_2190003
Step #1. Purchase a VPS or use one you already have. ALL DATA WILL BE ERASED AND FORMATTED AND WILL BE IRRECOVERABLE ONCE YOU PREFORM THIS PROCEDURE. You can purchase a new OVH VPS from here. https://www.ovh.com/us/vps/vps-ssd.xml
Step #2. Reinstall your VPS with CentOS 6 x64. If you are purchasing the VPS for the first time select CentOS 6 as the OS you want to use when checking out.
Step #3. Once the VPS has been activated, installed and set up by OVH and is visible in your manager, go ahead and click on "Rescue mode" and wait for the VPS to reboot into rescue mode. You will need patience, it'll can unfortunately take anywhere from 5 minutes to 1 hour or longer to reboot into rescue mode and send you an email with the SSH login details.
Step #4. Install an SSH client like mRemoteNG or mobaXTerm if you are using windows or if you are on mac/linux open up a terminal and ssh root@(vps ip), this is assuming you've used SSH before. OVH has additional documentation on how to SSH into the live, netbooted recovery enviroment your VPS is now in.
Step #5. Once you are in the recovery-pro environment do the following commands in this order.
apt-get update
and press Y on any prompts you get, it is okay if you don't get a prompt or get an error, continue to the next step..
apt-get install tmux
lsblk
and you'll now see either one of two things,
vda 254:0 0 10G 0 disk
└─vda1 254:1 0 10G 0 part /
vdb 254:16 0 10G 0 disk
├─vdb1 254:17 0 10G 0 part /mnt/vdb1
or you'll see
sda 8:0 0 4.9G 0 disk
└─sda1 8:1 0 4.9G 0 part /
sdb 8:16 0 10G 0 disk
└─sdb1 8:17 0 10G 0 part /mnt/sdb1
Depending on which one you'll see, vda/b or sda/b, you'll need to select the appropriate template.
Step #6. Prepare for template installation. Run the following commands...
umount /mnt/vdb1
or if yours is sda/b instead of vda/b do
umount /mnt/sdb1
then
rm -rf /mnt/vdb1
or if yours is sda/b instead of vda/b do
rm -rf /mnt/sdb1
then
tmux
Now we are finally ready to restore the Windows dd image. Keep in mind this can and may take well over an hour, so leave this running and go do something else until it finishes.
Here are the current commands for the various Windows images.
If your lsblk displays vda/b use these templates:
Windows Server 2012 R2:
wget -O- 'http://vpsfiles.hosthaven.net/Server2012R2vdx.img.gz' | gunzip -c | dd of=/dev/vdb
Windows Server 2016:
wget -O- 'http://vpsfiles.hosthaven.net/Server2016vdx.img.gz' | gunzip -c | dd of=/dev/vdb
Windows Server 2003 R2 x64:
wget -O- 'http://vpsfiles.hosthaven.net/Server2003R2x64vdx.img.gz' | gunzip -c | dd of=/dev/vdb
If your lsblk displays sda/b use these templates:
Coming soon!
It will take around an hour or two for this to complete, so just relax and go and do something else whilst that happens, don't press or touch anything, you'll know when it's done when you see
root@rescue-pro:~#
and you are able to type stuff again, if you think it's frozen give it at least 2 hours, if it still hasn't completed by then reconnect and type "tmux attach-session" and you'll most likely find it's completed.
Once it's done go back to your OVH manager and press the "Reboot my VPS" button, the VPS will take a bit to reboot, and once it's done click on the KVM button and then "Open in a new window".
You should now see the Windows login screen. Press the "control alt delete" button in the upper right hand corner of the noVNC window and type in TempPass123#* as the password, then you will be prompted to enter a new Administrator password for obvious security reasons, so enter yours and then press enter and if everything went well you should be booted to the desktop, and we are done! Additional IPs, an additional disk, etc will all work, you can set those up by following OVH's own documentation under the Windows section.
Remote desktop connection is NOT enabled by default for security reasons, you can set that up yourself of course, and your VPS will obtain it's dedicated IP via DHCP as that is how OVH has their system set up.
Lastly, please remember to open up run and type "diskmgmt.msc", and extend the primary 10GB partition to fill up your entire disk. If you don't do this you WILL be limited to 10GB no matter what your VPS has. For Server 2003 you need to do this a different way, I will post updated instructions for that specific template when I get a chance. Additionally for Server 2003 ignore the text file on the desktop with the link to the disk files needed for various things like installing services/roles, the new link is http://vpsfiles.hosthaven.net/Server2003R2Disk1Files.zip
Comments
-
Nice work. Do these work with OVH Cloud?
Awesome! I get a 404 error when trying to download the image. Looking forward to trying this. Thanks!
Remove the spare quote, and blame Vanilla, because it blows goats. Then pick a real team to root for.
win7?
remove the trailing ' in the URL and it'll download correctly
For those of you that have the newer VPSs that use the sdb instead of VDB joodle beat me to it for making templates for those https://www.lowendtalk.com/discussion/112860/howto-install-windows-on-your-ovh-vps#latest
Links are dead
fixed
I am not sure, haven't tried OVH Cloud yet
Hi and thank you for your detailed tutorial here. However, I am having some trouble with this. I installed the template from the thread you linked in your quoted message but windows start up in recovery mode and nothing can be done, the errors say that the partition was unable to be found or something related to the hard drive/windows files.
fyi I have the 10gb hard drive/2gb ram OVH VPS.
If your lsblk displays sda/b use these templates:
Coming soon!
When you provide these sda/b templates?
i have to come in and warn everybody, where do those images are coming from? any guarantee they are clean?
Please, if your system must be secured, pay for your license, or use a provider already with it.
cool guide OP by the way
Regards
Looking into this, VPS hosting the files may have rebooted without httpd or symlinks over sshfs working, I'll post back here once that's taken care of
I try again but not work.
I tried the same. No luck. Will wait till the weekend. Also, are there any other sources for the Windows image files?
@ethancedric - any luck getting the sshfs working to fix the windows image links?
it's fixed and up again
I believe whatuptime has the templates that work if yours shows sda or sdb
Thanks!
Anybody can mirror to google drive for WindowsServer2012R2 and Windows server 2016?
I'll make a mirror as soon as the download is done.
ETA 2-3 day (20KB/s)
That's embarassing, Yeah I'll post a google drive link here with them as well as get that slow speed thing sorted
My downloads been at 20KB/s and ETA 2 days. Looking forward to the google drive link.
Correct, we have templates for VirtIO and VirtIO-SCSI - thank you for the mention!
almost done moving them to an OVH VPS with 100 up and down so it'll be fast again, as well as making a google drive link
Okay, thank you..
almost done