System Center 2012 R2 – Register SPN fails

September 2, 2014

I received the following error wile pasting the command from my solution document.

C:\Windows\system32>SETSPN.exe -A MSOMSdkSvc/MyServer domain\service_account

Unknown parameter MSOMSdkSvc/MyServer. Please check your usage.

I have encountered this before and thought I would share the knowledge to save you some troubleshooting.

As you know the data access service account runs as a domain user and doesn’t have access to creation of the service principal names in Active Directory. There for you must run the commands with administrative or delegated privileges to user objects.

The syntax for adding SPN are two commands are found at TechNet http://technet.microsoft.com/en-us/library/dd548282.aspx

SETSPN.exe –A MSOMSdkSvc/<ManagementServerFQDN> <domain>\<SDKServiceAccount>

SETSPN.exe –A MSOMSdkSvc/<ManagementServerNetBIOS> <domain>\<SDKServiceAccount>

It is really tempting to just copy the lines and replace the information between <> with your data. But if you do you should know that there are issues with that. Windows and the command prompt or PowerShell interprets the minus character differently.

To display the differences I have copied and pasted the same line from Notepad, the command prompt and from PowerShell into Notepad++.

Plain

As you can see there are no differences between the lines but if I display the text in Hex you will see where the problem occurs.

HEX

The Hex code for minus sign hyphen is 2d which both PowerShell and command prompt delivers correct (marked in green). But the line pasted from notepad displays something different (marked in red).

That is the reason you will get the error message even if it looks correct.

One way to sort this in your documentation is to use the slash / (hex 2f) which displays the correct character in all three cases instead of the minus sign. Another way is to change the minus sign in the prompt.

Advertisements

On demand training, Windows Azure Pack

August 14, 2014

July 16–17, 2014 Microsoft had a Live training event called Windows Azure Pack: Infrastructure as a Service Jump Start ft a instructor team of Microsoft employees.

During two days you could learn how to use Windows Azure Pack to deliver Infrastructure as a Service (IaaS) in your datacenter. The content is now available on Microsoft Cannel 9

Have you checked out the Ch9 App for Xbox 360? Pretty nice to be able to watch the content on your home entertainment system 🙂

Full course outline for the two days:

Day One

Day Two

So join the Instructor Team for an exploration of Windows Azure Pack’s (WAP’s) infrastructure services (IaaS)

Windows Azure Pack builds on the power of Microsoft CloudOS brought to your local data center that enables you to deliver an enterprise-class, cost-effective solution for self-service, multitenant cloud infrastructure and application services based on Microsoft Azure, Windows Server and System Center technologies.

· Andrew Zeller | Microsoft Senior Technical Program Manager

· ​Symon Perriman | Microsoft Senior Technical Evangelist
Twitter: @SymonPerriman

· Joe Levy | Microsoft Program Manager
Twitter: @Jodoglevy

· Shriram Natarajan | Microsoft Program Manager
Twitter: @shriramnat

· John Ballard | Microsoft Principal Program Manager

​· ​Vybava Ramadoss | Microsoft ​Program Manager
Twitter: @vybava

· Anshuman Nangia | Microsoft Program Manager


Study guide for Microsoft Certification Exam 74-409

May 20, 2014

Veeam are providing a “Free Study Guide for Microsoft Certification Exam 74-409: Server Virtualization with Windows Server Hyper-V and System Center

The guide is a 150 page pdf document that covers the exam objectives in 8 chapters.

You will learn about:

  • Virtual Machine Settings
  • Virtual machine storage
  • Hyper-V Virtual Networks and virtualization networking
  • Implementing virtual machines
  • Managing Virtualization Hosts and Infrastructure
  • Hyper-V Failover Clustering and Failover Clustering Roles
  • Virtual Machine Movement
  • Monitoring and disaster recovery