/bundles/itninjaweb/img/Breadcrumb_cap_w.png
We are trying to configure some scripted installs for some one-off deployments. 

We are trying to use this to pop a dialog box for us to enter the system name, but it never fires. 

"cscript GetComputerName.vbs /dialog /timeout:30 "

In the task list during the deployment it shows successful, but we never saw a dialog box to be able to enter the system name. 

Any ideas? 
1 Comment   [ - ] Hide Comment

Comments

  • If you run through your scripted install manually you may be able to find out what is happening.
Please log in to comment

Answer this question or Comment on this question for clarity

Answers

1
On your scripted install edit the setup configuration and remove <ComputerName>*</ComputerName>.  If you do not list that in the answer file and you DO NOT use the get set computer name scripts it will ask for a name every time.  If you want to keep the name of the computer you are imaging just put the get set commands in the deployment
Answered 09/26/2014 by: SMal.tmcc
Red Belt

Please log in to comment
1
There are several issues here.  One you are mistaking the built in collect/apply computername tasks (which are vbscripts), with the get/set computername scripts (which are .exes) and located at http://www.itninja.com/blog/view/get-set-computername.

Collect computername.vbs does not support scripted installs, not does it support an commandline switches.

Corey
Lead T3 Enterprise Solutions Consultant, K2000
Answered 09/28/2014 by: cserrins
Red Belt

Please log in to comment
0
We have that working at my school.  We use the .exe version as Preinstall Task and then do the SetComputerName.exe as a Postinstall Task.

GetComputerName_x64.exe /dialog /timeout:600
Answered 10/14/2014 by: shanksr
Senior White Belt

Please log in to comment
0
Script executed under a different user?
Answered 09/26/2014 by: dedenker
Third Degree Black Belt

Please log in to comment
-1
Is this under WIndows 7 ?  If so, you will never see a dialog box pop up when running under the system account, as Windows 7 now runs users in a different session to the system.  You can try enabling "interact with desktop" but this will always pop up the UAC prompt as interaction with desktop is considered a security risk and is no longer supported in Win 7 and 8.
Answered 09/26/2014 by: EdT
Red Belt

  • This is run during a scripted install of windows 7. It's during the preinstall before windows even starts.
Please log in to comment