Nltest Command In Windows Server 2008

This article shows how to use Nltest command in Windows server 2008 operating system.
  • 4935

Introduction

Nltest command in Windows Server 2008 is used to performs network administrative tasks. It is also used to test and reset the secure channel that the NetLogon service establishes between clients and domain controllers that logs them on. Syntax used for Nltest command is given below.

Syntax

nltest [/server : <servername>] [<operation> <parameter>]

Parameters For Nltest

Parameter Description
/query Reports on the state of the secure channel the last time you used it.
/repl Forces synchronization with the primary domain controller.
/sync Forces an immediate synchronization with the PDC of the entire Security Accounts Manager database.
/pdc_repl Forces the PDC to send a synchronization notification to all BDCs.
/sc_query: <DomainName> Reports on the state of the secure channel the last time that you used it.
/sc_reset:[ <DomainName>] Removes, and then rebuilds, the secure channel that the NetLogon service established.
/sc_verify:[ <DomainName>] Checks the status of the secure channel that the NetLogon service established.
/sc_change_pwd:[ <DomainName>] Changes the password for the trust account of a domain that user specify.
/dclist:[ <DomainName>] Lists all domain controllers in the domain.
/dcname:[ <DomainName>] Lists the primary domain controller or the PDC emulator for Domain Name.
/dsgetdc:[ <DomainName>] Queries the Domain Name System (DNS) server for a list of domain controllers and their corresponding IP addresses.
/dnsgetdc: <DomainName> Queries the DNS server for a list of domain controllers and their corresponding IP addresses.
/dsgetfti: <DomainName>[ /UpdateTDO] Returns information about interforest trusts.
/dsgetsite Returns the name of the site in which the domain controller resides.
/dsgetsitecov Returns the name of the site that the domain controller covers.
/parentdomain Returns the name of the parent domain of the server.
/dsregdns Refreshes the registration of all DNS records that are specific to a domain controller that user specify.
/dsderegdns: <DnsHostName> Deregisters DNS host records for the host that user specify in the DnsHostName parameter.
/whowill: <Domain>/ <User> Finds the domain controller that has the user account that user specify.
/finduser: <User> Finds the directly-trusted domain that the user account that user specify belongs to.
/transport_notify Flushes the negative cache to force the discovery of a domain controller.
/dbflag: <HexadecimalFlags> Sets a new debug flag.
/user: <UserName> Shows many of the attributes that you maintain in the SAM account database for the user that user specify.
/time: <HexadecimalLSL> <HexadecimalMSL> Converts Windows NT Greenwich Mean Time (GMT) time to ASCII.
/logon_query Queries the cumulative number of NTLM logon attempts at a console or over a network.
/domain_trusts Returns a list of trusted domains.
/dsquerydns Queries for the status of the last update for all DNS records that are specific to a domain controller that user specify.
/bdc_query: <DomainName> Queries for a list of BDCs in DomainName, and then shows their state of synchronization and replication status.
/sim_sync: <DomainName> <ServerName> Simulates full synchronization replication.
/list_deltas: <FileName> Shows the contents of the FileName change log file, which lists changes to the user account database.
/cdigest: <Message> /domain: <DomainName> Shows the current digest that the client uses for the secure channel.
/sdigest: <Message> /rid: <RID_In_Hexadecimal> Shows the current digest that the server uses for the secure channel.
/shutdown: <Reason>[ <Seconds>] Remotely shuts down the server that user specify in ServerName.
/shutdown_abort Terminates a system shutdown.
{/help | /?} Shows help at the command prompt.

Ask Your Question 

Got a programming related question? You may want to post your question here 

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.