How can I monitor a mapped drive or external file? (NETIQKB41760)

  • 7741760
  • 02-Feb-2007
  • 16-Nov-2010


NetIQ AppManager 6.x
NetIQ AppManager 7.0.x


How can I monitor a mapped drive or external file?
How do I configure the 'NTAdmin_Filecheck' Knowledge Script (KS) to raise an event when the machine loses its drive mapping and gains another when the mapping is restored?


In order to configure the NTAdmin_FileCheck Knowledge Script to determine if a machine a mapped drive is lost, perform the following steps:

  1. Create a sample file on the mapped drive - e.g. x:filechecktest.txt. 
  2. Launch the AppManager Operator Console and view the properties of the NTAdmin_FileCheck Knowledge Script.
  3. On theValues tab, set the parameters as follows:
            Full path to file = <UNC_path_of_the_sample_file>
            Event when found? = n 
  4. On the Advanced tab, select the option to Generate a new event when original event condition no longer exists.

In AppManager 7.0.x, the NT_DiskSpace KS can monitor mapped drives, and determines what drives are available on a per-iteration basis. 

Additional Information

Formerly known as NETIQKB41760

If the script is accessible it can be assumed that the mapping exists. This is one way of monitoring an external file or mapped drive. There are numerous other ways to accomplish this as well with AppManager.