idea11-logo-mid19-duo
  • What we do
    • Digital transformation
    • AWS
  • Services
    • TechOps Managed Services
    • Cloud Migration
    • DevOps
    • Data, Analytics & IoT
    • Cloud Dev & API
    • Cloud Infrastructure & Security
    • Machine Learning & Artificial Intelligence
  • Our work
    • Our customers
    • Case Studies
    • Our Partners
    • Awards
  • About us
    • Our story
    • Our people
    • Our values
    • Careers
    • Awards
  • Blog
  • Contact

Configuring Amazon WorkSpaces Registration Code Automatically

February 23, 2018 By Rian Brooks-Kane

Here at Idea 11 we work with our customers to deploy Amazon WorkSpaces. A lot of WorkSpaces.

In an enterprise, one annoying aspect of the client is the Registration Code. This code is used to tell the WorkSpace client where to connect.

Now obviously just telling the end users to enter this code isn’t the most seamless user experience we could want and usually results in a few helpdesk calls.

So this is how you can configure this code automatically for your end users.

registrationCache.json

Stored in the user profile (%userprofile%\appdata\Local\Amazon Web Services\Amazon WorkSpaces\registrationCache.json on Windows 10) is registrationCache.json

This file contains the settings for the registrationCode.

The easiest way to get this file configured with what you need is to configure the registration code in your client and take a copy of the file.

Deploy

Now there’s lots of ways you can deploy out this file (login scripts, SCCM, Group Policy, etc) but i’m going to cover how I do it with Group Policy.

Please modify these steps as you need for your use case, and ALWAYS test before you deploy into production with change management approval.

  1. Put the file somewhere that is read only accessible on the network by everybody (I’m going to use sysvol)
  2. Create a Group Policy Object (or add the below settings to an existing policy)
  3. Under User Configuration > Preferences > Windows Settings > Files > (Right Click) New > File
  4.  Now lets configure some settings:
    1. Under the General Tab
      1. Action: Replace (This is up to you but in our deployments we want to be able to change this file when required)
      2. Source File: Where you are storing your registrationCache.json
      3. Destination File: %userprofile%\appdata\Local\Amazon Web Services\Amazon WorkSpaces\registrationCache.json (This is tested on Windows 10, you may need to find the correct location for your file)
    2. User the Common Tab
      1. Enable : Run in logged-on user’s security context
      2. (Optional) Enable: Remove this item when it is no longer applied
  5. Link this Group Policy Object into your OU structure where required.
  6. Tell your helpdesk what you’ve deployed and relax.

Need some help with Amazon Web Services? Idea 11 is an Advanced Consulting Partner with AWS helping customers with their journey to and inside the cloud. Get in contact with us here.

Filed Under: All, Tech

Recent Posts

  • We’re one of the fastest in Australia, once again!
  • Idea 11 helps City of Gold Coast build Digital City Platform
  • Idea 11 honoured in 2018 growth awards
  • Handling Application Settings in your DevOps Deployment Pipeline
  • Protecting content with CloudFront and the AWSSDK for .NET apps

Categories

idea11-logo-mid19

1300 433 211
sales@idea11.com.au

Brisbane
Level 1, 88 Brandl St

Brisbane Technology Park
Eight Mile Plains QLD 4113
Australia

Sydney
Level 26, 44 Market Street

Sydney, NSW 2000
Australia

What we do

  • Digital transformation
  • AWS

Services

  • TechOps Managed Services
  • Cloud Migration
  • DevOps
  • Data, Analytics & IoT
  • Cloud Dev & API
  • Cloud Infrastructure & Security
  • Machine Learning & Artificial Intelligence

Our work

  • Our customers
  • Case Studies
  • Our Partners
  • Awards

About us

  • Our story
  • Our people
  • Our values
  • Careers at Idea 11

Other

  • Blog
  • Support Policy
  • Privacy Policy
  • Website terms
  • Portal log in

© 2019 Idea 11. All Rights Reserved.