NetServer support of SMB2 at V7R3 and support for Change Notify
Microsoft Windows Explorer performs an endless, rapid, refresh of a network drive that is mapped to a NetServer share, preventing the user from performing tasks such as rename object.
Microsoft Windows Explorer performs an endless, rapid, refresh of a drive mapped to a NetServer share. This prevents the user from paging through the file list and performing tasks such as rename object, etc.
Microsoft Windows Explorer is ignoring a STATUS_NOT_SUPPORTED response that is returned to it from the IBM i server on a Change Notify request.
IBM i Server V7R3, SMB2, Microsoft Windows 7, 8.x, and Windows 10.
Diagnosing the problem
If the arrows on folders are flashing on/off when in Windows Explorer with the mouse cursor in the navigation pane, then that is very likely an indicator that the issue described in this document is occurring.
For additional confirmation, with the mapped drive established but no user activity, minimize Windows Explorer. Open a PC5250 session and issue command NETSTAT *CNN, press F14, F11, F15, set Local Port Range Lower Value to 445, press Enter twice to see the Bytes Out and Bytes In. Press F5 multiple times to refresh and see if the Byte count increases rapidly for the idle device. If the Byte count increases rapidly, you are probably experiencing the problem.
Another more concrete confirmation would require the collection and analysis of IBM i Communications and Wireshark traces, showing that this problem is taking place where the client is in a refresh loop and ignoring STATUS_NOT_SUPPORTED.
Resolving the problem
NetServer is protocol compliant and changes need to be made on the client to avoid wasting resources. Contact Microsoft Support to address this issue with the Windows Explorer application.
Possible alternative solutions to access the IFS objects on the IBM i server include:
|Upgrade to Windows 10 PC OS and apply the current updates. Microsoft has released a fix for this issue in Windows 10. NOTE: This Microsoft fix resolves the constant refreshes from Windows 10 clients. However, at this time Microsoft has chosen not to fix Windows versions prior to Windows 10. You may contact Microsoft support for a fix a Windows 7, 8.x, and other Windows Operating Systems.
The Microsoft KB4015217 for the Windows 10 fix is here: https://support.microsoft.com/en-us/help/4015217
"Addressed an issue that was causing Windows Explorer to perform an endless, rapid refresh of a network drive that is mapped to a share, preventing users from performing tasks such as rename object."
Ensure the current PTFs for NetServer, and related functions, are applied for your IBM i server.
|2||Use File Systems in IBM System i Navigator.|
|3||Disable Microsoft Change Notify
NOTE: This solution involves a change in the PC Registry..
Caution: Serious problems might occur if the registry is modified incorrectly by using the Registry Editor or by using another method. These problems might require that you reinstall your operating system. IBM cannot guarantee that these problems can be solved. IBM does not support the process of modifying the PC registry. Modify the registry at your own risk.
NOTE: Change Notify is a Microsoft function. IBM supports neither Microsoft Windows nor Change Notify. Assistance with this solution will need to come from Microsoft Support. The information below is provided as a courtesy only.
|4||Use FTP client.|
|5||Use NFS mount.|
|6||Disable SMB2 on the IBM i server.
NOTE: This will disable SMB2 for both Printer and File shares.
b. Disable NetServer SMB2: CALL QZLSMAINT PARM('40' '1' '0x80')
c. Start NetServer: STRTCPSVR SERVER(*NETSVR)
d. NetServer client's (user PC) that were mapped using SMB2 protocol will need to reboot their PC because of Windows security precautions.
If for some reason disabling SMB2 does not help alleviate the problem, then SMB2 can be re-enabled using the same steps as above, but replacing the command in step b with the following command:
|Operating System||IBM i 7.3|
|Operating System||IBM i 7.2|
More support for:
Software version: 7.2, 7.2.0, 7.3
Operating system(s): IBM i
Reference #: N1021348
Modified date: 22 June 2018
Translate this page: