Windows API reference

WNetAddConnection2W

Connects a local drive letter or UNC path to a network share with optional credentials.

Library
Mpr.dll
Suspicion
high

Detection summary

WNetAddConnection2W is not directly logged; detect the resulting SMB connection and remote-share activity instead.

Sources and documentation

Last reviewed: . Page metadata generated .

Legitimate use

IT administration, backup, deployment and monitoring tools.

Open WNetAddConnection2W in the interactive atlas