Add-CMDistributionPoint PXE password issue

I've been working on a powershell script that will create a distribution point on a newly created site server.  It all works well except the PXE password.  One of the parameters of the add-cmdistributionpoint cmdlet is -ComputersUsePxePassword which only accepts a securestring argument.  However, when I come to boot into a task sequence, it says that the PXE password is incorrect.

 

The relavant section of code is:

 

$pass = convertto-securestring -string "P@ssw0rd" -force -asplaintext

 

Add-CMDistributionPoint -SiteSystemServerName server.fqdn -SiteCode ABC -InstallInternetServer -CertificateExpirationTimeUtc "Tuesday, July 5, 2033 09:00:00 AM" -MinimumFreeSpaceMB 1000 -EnablePxeSupport -AllowRespondIncomingPxeRequest -EnableUnknownComputerSupport -ComputersUsePxePassword $pass

 

Anyone experienced this or have any suggestions?

August 6th, 2013 4:30pm

Try using a simple password without any special characters.
Free Windows Admin Tool Kit Click here and download it now
August 6th, 2013 7:44pm

The one above is just an example.  The one I have used in practice contains no special characters - the result is the same.
August 7th, 2013 10:26am

Enter the password in single quote, do not use double quotes. That should work.
Free Windows Admin Tool Kit Click here and download it now
August 8th, 2013 8:19pm

Hi,

I recommend to wait R2 release because there are some issues with this cmdlet.

Best,

Kaido Jrvemets

Configuration Manger 2012 SDK

CM12SDK.net

  • Marked as answer by Joe.Carter Friday, August 09, 2013 10:55 AM
August 9th, 2013 8:21am

I've tried that too - no joy.
Free Windows Admin Tool Kit Click here and download it now
August 9th, 2013 10:55am

Please file a feedback item on connect.microsoft.com if you encountered the same error in the R2 preview.
August 9th, 2013 11:12am

hello, I have the exact same problem with sccm 2012 r2, is there any solution for this?

I've tried quote, double quote, no quote...

Is anyone able to use this function? or any other way to specify the password? (registry or something else)?

(i'm using the set-cmdistributionPoint command.)

thanks.

Free Windows Admin Tool Kit Click here and download it now
February 6th, 2014 4:52pm

I am having the same issue as well with the secure password as well.. Does anyone have any help on this?

 $pass = convertto-securestring -string "bootmachine" -asplaintext -force

Set-CMDistributionPoint -SiteCode "$distsitecode" -SiteSystemServerName "$distservername" -EnablePxeSupport $True -AllowRespondIncomingPxeRequest $True -PxeServerResponseDelaySeconds 0 -EnableUnknownComputerSupport $True -UserDeviceAffinity "AllowWithAutomaticApproval" -ComputersUsePxePassword $pass -verbose 

This password does not work when I try to image.

July 29th, 2014 7:23pm

This still appears to be broken in SCCM 2012 R2 CU3 -- anyone have any success with it?
Free Windows Admin Tool Kit Click here and download it now
January 23rd, 2015 10:24pm

We've fixed this issue in CU4.
March 12th, 2015 4:23pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics