search cancel

Network Configuration manager "Export Configuration" to network share is failing in Windows 2016 & 2019

book

Article ID: 253204

calendar_today

Updated On:

Products

CA Spectrum

Issue/Introduction

We are using Windows 2016 / 2019 and we can no longer export our NCM configs using a mapped drive.

Environment

Release : 22.2.3, 10.4.3

Cause

Network shares are handled differently in Windows 2016 and 2019.

Resolution

In the case of NCM export path is a windows share in Windows 2016 / 2019,  we are using the Windows API's WNetAddConnection2 and WNetCancelConnection2 for adding/removing the network share.

 

This has been fixed in 22.2.3 with the following patch  Spectrum_22.02.03.PTF_22.2.301

 

In 10.4.3 the patch that resolved this issue is Spectrum_10.04.03.PTF_10.4.306