Afaria Setup – Windows preparations

Published by Tobias Hofmann on

3 min read

The specific server requirements for Afaria can be taken from SAP PAM.

For the scenario of this document I assume that you simply want to try out things with Afaria, like getting a understanding of how things work, how to get a device managed by Afaria. To be able to install Afaria, you need a Windows Server 2008 R2 with SP1. To be able to enroll devices, a Certificate Authority that supports NDE is needed. While you can find Windows Ser2008 R2 on Amazon EC, these are not Enterprise Editions. And you need a EE for installing a CA that supports NDE. This feature is included in Server 2012 R2, but Afaria does not run on Windows Server 2012 R2.

To start with Afaria, you need to have a Windows Server 2008 R2 SP1 installation available. An alternative to buying one is to use the trial version. Microsoft offers a trial that is valid for 180 days. After all, the objective is to try things out with Afaria. The trial offered by Microsoft is delivered as a VHD image, so you’ll need Hyper-V (or transform it to a VMDK image).

After starting the image for the first time, Windows will configure itself.

After finishing the initial configuration, a password for the user Administrator must be given.

You do not have to change the password after the first logon, so you can already chose the one you want to work with.

In case you run your Windows 2008 R2 server in VMWare, it is a good idea to install the VM Ware tools.

Install VMWare tools

To install the VMWare tools, proceed as instructed by VMWare. Go to Manage and select Install VMWare Tools option.

This inserts a virtual CD that contains the VM Ware tools files. Open the Windows Explorer, navigate to the CD drive. Start the installation by running the file setup64.exe.

This will run the VMWare tools installer and install the tools.

To finish the installation, restart the computer.

Update system

The image provided by Microsoft is from 2009, meaning it comes with the same patch level it was built with in 2009. This also means that this Windows version does not meet the minimum requirements of Afaria: SP1 for Windows Server 2008. To get the SP1 you either download the complete SP1 stack from Microsoft or you download and install it through Windows update. The Windows update process brings the image to a current and patched version. Therefore this is the process you should follow.

Start Windows update and turn on automatic updates.

To be able to use Windows 2008 R2 with Windows update, you first must update Windows update.

Afterwards, Windows update will start searching for missing updates. This will show already 127 missing updates. Be prepared, this is only the start of a lengthy update process.

This will take a while to finish. During this first update run IE 9 will be installed. Afterwards, restart the computer. Windows will configure and install the updates.

Log on to Windows. Install more Window updates.

Restart Windows. Log on again and install more updates.

Check for updates

Important: Afaria needs Windows 2008 Server with SP1. Make sure SP1 is part of the updates to be installed list.

Download updates including SP1 for Windows 2008.

SP1 is getting installed and configured.

Let Windows reboot and log on again.

SP1 for Windows 2008 R2 Server is installed. The minimum requirement of Afaria regarding Windows are now met.

Best is to check again for new updates and install them. Go to Windows update and check for new updates.

Update Windows Update (yes, this is as funny as it sounds).


Good thing is that this will get you IE11.

After restarting Windows, continue installing patches

Restart Windows to finish installing the patches. Finally, Windows is up to date


In case you use a VM: take a snapshot or take a backup.

Let the world know

Tobias Hofmann

Doing stuff with SAP since 1998. Open, web, UX, cloud. I am not a Basis guy, but very knowledgeable about Basis stuff, as it's the foundation of everything I do (DevOps). Performance is king, and unit tests is something I actually do. Developing HTML5 apps when HTML5 wasn't around. HCP/SCP user since 2012, NetWeaver since 2002, ABAP since 1998.


Leave a Reply

Avatar placeholder

Your email address will not be published. Required fields are marked *

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