|
server
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Find the names of Domain Controllerworkstation or to the domain. 2.Thus I need to find the name of domian controller.Can you tell me the names of Application programming interface(API) or API Function that retrieve the names of domain in windows. 3.I have used the directory service function name "DsGetDcName" which find the name of domain controller when computer locate the domain controoler but it cannot retrieve the name of domains if network cable is unplug from my computer OR i think computer is unable to contact domain controller.But the important point is this the windows find the names of domain controller while network cable is unplug during the LOGON process of User. 4.Can you tell me the names of windows function that give the the name of domain while computer is unpluuug from network. 5.Can you tell me that the names of domain controller are saved in some file on the workstation or in the registry of windows. I'll be thankful if anybody helps me in this regard. If you're unplugged from the network you cannot locate a DC. The info. that
you want won't be in the registry (some might, but not all). The DSGet* wrapper is the way to go as far as I'm aware. -- Paul Williams Microsoft MVP - Windows Server - Directory Services http://www.msresource.net | http://forums.msresource.net Paul W is right on, I can provide a vb scripting call to get the dc's as
well. If you aren't attached you won't be able to get the info. If the info was cached what would happen if the network changed it wouldn't be a very dynamic system. -- Show quoteHide quotePaul Bergson MCT, MCSE, MCSA, CNE, CNA, CCA This posting is provided "AS IS" with no warranties, and confers no rights. "Paul Williams [MVP]" <ptw2***@hotmail.com> wrote in message news:eYoozfGMGHA.2472@TK2MSFTNGP11.phx.gbl... > If you're unplugged from the network you cannot locate a DC. The info. > that > you want won't be in the registry (some might, but not all). The DSGet* > wrapper is the way to go as far as I'm aware. > > -- > Paul Williams > Microsoft MVP - Windows Server - Directory Services > http://www.msresource.net | http://forums.msresource.net > >
ADAM - Domain Service Account V.S. Network Service
User Login Time on windows 2000 profesional on Domain Replication mapped drives at logon AD Disaster Recovery Number of users per container (OU) in ADAM / AD Fresh Install of ADAM SP1 - Can't install without doing an upgrade Problems locating PDC on win2k3 server Push domain account into Local computer user group? Clients get automatically locked |
|||||||||||||||||||||||