Registered member login:
Register Now
Altirigos » Deployment Solution » DS Console/Web Console » Reconfigure DNS and machine kicked off Domain

» Current Poll
Do you leave the Aclient enabled?
YES - 83.05%
196 Votes
NO - 16.95%
40 Votes
Total Votes: 236
You may not vote on this poll.
» Stats
Members: 9,948
Threads: 12,158
Posts: 56,984
Top Poster: Nick (4,991)
Welcome our newest member, rmerrill
» Online Users: 32
0 members and 32 guests
No Members online
Most users online at once 294, 06-30-2007 at 12:24 PM.
» July 2010
S M T W T F S
27282930 1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Reply
Old 12-31-2007, 03:37 PM   #1 (permalink)
 
Status: Junior Altiris Admin
Join Date: 12-28-2005
Location: La Crosse, WI
Age: 32
Posts: 13


Reconfigure DNS and machine kicked off Domain

We recently went through a change in our DNS servers and wanted to change all of the machines using DHCP for the IP but using a Static DNS to use all DHCP. We used DS and the configure machine to change the ones that had the Static DNS entry to use DHCP. The machines started the job, but then they would stop in the middle. The users could not log on to the machine because the job was putting the machine in to a tmpwork workgroup and not in the domain. The job was not set to take the machines out of the domain, I checked prior to and after.

My question is why did it put the machine in to the tmpwork workgroup? I know that once it was in this workgroup, it no longer had the administrative priviledges to finish doing what it needed to. Any help on this would be great.

I did look at the logs on the server and the logs on the machines and did not see anything of significance, but if anyone wants to see them just let me know.

Thanks
Ben
bgerling is offline   Reply With Quote
Old 01-02-2008, 01:04 PM   #2 (permalink)
 
jdean's Avatar
 
Status: Super Altiris Admin
Join Date: 02-24-2005
Location: Orange County, California, USA
Posts: 585


If you are using a configure machine job then it will pull the machine out of the domain, make the changes, and then attempt to readd it (if my memory serves me correct).

You should look at doing this through a script (if possible).


Quote:
Originally Posted by bgerling View Post
We recently went through a change in our DNS servers and wanted to change all of the machines using DHCP for the IP but using a Static DNS to use all DHCP. We used DS and the configure machine to change the ones that had the Static DNS entry to use DHCP. The machines started the job, but then they would stop in the middle. The users could not log on to the machine because the job was putting the machine in to a tmpwork workgroup and not in the domain. The job was not set to take the machines out of the domain, I checked prior to and after.

My question is why did it put the machine in to the tmpwork workgroup? I know that once it was in this workgroup, it no longer had the administrative priviledges to finish doing what it needed to. Any help on this would be great.

I did look at the logs on the server and the logs on the machines and did not see anything of significance, but if anyone wants to see them just let me know.

Thanks
Ben
__________________
IT Factotum * Altiris Addict * Wise Monger * VBScript Zealot

Jereme Dean
Orange County, CA
jdean33442@gmail.com
jdean is offline   Reply With Quote
Old 01-02-2008, 04:40 PM   #3 (permalink)
 
Status: Altiris Admin
Join Date: 05-31-2007
Location: Indianapolis
Age: 35
Posts: 34


Give this a try:

DNS:

'vbscript
On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colNetCards = objWMIService.ExecQuery _
("Select * From Win32_NetworkAdapterConfiguration Where IPEnabled = True")
For Each objNetCard in colNetCards
arrDNSServers = Array("IP HERE", "IP HERE")
objNetCard.SetDNSServerSearchOrder(arrDNSServers)
Next

WINS:

'vbscript
On Error Resume Next
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
& "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")
Set colNetCards = objWMIService.ExecQuery _
("Select * From Win32_NetworkAdapterConfiguration Where IPEnabled = True")
For Each objNetCard in colNetCards
strPrimaryServer = "IP HERE"
strSecondaryServer = "IP HERE"
objNetCard.SetWINSServer strPrimaryServer, strSecondaryServer
Next


Hope this helps.
skedens is offline   Reply With Quote
Old 01-07-2008, 08:56 AM   #4 (permalink)
 
Status: Junior Altiris Admin
Join Date: 12-28-2005
Location: La Crosse, WI
Age: 32
Posts: 13


Thank you both for posting. I had a sinking feeling that was going to be the case but just wanted to double check.

So I am curious as to why this option is there if it removes it from the domain to do it's reconfigure, but then can't finsih because it no longer has the correct credentials to finish the job since it is not a member of the domain?

Thanks
Ben
bgerling is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 On

Powered by vBadvanced CMPS v3.0 RC2

All times are GMT -4. The time now is 05:49 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
vB.Sponsors
Altirigos