Microsoft Azure Cloud Gaming Tutorial 2018

We are lucky to be among a special group of Gamers that get to experience the emergence of Cloud Gaming. Not only do we get to play games in the Cloud, but we have a lot of Cloud Services to choose from. Today we focus on Cloud Gaming through Microsoft’s Azure service.

Azure isn’t quite as plug & play as some of its competition. That’s ok. It’s a very powerful service that is worth your consideration. It’s also available in regions that aren’t supported by other Cloud Gaming services (like in Asia and India). This article will teach you how to setup a Cloud Gaming server through Azure. We are going to setup your server by utilizing a template that will do a lot of the work for us.

Setup your Azure Account and Billing

  1. Setup a pay-as-you-go-subscription with Azure.
  2. Log into the Azure Portal.

Create your Virtual Machine

  1. Click the “+” sign on the left side of the screen.
  2. Search for “template” and select “Template Deployment” from the search results dropdown menu.
  3. Click “Create” at the bottom of the screen.
  4. Choose to “Build your own template in the editor”. This will open up a code editing window. Erase the code in that window and replace it with the code from this page. Save the Page.
  5. Determine which Server to select for your region. Visit this page and choose your region from the dropdown. Make a note of the locations that support the “NV-Series” servers for your Region.
  6. Fill out the settings for your new server.
    1. Select pay-as-you-go for your Subscription.
    2. Create a new Resource Group (you can call it whatever you want ie: parsec-servers).
    3. For Location, select the server that you identified in Step 5.
    4. Customize the values for VM Name, User Name, and  User Password (these can all be pretty much whatever you want).
    5. Visit this page. Log in with your existing Parsec Username & Password. Choose the link that says “click here to show the extra steps for cloud servers”. Copy the unique code that it displays below in the “Configure Your Cloud Server” section. Go back to your Azure Cloud Server configuration page. Paste your Parsec code into the “Custom Data” field.
    6. Accept the Terms & Conditions and then check the box at the bottom of the page to “Pin to Dashboard”.
    7. Click “Purchase” at the bottom of the page.
  7. Wait for your Cloud Server Instance to be created. When it’s finished, click on the name of your server from the Azure Dashboard. This will load your Cloud Server overview page.
  8. Click the “Connect” button on this page. This will download a RDP file to your computer (usually saves in the Downloads folder by default).
  9. On your Desktop, click the Search Button in the bottom left corner near the Start Menu. Search for “Remote Desktop”. Open the Windows Remote Desktop from the search results.
  10. Click “Show Options” at the bottom of the Remote Desktop Window.
  11. Click “Open” at the bottom of the Remote Desktop Window. Navigate to where you downloaded your server’s RDP file. Select it and open it with Windows Remote Desktop.
  12. In the Username field, type in the Username that you created for your Cloud Server. Click “Connect” at the bottom of the window.
  13. You may be asked a few times to allow connections. Choose to allow and connect for each prompt. You will be prompted for a server password. Type in the password that you created for your Cloud Server.
  14. Congratulations! You should be on your Cloud Desktop!

Configure the Cloud Server

  1. Shortly after you log into your Cloud Desktop, Windows Server Manager should open automatically. Click “Local Server” on the left side of the screen.
  2. Near the right side of the screen, click on “IE Enhanced Security Configuration” and set both options that it gives you to “off”.
  3. Click “Manage” near the top right corner of the screen. Choose “Server Manager Properties” from the dropdown menu. Put a checkmark in the “Do not start Server Manager automatically at logon” box. Close the Server Manager Window.
  4. Search for “Firewall”. Turn the Firewall off.
  5. Search for “Windows Defender”. Click the settings gear and turn off real time protection.
  6. Search for “Defragment” and select “Defragment and Optimize Drives” from the results. Click on “Change Settings” under “Scheduled Opimization”. Uncheck “Run on a schedule”. Click “Ok” and then close the window.
  7. Click the Search Box again and search for “netplwiz”. Highlight your Username and then uncheck “Users must enter a user name and password to use this computer”. Click “Ok” and enter your user’s password when prompted (same password that you created during server setup).
  8. Install Nvidia Drivers from this link. Important! You need to install the driver from this link. Installing other drivers may prevent Parsec from working properly. When the drivers are completely installed, you will be prompted to reboot the computer. Go ahead and accept this prompt and restart the computer. This will kick you out of the Remote Desktop program. Wait 5 minutes and then log back into your server through the Remote Desktop program.
  9. Search for “Device Manager”. Expand “Display Adapters” and right click on Microsoft Hyper-V Video”. Disable it. While in Device Manager, look for “Monitors”. Click on Monitors and see if it shows you more than one Monitor. If it does, you’ll need to check to see which one shows that it’s connected to your Nvidia M60. Right click on each Monitor and choose “Properties”. The description will show you whether the Monitor you selected is tied to the M60. Disable the Monitor that isn’t connected to the M60.
  10. Open the Registry Editor by searching for “regedit”. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows. Right Click on “Windows” and create a new Key named “Personalization”. This will add Personalization to the list under Windows. Right click on “Personalization” and create a new DWORD Value named “NoLockScreen”. After creating this entry, double click it and set it to 1.
  11. Perform a search for “Services” and open Services. Double Click on “Windows Audio”. Change the “Startup Type” to “Automatic” and then Start the service.
  12. Download Virtual Audio Cable from this link. Create a folder on your Desktop and extract the downloaded Virtual Audio Cable files to it. Inside of the folder, run the VBCABLE_Setup_x64 file. Install the Virtual Audio Cable.
  13. Download Parsec from this link. Install it and enable Controller Support during Setup. Parsec will open automatically. Log in with your existing Parsec Account (same account that you use on your home computer). Enable Hosting at the top of the Parsec Window.
  14. Click on the Settings Gear on the Parsec window and open Settings. Choose “Network” from the left side of Parsec. Enter “8000” for Server Start Port.
  15. Click “Hosting” on the left side of the Parsec Settings Window. Make sure that the monitor attached to your M60 is selected under “Display Adapter”.
  16. Click on Start and restart your Server. This will kick you out of the Remote Desktop session.
  17. Open Parsec on your home computer. Wait for your Cloud Server to show up as an option under the Play menu. This may take several minutes.
  18. Click on your Cloud Server and connect to it with Parsec. You should now be on your Cloud Desktop.
  19. Install Games and Play!

