|
WMI & WMI Credentials
To change the preferences for WMI classes, select the menu:
- File, Discovery Options, or click on the Discovery Optionsbutton in the File toolbar (a green screwdriver)
- Then choose the WMI tab
The dialog contains 16 pairs of values representing the values that you want to read from the remote nodes during discoveries. You cannot set values or launch processes remotely.
- WMI Class: name of WMI class
- Value: the name of a property of that class (WQL column) that you want to read
- Check: tries to collect all the above values from the local computer.
Technically, the command that is send is
- Select * from <WMI Class>. This WQL command returns a table (WQL is a basic SQL subset)
- The column indicated by <Value> is selected, and if there are several rows in this table, they are grouped in a single text line, separated by |.
For example:
- WMI Class: Win32_LogicalDisk, Value:Name
- Select * from Win32_LogicalDisk
- Part of the resulting table
| ... |
VolumeName |
FreeSpace |
Name |
Description |
... |
| ... |
... |
... |
C: |
... |
... |
| ... |
... |
... |
D: |
... |
... |
| ... |
... |
... |
E: |
... |
.. |
- Our result is:
C: | D: | E:
WMI Credentials
To change the preferences for WMI Credentials, select the menu:
- File, Discovery Options, or click on the Discovery Options button in the File toolbar (a green screwdriver)
- Then choose the WMI Credentials tab
WMI uses a strong security model. To read WMI values from a remote computer, you will normally need an administrator account (See WMI Security). Up to 8 accounts can be specified in this dialog.
- Domain/Computer: the name of a Windows domain or a computer. Domain is valid for computers part of a NT4 or Active Directory domain. For computer installed in a Workgroup, the computer name is used instead. This is the regular syntax to access Windows computer:
- domain\user is used for AD and NT4 domains
- computer\user is used for Workgroup machines
- User: the name of the account
- Password: password of the Domain or machine account. (Be careful, this information is currently not encrypted on disk !) Accounts with blank passwords are accepted (but this is a really bad idea).
During the discovery process, NetworkView follows the following steps
- It tries to find the domain name or computer name of the currently discovered node in one of the 8 accounts of this dialog
- If available, it tries to connect to the remote node with this account
- Else, it tries a connection with the current credentials (the one you are logged in)
- Else, it tries all other accounts in the list
- Connection has failed
|