Jump to content


  • 0
Keslaa

OSD XP Deployment

Question

Hello,

I am trying to hammer through a problem and can't get this figured out.

Scenario:

Using OSD to deploy XP image for older computer models. The image needs to deploy and the task sequence should rename computer based on subnet and then join computer to proper AD OU.

Image created and deploys fine

I cannot get the machine name change to work.

 

In our Windows 7 image deployment task sequence, I created a PowerShell script that I run through a Task Sequence Run Command Line step. When I tried to use the same step in the XP image, I would receive a PowerShell error indicating the .PS1 file was not recognized as a cmdlet, etc. I then created a .CMD file to execute the PowerShell script and tried to run as a Task Sequence Install Software step. I am now getting an error in the TS log stating that the "install failed with error 0x80070001". If I deploy the same .CMD package as an advertised program, it works fine. Any great ideas out there?

 

Eric

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

I wanted to clarify a little more on what I am trying to accomplish. We have several sites around the country and we want to use the exact same task sequence for each site. The computer rename and domain join needs to be automated. That way, anybody at any site can PXE boot a computer and as long as they know the password to begin the Task Sequence, they can reimage a computer. I use WMI queries to get some basic information and translate those into the variables used to create the computer name.

 

Site code - three characters, based on IPDefaultGateway (Win32_NetworkAdapterConfiguration)

N or D - Notebook or Desktop, based on Model (Win32_ComputerSystem - we use all Dell computers so it's easy)

Serial Number - Seven characters, based on SerialNumber (Win32_BIOS)

 

After the machine has been renamed, I reboot it and want to join it to the domain based on the three character site code within the computer name defined above. (For XP, should I use joindom.exe or some other method?)

As stated earlier, I have already written a PowerShell script that runs perfectly within our Windows 7 Task Sequence, but I can't get it to work on my XP Task Sequence. Help?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.