Jump to content

Recommended Posts

Posted (edited)

First off love the program huge help for what I am doing.

I have windows server that is unattended as well as the dcpromo

to use dcpromo interlaced with the winnt.sif you use the GUiRunOnce command

so for the WPI app I browsed to c:\windows\system32\dcpromo.exe for adding a new program

then in the command line i added the following /answer:c:\windows\system32\answer.txt but that does not work.

Is this not an accepted option for WPI? it works fine from the run window.

also when I go back to configure the program the switches are missing like they did not save

Edited by deaconf19

Posted (edited)

create a .cmd batch script that runs the proper DCPROMO command, then call the batch from WPI.

dcpromo isn't so much an "application" as it is a command line tool.

Edited by MrJinje
Posted

create a .cmd batch script that runs the proper DCPROMO command, then call the batch from WPI.

dcpromo isn't so much an "application" as it is a command line tool.

could you guide me a little on bat files I am not to strong on this . I come from a Unix background


@echo off
start /wait c:\windows\system32\dcpromo.exe /answer:c:\windows\system32\answer.txt

would that work

Posted

could you guide me a little on bat files I am not to strong on this . I come from a Unix background


@echo off
start /wait c:\windows\system32\dcpromo.exe /answer:c:\windows\system32\answer.txt

would that work

Exactamundo

cover-fonz-1.jpg

But if that fails, try it without the "start /wait".

You probably already know this, but for future readers. If you have to install stuff like office, firefox, etc, order them to install before the dcpromo command. dcpromo should run dead last. Also, there is a setting in answer.txt that forces reboot, be sure to use it.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...