MSFN Forum: Post install issues in RIS image - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Post install issues in RIS image Rate Topic: -----

#1 User is offline   serverguy78 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 20-September 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 21 September 2010 - 06:10 PM

Hello I created an post install script to add some groups to the workstation. For some reason this is failing on an image I just created. Can someone help me? Here is my code:

net localgroup Administrators XXXX-Admins /add>>c:\postinstall\PostInstallReport.txt error message "System error 1789: The trust relationship between this workstation and the primary domain failed."
net localgroup "Remote Desktop Users" XXXX-Admins /add>>c:\postinstall\PostInstallReport.txt error message "System error 1789: The trust relationship between this workstation and the primary domain failed."
net localgroup Administrators XXXX-XXXX /add>>c:\postinstall\PostInstallReport.txt error message "System error 1789: The trust relationship between this workstation and the primary domain failed."


#2 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 22 September 2010 - 02:38 PM

You can't set a domain group to a local group if the machine account the image deploys with is not correctly added to the domain. That error would indicate that the computer object in the domain either doesn't exist, or hasn't been ACLed properly during the domain join. How is this machine being domain-joined?

#3 User is offline   serverguy78 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 20-September 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 22 September 2010 - 07:21 PM

I thought it gets joined through sif instructions here is what I have. Is this is wrong please tell me how to properly join a new RIS image to the domain


[GuiUnattended]
OemSkipWelcome = 1
OemSkipRegional = 1
AdminPassword="password"
TimeZone = %TIMEZONE%
EncryptedAdminPassword=NO
OEMSkipRegional=1
OEMDuplicatorstring="Windows XP-SP2"
TimeZone=35

[Identification]
JoinDomain = XXXXXX
DomainAdmin= "XXXXX"
DomainAdminPassword= "XXXXX"
DoOldStyleDomainJoin = Yes

#4 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 23 September 2010 - 08:15 AM

No, that's correct. One common reason for such an error is trying to run net localgroup commands on a machine that has joined the domain but hasn't rebooted after it was successful (what happens if you reboot and try the script manually???).

#5 User is offline   serverguy78 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 20-September 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 23 September 2010 - 08:44 AM

I think it maybe something wrong with the sif file or image.We have another image that I didn't setup that works fine with the run once post install script. I created this new image with NLITE only. Where do I go check in AD and RIS to see if the accounts are the same?

#6 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 23 September 2010 - 11:51 AM

Considering nlite is for personal use only, you probably should just recreate that image legally to see if it works.

#7 User is offline   serverguy78 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 20-September 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 23 September 2010 - 01:08 PM

What method do you suggest I use to create an RIS image. I need this image to be preloaded with patches. This is the reason I used nlite

#8 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 23 September 2010 - 01:48 PM

Riprep images work with RIS, as well as simply using pre-sysprep'ed OSes. I'd sugest riprep if you are stuck with RIS, or migrating to WDS and creating WIM images there if you aren't stuck on the older RIS technology for any specific reason.

#9 User is offline   serverguy78 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 20-September 10
  • OS:XP Pro x86
  • Country: Country Flag

Posted 23 September 2010 - 06:05 PM

I've already have Riprep an image. The problem with Riprep is that it only works for the same model machine. We have several models,so we need a base image for multiple machines. Unfortunately I can't switch to WDS right now. Do you have a link to a WDS guide if we decide to upgrade? I appreciate your assistance.

View Postcluberti, on 23 September 2010 - 01:48 PM, said:

Riprep images work with RIS, as well as simply using pre-sysprep'ed OSes. I'd sugest riprep if you are stuck with RIS, or migrating to WDS and creating WIM images there if you aren't stuck on the older RIS technology for any specific reason.


#10 User is offline   cluberti 

  • Gustatus similis pullus
  • Group: Supervisor
  • Posts: 11,208
  • Joined: 09-September 01
  • OS:Windows RT
  • Country: Country Flag

Posted 23 September 2010 - 08:04 PM

What you might want to do is consider WDS + MDT 2010 (update 1). This allows you to deploy XP flat-file setup, but from a WinPE bootstrap from WDS. It's the goodness of flat-file installs to meet your needs for a "universal" install point, but with the automation and WinPE goodness from Win7. There really isn't a better way (short of using SCCM 2007) to deploy XP. RIS is just painful, honestly, and it's a wonder we used it for so long ;).

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

3 User(s) are reading this topic
0 members, 3 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy