K2000 getcomputername.vbs does not work on scripted installs
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.
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?
Any ideas?
1 Comment
[ + ] Show comment
-
If you run through your scripted install manually you may be able to find out what is happening. - nlieschke 10 years ago
Answers (5)
Please log in to answer
Posted by:
SMal.tmcc
10 years ago
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
Posted by:
cserrins
10 years ago
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
Posted by:
shanksr
10 years ago
Posted by:
EdT
10 years ago
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.
Comments:
-
This is run during a scripted install of windows 7. It's during the preinstall before windows even starts. - roy.urick@koorsen.com 10 years ago