How to run NetTools

NetTools consists of a single exe that doesn't need to be installed and can be run from any location, be it network share, local drive or removal storage.  The location can be read-only however, if it is the options to save list and favorite queries will not be available.

The NetTools.ini configuration file should be located in the same directory as the exe.

NetTools Basics

NetTools has a number of common features which are used throughout the program. This post provides details on some of these features.

Option or test Linking
For a number of the tests the output can be used as the input for other tests and options, by selecting the corresponding output entry and right clicking the context menu will display the linking options.  The Search option has a number of linking options that are displayed under the use with sub menu.

Copy and Paste
The outputs from the tests can be copied into other functions in NetTools or to external programs.  The Copy and Paste option are displayed in the right click context menus. For table views it's possible to copy the data in a single column, the line, or the entire table. When the copy column option is selected, mouse position when the right click is pressed is used to define which column will be selected.  For text based output fields it's possible to copy the text as with standard copy and pasting.  The Copy to new window option will copy the contains of the view is copied to a new popup window

Server Lists
In most of the options there is a server or domain enter field, this is a dropdown list.  The right click context menu you save the current name and also manage the lists.  A separate list is used based on the enter field name, i.e. Server, Domain, LDAP filters etc.

Server and Domain Fields
The server and domain fields are optional, by default NetTools will use the domain information of the computer that is running NetTools.  By default the server name will the name returned by the DsGetDcName API.  For the domain filed , the name of the domain that the machine running NetTools will be used.

Credentials
By default NetTools will run in the context of the session that is running NetTools.  It's possible to use the RunAs option to use a different account with elevated permissions. Some of the option have an option to use the credentials that are provided in the LDAP Search option.

Messages\Results pane
On most options, there is a lower pane, this pane is used to display any errors or status report from the execution.

NetTools saved configuration
NetTools uses a single configuration file called NetTools.ini, this is used to save any user defined configuration or saved lists.  NetTools will try to read the configuration from the same location as the exe from executed from.