Notes on getting PXEFILTER.VBS working
Ok i have spent the last 3 weeks trying to get the PXEFILTER.VBS working. I finally got it working today. First i would recomend turning on logging. It is very helpful. Please see my previous blog post for how to do that.
http://myitforum.com/cs2/blogs/cstauffer/archive/2008/02/13/turning-on-logging-for-the-pxefilter-though-wds.aspx
Once you have logging turned on you will need to do one of the following to the script.:
1. If you are running your WDS server on a seporate server from the SCCM server you will need to add credentials to access the system.
2. If you are like me and running everything on the same server then you do NOT need credentials to connect to the server. This is because the script is accessing WMI with the local system account. So if you are having an issue with your PXEFilter.vbs script and WDS is on the same box as your SCCM and MDT server make sure that the username and password are blank.
You will still need the sitecode, sccm server and the Collection but that is it.
So the begining of your script should look like this
**********************************************************
sProviderServer = "LABCONFIGMGR01"
sSiteCode = "CM1"
sNamespace = "root\sms\site_" & sSiteCode
sUsername = ""
sPassword = ""
sCollection = "CM100010"
**********************************************************
This problem was discovered after turning on logging and getting this error.
2280] 11:38:14: [WDSPXE] [Microsoft.BDD.PXEFilter] Error occurred at line 45 position 1: User credentials cannot be used for local connections
So if you are getting this error try removing the username and password.
special thanks once again to Michael Niehaus for pointing this out to me.
Chris Stauffer <><