Windows Security Log Event ID 5142

Operating Systems Windows 2008 R2 and 7
Windows 2012 R2 and 8.1
Windows 2016 and 10
Windows Server 2019 and 2022
 • Subcategory
Object Access
 • File Share
Type Success
Corresponding events
in Windows 2003
and before

5142: A network share object was added.

On this page


A network share object was added.

This event is new to Windows 2008 Release 2 and Windows 7. It does not appear in earlier versions of Windows.

Free Security Log Resources by Randy

Description Fields in 5142

 Security ID:  %1 - The security ID of the user that added the share (If available, Active Directory is queried and the Domain\Account Name is displayed rather than the SID)
 Account Name:  %2 - The user that added the share
 Account Domain:  %3 Domain of the user that added the share
 Logon ID:  %4 - ID for the session of the user that added the share

Share Information: 
 Share Name:  %5
 Share Path:  %6

Supercharger Enterprise


Examples of 5142

A network share object was added.
 Security ID:  W8R2\wsmith
 Account Name:  wsmith
 Account Domain:  W8R2
 Logon ID:  0x475b7

Share Information: 
 Share Name:  \\*\AcmeAccounting
 Share Path:  C:\AcmeAccounting

Top 10 Windows Security Events to Monitor

Free Tool for Windows Event Collection


Additional Resources