batch file to join to domain and run on bootup - Techist - Tech Forum

Go Back   Techist - Tech Forum > Computer Software > Microsoft Windows and Software
Click Here to Login
Closed Thread
 
Thread Tools Display Modes
 
Old 07-17-2006, 10:56 AM   #1 (permalink)
Monster Techie
 
Join Date: Dec 2003
Posts: 1,084
Send a message via Yahoo to IBMan
Default batch file to join to domain and run on bootup

When I do reimaging for my computers I use WinPE booted over RIS for diskless imaging, The way it's setup after the reimaging it's only joined to a workgroup and not my domain, is there a batch file I can have automatically run on first boot after imaging to join to the domain so i don't have to login to each workstation to join it?

TIA
__________________

__________________
Server:
AMD Athlon 4000+ @ 2.4 GHz
4096 MB RAM
40 GB HDD
Dual Mirrored 500 GB HDDs
DVD-ROM Drive
Windows Server 2003 x64 R2 SP2
IBMan is offline  
Old 07-17-2006, 11:14 AM   #2 (permalink)
It's all just 1s and 0s
 
office politics's Avatar
 
Join Date: Jan 2004
Location: in the lab
Posts: 6,555
Send a message via MSN to office politics
Default

http://www.visualbasicscript.com/m_3061/tm.htm


or

http://www.visualbasicscript.com/m_1...1/tm.htm#14463

looks like this guys trying to run netdom to join the domain. the exe isnt on my xp box tho
__________________

office politics is offline  
Old 07-17-2006, 03:52 PM   #3 (permalink)
Monster Techie
 
Join Date: Dec 2003
Posts: 1,084
Send a message via Yahoo to IBMan
Default

thanks i'll look it over.
__________________
Server:
AMD Athlon 4000+ @ 2.4 GHz
4096 MB RAM
40 GB HDD
Dual Mirrored 500 GB HDDs
DVD-ROM Drive
Windows Server 2003 x64 R2 SP2
IBMan is offline  
Old 07-17-2006, 08:02 PM   #4 (permalink)
Techie Beyond Description
 
Osiris's Avatar
 
Join Date: Jan 2005
Location: Kentucky
Posts: 36,817
Send a message via ICQ to Osiris Send a message via AIM to Osiris Send a message via MSN to Osiris Send a message via Yahoo to Osiris
Default

Can you tell me how you do that?

Also, do you perform a sysprep before you make the image? If so, you ca tell the file to join to a domain with your network credentials.
__________________
Osiris is offline  
Old 07-17-2006, 08:38 PM   #5 (permalink)
Monster Techie
 
Join Date: Dec 2003
Posts: 1,084
Send a message via Yahoo to IBMan
Default

i don't use sysprep, I bought a ghost cd off of ebay for like 20 bucks and took the ghost32.exe file off of the disc(after installation). I made a WinPE image for RIS, edited the startnet.cmd file(its basically a batch file) to map a network drive to where i store my hard drive images and then with the ghost32.exe in the X drive(the image folder for winpe) i set that to open and then ghost can browse to the mapped drive and pull down or push up an image, because of the way ghost works and the way winpe is setup i have to unjoin the computer from the domain before i push up an image. and that's how i do imaging. I s'pose i could try sysprep again. thanks for replies. I got the system to remove itself form the domain using CLI but i can't join it, keep getting failed to complete successfully and missing RPC server errors.
__________________
Server:
AMD Athlon 4000+ @ 2.4 GHz
4096 MB RAM
40 GB HDD
Dual Mirrored 500 GB HDDs
DVD-ROM Drive
Windows Server 2003 x64 R2 SP2
IBMan is offline  
Old 07-17-2006, 09:25 PM   #6 (permalink)
Chillin Techie
 
Join Date: Nov 2004
Location: USA
Posts: 11,861
Default

open the ghost image up with the ghost explorer, import the files into nlite, then modify the domain
__________________
The Ultimate Hard Drive Utility PowerMax 4.23. (It now has the ability to clean a Boot Sector virus on the quick erase option.)
The best browser Netscape 8
Have you accidently delete something? Look here (trial. the better one) and here(free)
EricB is offline  
Old 07-18-2006, 09:43 AM   #7 (permalink)
Monster Techie
 
Join Date: Dec 2003
Posts: 1,084
Send a message via Yahoo to IBMan
Default

huh?
__________________

__________________
Server:
AMD Athlon 4000+ @ 2.4 GHz
4096 MB RAM
40 GB HDD
Dual Mirrored 500 GB HDDs
DVD-ROM Drive
Windows Server 2003 x64 R2 SP2
IBMan is offline  
Closed Thread

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -5. The time now is 07:59 AM.


Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.