Create in DHCP server option 060 for PXE


When you create a WDS server out of your DHCP server the server option 60 in dhcp for PXE do not exists. To make it do the following steps:


Open a command prompt with elevated privileges and writte:

NETHSH>server \\NameOfDHCPServer
NETHSH>add optiondef 60 PXEClient String 0 comment=”Option added for PXE Support”
NETHSH>set optionvalue 60 STRING PXEClient
NETHSH>show optionvalue all

next step in my case is add 066 option to say whicc is the WDS server.

I hope it help you!


Remove a computer from a Collection when OSD Task Sequence is completed


I find a very interesting post where indicate how to put out of a collection a new computer after to be created with OSD.

The post is writed by Jörgen Nilsson.



When using a mandatory OSD advertisement to install a Operating system it is a great benefit to remove the computer from the Collection to where the OS deployment is advertised. The OSD task sequence advertisement can then be set to always rerun and all problems related to reinstalling an existing computer is solved.

This can be achieved by using a status filter rule together with a VBscript which removes the computer from the collection once the Task Sequence completes successfully.

I have updated the script to search for active computer records in SCCM using the name and then removing the computer from the collection using the ResourceID instead of using the name for matching. I have seen at customers that some third party applications created direct memberships with a different naming convention than the SCCM Admin Console does, this updated script will solve this problem.

Update 2
The script have been updated with the possibility to enter more than one collection to remove the computer from, it can also write an event to the event-log on the SCCM server with the name of the computer and the collection/collections it will be removed from.
I have removed the script code from this blog and made it available as a file instead, to avoid problems when cut/pasting the text.

You can download it here:

Download the script and save it as “remove.vbs”  edit the following line with the collection/collections you want the computer removed from

sCollectionIDs = “00100053:0010004A:00100069″

when that is done, complete the steps below to configure the status filter rule.


Configuring the status filter rule:

  1. Under site settings create a new status filter rule
  2. Configure it to use the following settings:

Component : Task Sequence Manager
Message Id: 11171

Run a Program: cscript.exe e:\sccmtools\remove.vbs %msgsys

Status1 status filter rule 2

WDS not want to start after configure PXE Service on SCCM 2012 DP

Hi friends,

Yesterday in a SCCM 2012 infrastructure project that I´m participating, I was configuring the PXE Service on a new Distribution Point MS Server 2008. Well, after configure the PXE Service from the SCCM admin console, the WDS role not want to start. The problem was that need the Microsoft Visual C++ 2008 Redistributable – x64 9.0.30729.4148 (vcredist_x64) to work.


Here i put the link to the MS kb.