» Site Navigation |
|
|
» 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 |
| 27 | 28 | 29 | 30 |
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
|
|
 |
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
|
|
|
01-02-2008, 01:04 PM
|
#2 (permalink)
|
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
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
|
|
|
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.
|
|
|
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
|
|
|
 |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
| Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
All times are GMT -4. The time now is 05:49 AM.