After trying to llok on alot of website I still don't know het to get my MACHINENAME out of AD. My WDS server boot a winpe (its a very clean one) My winpe formats the drive, and copy i386 folder from server to local disk. then start winxp setup with a sif file. in my sif file i have %MACHINENAME% as var. But %machinename% is at this moment * cause i putted "%machinename% = *" in the start of my script. What i want is a script dat read in my active directory and give me the right computer name for the computer i want to install. I will compare the MAC adress or GUID from the computer and the compûtername in AD. Is this possible? If yes can you point me in de right directions or maybe better give me with a script. I hope someone can helps me...