Re: Only boots in to AD recovery

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hello Meinolf,

First off thank you.
Good news found the root DC and will be running script on it.
Turns out it was the switch hookup that caused me not to login to JLFacc dc.
Ok the problem one more time was between the keyboard and chair.

Thank you,
Deb

"Meinolf Weber [MVP-DS]" wrote:

Hello Deb,

So you didn't use a newsreader? Then you have to copy the code between the lines, create a textfile with notepad and paste it there, then save it and rename the filename to listDCs.vbs :

---------------------------------------------------
Function fGetDCList()
' AUTHOR: DiGiTAL SkReAM
' CONTACT: digital.skream@xxxxxxxxx
' DATE : 4/8/2006
' COMMENT: Will return a list of all of the Domain Controllers in an
' Active Directory domain.
Dim oRoot, sConfigNamingContext, oADOConnection, oADOCommand, sADOQuery
Dim oRecordSet, oDC, oSite, oCat, iErr
fGetDCList = "N/A"
On Error Resume Next
Set oRoot = GetObject("LDAP://RootDSE";)
iErr = Err.Number
On Error GoTo 0
If iErr = 0 Then
sConfigNamingContext = oRoot.Get("configurationNamingContext")
Set oADOCommand = CreateObject("ADODB.Command")
Set oADOConnection = CreateObject("ADODB.Connection")
oADOConnection.Provider = "ADsDSOObject"
oADOConnection.Open "Active Directory Provider"
oADOCommand.ActiveConnection = oADOConnection
sADOQuery = "<LDAP://"; & sConfigNamingContext & ">;(ObjectClass=nTDSDSA);AdsPath;subtree"
oADOCommand.CommandText = sADOQuery
oADOCommand.Properties("Page Size") = 100
oADOCommand.Properties("Timeout") = 30
oADOCommand.Properties("Cache Results") = False
Set oRecordSet = oADOCommand.Execute
Set oCat = New StringCat
Do Until oRecordSet.EOF
Set oDC = GetObject(GetObject(oRecordSet.Fields("AdsPath")).Parent)
oCat "Netbios_Name : " & oDC.cn
'"FQDN : " & oDC.DNSHostName & VbCrLf
oRecordSet.MoveNext
Loop
oADOConnection.Close
fGetDCList = oCat.Flush
End If

End Function
---------------------------------------------------

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and confers no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm


I know its something is shouled be seeing but I do not see where it is
attached as a file.
Thanks again,
"Meinolf Weber [MVP-DS]" wrote:

Hello Deb,

Ace had already copied the code into his answer from before. I will
attach it as file to this posting, save the file and then download to
your DC and rename it from listDCs.txt to listDCs.vbs. Now you can
run the script and post the output.

Best regards

Meinolf Weber
Disclaimer: This posting is provided "AS IS" with no warranties, and
confers no rights.
** Please do NOT email, only reply to Newsgroups
** HELP us help YOU!!! http://www.blakjak.demon.co.uk/mul_crss.htm
Not a program so which script should I use from
http://www.visualbasicscript.com/m_33275/tm.htm ?
sorry please help me with running this script,
Thank you
"Ace Fekay [MCT]" wrote:
"Meinolf Weber [MVP-DS]" <meiweb(nospam)@gmx.de> wrote in message
news:ff16fb662ad2e8cbda6b629e4192@xxxxxxxxxxxxxxxxxxxxxxx

Hello Deb,

[snipped]

As said earlier, when the root domain DC is crashed and you can
not restore it or have an additioanl DC in the root, you will not
be able to restore the forest. And you have to start complete for
all child domains also from scratch.

Hmm, I must have missed that part. So it appears that there was
only one forest root DC, and it crashed? Quite unfortunate.

Hopefully Deb will run that script I provided. I am looking forward
to see the results so we can get a complete picture of the
infrastructure.

Ace


.



Relevant Pages

  • IBM Informix Web DataBlade: Local root by design
    ... IBM Informix Web DataBlade: Local root by design ... Impact: Any user who can: 1) Save a Perl script anywhere on the server's ... admin right on any database can do it by loading the WDB module into ...
    (Bugtraq)
  • RE: Linux hacked
    ... I would also suggest using a simple script in the future that alerts ... Subject: Linux hacked ... To get back into your account you want to use, at the boot manager ... boot normally and you should be able to login as root with your new ...
    (Security-Basics)
  • Re: BSDstats v3.0 - The Security Rewrite
    ... The bsdstats script could easily pick up that entry and set ... a management machine, and that management machine only has ... Email is sent to root containing IDTOKEN= as generated by host, root forwards that to rpt@xxxxxxxxxxxx, rpt@xxxxxxxxxxxx sends back KEY= value ... second time, submits report values to root, root forwards that to rpt@xxxxxxxxxxxx ... ...
    (freebsd-questions)
  • Re: Great SWT Program
    ... from a terminal emulator and log in as root there. ... terminal-emulator windows open, ... The script, suid-root utility, or whatever would ... the command interpreter with root privileges ...
    (comp.lang.java.programmer)
  • Re: Rexx problem? - advice sought, Please
    ... Examples (Start with Drive S: current is root): ... In REXX function Directory() gets the same result as CD. ... There have been several public betas of this application using the install script. ...
    (comp.os.os2.programmer.misc)