IncludeNetworkDrives
Command line | Registry
IncludeNetworkDrives
allows for the inclusion of mounted
network drives in inventory. There are differences across platforms:- On Microsoft Windows, drives are included (
True
) or excluded (False
) as a whole. - On UNIX-like platforms, network file systems are mounted as directories in the same way
that all devices are mounted. When
Recurse
isTrue
, inventory collection starts at each folder listed inIncludeDirectory
and drills down through all child folders. If this process encounters a directory that is a mounted network drive, andIncludeNetworkDrives
is not specified or False, the process goes no further down this path. However, ifIncludeNetworkDrives=True
, recursion continues. Note that this preference controls the recursion process, and does not prevent inventory scanning of a directory specified inIncludeDirectory
, even if that is a mounted network drive.
IncludeDirectory
IncludeNetworkDrives
IncludeFileSystemType
andExcludeFileSystemType
(on UNIX-like systems only).
IncludeDirectory
has lowest priority, and priority increases
down the list. This means that, on UNIX-like systems, IncludeFileSystemType
(the highest priority) can be an exception to the general rule that "exclude overrides
include". The following table illustrates cases where the other settings may over-ride the
IncludeDirectory
preference, where that specifies a network drive. The
first three cases fit the general rule, but the fourth is a special case:...FileSystemType | IncludeNetworkDrives | IncludeDirectory | Result |
---|---|---|---|
Not specified (including Microsoft Windows) |
|
A network share (or subdirectory thereof) on any file system type. |
No inventory returned. |
Not specified (including Microsoft Windows) |
|
A network share (or subdirectory thereof) on any file system type. |
Software inventory from the specified directory. |
|
Either |
A network share (or subdirectory thereof) on file system type
XXX (here, the setting is over-ridden by the exclude). |
No inventory returned. |
IncludeFileSystemType=XXX |
Either |
A network share (or subdirectory thereof) on file system type
XXX . |
Software inventory from the specified directory. |
IncludeDirectory
is not the only preference
that causes folders to be scanned. See also EmbedFileContentDirectory.Values
Values / range |
Boolean (True or False). |
Default value |
No registry default value. If no value is specified in the registry or command line,
the default behavior is |
Example value |
|
Command line
Tool |
Inventory component (ndtrack) |
Example |
|
Registry
Installed by |
Manual configuration. |
Computer preference |
|
IT Asset Management (Cloud)
Current