Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Whether a procedure is successful depends on a number of factors such as firewall restrictions to the gateway from the Windows machine and file permissions.

Step-by-step guide

Identify the SMB Session IP

You can identify the IP of the SMB session as an administrator in the gateway user interface.

To identify the SMB session ID: 
  1. Log on to the gateway that you want to check for open files.
  2. In the CONFIGURATION tab, select Main > Activity in the navigation pane.
    The Activity Monitor page is displayed.

    Image Removed
  3. Note the Source IP value from the Activity Sessions section of the Activity Monitor page.

Using Microsoft PsTools

Before starting the procedure:

...

https://docs.microsoft.com/en-us/sysinternals/downloads/psfile describes how to use the Psfiles and Psfiles64 programs.

To close files:

  1. Log on to the gateway that you want to check for open files.
  2. In the CONFIGURATION tab, select Main > Activity in the navigation pane.
    The Activity Monitor page is displayed.

    Image Added
  3. Note the Source IP value from the Activity Sessions section of the Activity Monitor page.
  4. Run the Psfile or Psfile program using the Source IP value from the Activity Sessions section of the Activity Monitor page. 
    For example, psfiles64 \\192.168.91.89 -u admin -p password 
    where password is the gateway admin user password.

  5. The program returns the open files on the remote gateway both with an ID for each open file and the path for the file.

  6. Rerun the Psfiles program using the -c flag with the ID or path of the files to forcibly close.

...