Skip to content

OSD XP Deployment

Featured Replies

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

  • Author

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?

  • Author

I found a solution for now. I cracked open the .WIM and inserted the .PS1 files I use and modified the Run Command Line steps of the Task Sequence to point to the local hard drive. Now everything runs as it should.

 

Eric

Join the conversation

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

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.