Thursday 23 January 2014

Creating Service Connection Point (SCP) for Virtual Machine Manger using PowerShell

After an installation of System Center 2012 R2 Virtual Machine Manager today I was greeted at the end of the Wizard with a message that it couldn't register the SPN or SCP and to manually check them.



It's not the first time I've seen this message and rather helpfully the message directs you to run the ConfigureSCPTool.exe utility This is usually run with syntax similar to this:
"C:\Program Files\Microsoft System Center 2012 R2\Virtual Machine Manager\setup\ConfigureSCPTool.exe"  -install VMMServer.DomainFQDN DomainShort\VMMServer

However when I ran it this time, it didn't create the Service Connection Point (SCP) for me (The SPN's btw were correct already).

The SCP is important as it provides a lookup point in Active Directory for the consoles to connect to the VMM server and I also believe that Bare Metal Deployment of Hyper-V hosts use it in some form.

I could have created the SCP manually using ADSI Edit, but since I'm scripting the installs at the moment, I took 5 minutes to wrap the creation into a script.
The script can be found here: http://sdrv.ms/1ebCofI

The script basically takes an input of your Domain NetBIOS (short) name, your Domain Fully Qualified Domain Name (FQDN), your VMM Server and the service account that your VMM service runs under (I haven't tested with a local system account!).

The script when run will create the SCP object under your server computer object in Active Directory with the required Keywords, Binding Information, Class Name and DNS Info.

12 comments:

mind.it said...

Love to read it,Waiting For More new Update and I Already Read your Recent Post its Great Thanks. best vpn

Lauren Gottlieb said...

I appreciated your work very thanks Best VPN China

2009 DREAM said...

Thanks for posting this info. I just want to let you know that I just check out your site and I find it very interesting and informative. I can't wait to read lots of your posts. Cheap VPN

online courses said...

Individuals requiring a dependable program for their fund specialty or designing related prerequisites can rely on MATLAB to convey with no issues. machine learning course

WilsonO'Neill said...

Extremely your blog is very interesting.... it contains incredible and special data. I delighted in to visiting your blog. Its equitable amazing.... Much obliged without question. buy windows vps

Repairtech Solutions said...

Way cool! Some extremely valid points! I appreciate you writing this post plus the rest of the website is also really good. onsite mobile repair bangalore Excellent site you have here.. It’s hard to find high-quality writing like yours these days. I honestly appreciate individuals like you! Take care!! asus display repair bangalore This is a topic that's close to my heart... Best wishes! Exactly where are your contact details though? huawei display repair bangalore

Repairtech Solutions said...

I'm pretty pleased to uncover this website. I need to to thank you for your time just for this wonderful read!! I definitely savored every little bit of it and I have you book-marked to look at new things in your blog. online laptop repair center bangalore Can I simply say what a comfort to uncover someone that actually knows what they're talking about online. You certainly know how to bring a problem to light and make it important. More and more people have to look at this and understand this side of your story. I was surprised that you are not more popular because you definitely have the gift. dell repair center bangalore

Repairtech Solutions said...

You're so interesting! I do not suppose I've read through a single thing like that before. So nice to discover somebody with some original thoughts on this topic. Really.. thank you for starting this up. This web site is one thing that is required on the internet, someone with some originality! macbook repair center bangalore I love looking through an article that will make people think. Also, many thanks for permitting me to comment! acer repair center bangalore

Eddie Burke said...

Amazing explanation, thanks!

John Weed said...

This blog is truly useful to convey refreshed instructive issues over web which is truly appraisable. I discovered one effective case of this truth through this blog. I will utilize such data now. Fastest vpn servers UK

Anu said...

Thanks for sharing
PMP certification cost in india

saketh said...

Thanks for the informative and helpful post, obviously in your blog everything is good.. ExcelR Data Analyst Course