Skip to content

Ts to add computer to domain (only)

Featured Replies

Hi,

 

Is it possible to create an task to ONLY set fixed ip address, change local admin password, and add computer to domain.

 

Thank you

  • Author

we need to do that for new brand machine via ts>pxe/media...

Of course we can make a .vbs... but how to deploy this vbs to these machines via ts>pxe/media

  • Author

...have already packaged with a new OS and we want just to add them to our domain !

You can make a new tasksequence and delete all the steps you didnt want... that should work ;)

The Steps you need are "Apply Windows Settings" and "Apply Network Settings"

  • Author

Ok what i've done on TS:

 

-Boot on winpe,

-Computer name (vbs),

-Apply Windows Settings

-Apply Network Settings

-Settings windows & ConfigMgr

-Bios settings

-Add to domain

-Power policies

-Settings Adm account

 

And i get this error :

 

============================[ OSDWinSettings.exe ]============================

Command line: "osdwinsettings.exe" /config

!sInstallType.empty(), HRESULT=80004005 (e:\nts_sms_fre\sms\framework\osdcore\infanswerfile.cpp,325)

OSD::Utility::BaseAnswerFile::CreateAnswerFile( pAnswerFile ), HRESULT=80004005 (e:\nts_sms_fre\sms\client\osdeployment\osdwinsettings\osdwinsettings.cpp,364)

ConfigureWinSettings(), HRESULT=80004005 (e:\nts_sms_fre\sms\client\osdeployment\osdwinsettings\osdwinsettings.cpp,637)

Exiting with return code 0x80004005

Failed to read installation type from environment.. Please ensure you are running this executable inside a properly configured OS Deployment task sequence.

Unknown error (Error: 80004005; Source: Unknown)

Failed to initialize answer file.

Failed to open the Task Sequencing Environment. Code 0x80004005. Please ensure you are running this executable inside a properly configured OS Deployment task sequence.

Unknown error (Error: 80004005; Source: Unknown).

 

Ty.

The way I do ours is as follows:

-wsname (using csv file to check serial and assign machine name)

-reboot (allow name change to take place)

-Join Domain or Workgroup

-any other software/steps here etc

 

Is this what you are after?

  • Author

Thanks for proposal TechGuy83, yes something like that, but i didn't see the step to apply windows settings (to apply i.e computer name) in your TS !

Thanks for proposal TechGuy83, yes something like that, but i didn't see the step to apply windows settings (to apply i.e computer name) in your TS !

 

Sorry, I didn't make it clear. I use wsname to the computer name and then reboot. I don't reboot into winpe at all. Add any config extras after the join domain step. Hope that helps.

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.