Things to remember

Like we said, Azure is not plug & play. However, now that your server is setup, things get much easier. Remember to shut down your server when you are done with a gaming session (if you don’t, your hourly billing will continue). You can also download the official Azure management App on Android and iOS to manage your server from your mobile device.

What do you think? Is it too complicated to setup? Does it perform well for you? Let us know in the comments!

Special Note: We didn’t figure out all of these details on our own. Much of the credit belongs to Parsec and to Byron Dover’s blog.


Also published on Medium.

Josh is a long-time Gamer and Technology Guru. He is known for his writing and troubleshooting skills. Josh can solve just about any problem, and is especially good at getting to the bottom of technology challenges. He has a background in Networking and holds a Bachelor of Science in Information Technology degree. When he’s not gaming, Josh can be found blogging, testing new tech, and interacting with Flickstiq’s social media following. He lives in Ohio with his wife and children.

Liked it? Take a second to support Josh B on Patreon!
Spread the love
  •  
  •  
  • 2
  •  
  •  
  •  

16 Replies to “Microsoft Azure Cloud Gaming Tutorial 2018”

  1. I did everything you said and everything has gone good, but when I click on Play it loads but the windows closes and relaunches again saying “Oh no! We’re sorry for the inconvenience…” Can you please reply with something helpful? Thanks!

  2. This was a good tutorial but it has a flaw. There is no NVIDIA GPU visible in device manager and so I cannot install the drivers as it says the machine doesn’t have a NVIDIA GPU.

    1. That would mean that you didn’t setup the NV6 machine correctly. There are many types of servers that can be created through Azure, but most don’t include a dedicated GPU. The NV6 instance is required for Gaming.

  3. I setup an Azure gaming server following these instructions with no issue a few months back. One day I came in to use it and the Monitor with the Nvidia adapter on it was gone. Could not remedy that situation. Attempting a rebuild and am having issues now getting the Parsec app to auto start. When I log in to the machine via RDP and start parsec, I note it is not in the system tray. At t his point it appears in my Parsec remote server list at home and my connections are met with a lock screen. I am going to try a fresh rebuild again. Just curious if you are seeing this issue too?

  4. Hey Josh, I did exactly as you said !! My machine was deployed yesterday and I got Nvidia Tesla M60 GPU. But today, when I logged into my VM, within 10 mins my system shut down abruptly. I went back to azure portal but this time, I am unable to deallocate or start my VM. Please tell me how I can create a new VM with existing disk.

    1. I’m sorry to hear that. You have to delete all of the resources before creating the instance again. But it sounds a bit like a bug, so you may need to get some help from Microsoft.

  5. Hi! I get this error when I try to purchase my template : {“code”:”DeploymentFailed”,”message”:”At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-debug for usage details.”,”details”:[{“code”:”BadRequest”,”message”:”{\r\n \”error\”: {\r\n \”code\”: \”InvalidParameter\”,\r\n \”target\”: \”customData\”,\r\n \”message\”: \”Custom data in OSProfile must be in Base64 encoding and with a maximum length of 87380 characters.\”\r\n }\r\n}”}]}

  6. The Link in bullet 6.5 not longer works – at least for me. So there is no Parsec Server Code to copy and paste.

    Consequently, the template fails with the error:

    {
    “error”: {
    “code”: “InvalidParameter”,
    “target”: “customData”,
    “message”: “Custom data in OSProfile must be in Base64 encoding and with a maximum length of 87380 characters.”
    }
    }

  7. You should paste this-

    network_server_start_port=8000
    server_key=7ca5e61cd8c44fb16fe42eb183f6f2ed6473a0fe4fd451684be4b5aef7e0a863
    app_check_user_data=1
    app_first_run=0
    app_host=1

    In the place of custom data.

    And if you getting any problem when connect with parsec.

    See the solution-
    Go to
    Local Security Policy -> Local Policies -> Security Options -> Interactive Logon: Do not require CTRL + ALT + DEL

    Set this to “Enabled

    Your all the problems will be solved now.

  8. Hey Josh, when I try to setup the nvidia driver it says “This graphics driver could not find compatible graphics hardware”. Any idea why?

  9. I’ve got an nVidia V100 machine configured, but it doesn’t seem to want to go into WDDM mode either even after using the nvidia GPU driver extension to install the drivers. Any idea how to game on the V100 yet?

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.