Eu já tenho uma unidade de rede mapeada, mas quero saber depois qual usuário foi usado para se conectar.
Tente examinar os logs de eventos em EventID 5140: um objeto de compartilhamento de rede foi acessado :
5140: Um objeto de compartilhamento de rede foi acessado
Subject:
The user and logon session that accessed the share.
- Security ID: The SID of the account.
- Account Name: The account logon name.
- Account Domain: The domain or - in the case of local accounts - computer name. Logon ID is a semi-unique (unique between reboots) number that identifies the logon session. Logon ID allows you to correlate backwards to the logon event (4624) as well as with other events logged during the same logon session.
...
Exemplos de 5140
A network share object was accessed.
Subject:
Security ID: ACME-FR\Administrator
Account Name: Administrator
Account Domain: ACME-FR
Logon ID: 0x74a739
Network Information:
Source Address: 10.42.42.221
Source Port: 65097
Share Name: \*\Dharma Initiative Protocols