HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows XP > Windows XP Installation

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 03-19-2008, 05:13 PM
EricGus
 
Posts: n/a
Default sysprep, vbscript: JoinDomain, cmdlines.txt

--JoinDomain--
Currently, I am joining the domain using the JoinDomain function with an
autogenerated name. I wish to use specify a name and use a script to join
the domain and the info presented by MS is not clear on when the script may
be run.

Ref.chm included with XPsp2 deploy tools states:
----8<--snip------------------
instead of using JoinDomain, the recommended best practice is to use
Active Directory Services Interface (ADSI) and Windows Script Host (WSH) to
create a Visual Basic Script (VBScript) that automates the creation of
computer accounts. A sample script is given in the Microsoft Knowledge Base,
article Q315273
(http://support.microsoft.com/default...;en-us;q315273).
----8<--snip------------------

Q: Can I use vbscript and WMI queries via a call from cmdlines.txt?
Q: Can I temporarily map a drive via the script or cmdlines.txt with
supplied credentials?

My final goal is to use WMI to pull the MAC address of the computer, query a
database (even if it's a flat text file) with the mac address which will
return a workstation name, then join the domain with the proper workstation
name. A future addition to the script would be to have it placed in a
specific OU.


Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sysprep Progress and Windows Assessment Tool in Sysprep Ahsun Windows Vista Installation 1 05-22-2008 02:14 PM
Windows VBscript 5.6 DC Windows Vista Installation 7 06-16-2007 06:35 PM
How to call HTMLHelp with VBscript Friedi Windows XP 7 05-28-2007 02:30 PM
error 2738 vbscript Pumpaction Windows Vista 1 05-08-2007 01:00 PM
Logon Script - VBScript King Windows Vista 5 04-14-2007 11:30 PM


All times are GMT. The time now is 11:00 AM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger