To monitor who is accessing files on a Windows server, what command should an analyst use?

Prepare for the CompTIA Security+ SY0-601 exam. Explore comprehensive flashcards and diverse multiple-choice questions with hints and explanations. Get exam-ready now!

The correct command to monitor who is accessing files on a Windows server is "net session." This command provides information about sessions established with the server, including details about connected users, their IP addresses, the duration of their session, and any active connections to shared resources on the server. By using "net session," an analyst can effectively track which users are accessing files and other shared resources, making it an essential tool for maintaining security and monitoring user activity on a server.

The other options, although useful in their respective contexts, do not serve the same purpose:

  • "netstat" primarily shows active network connections and listening ports but does not specifically provide information on users accessing file shares.

  • "net share" displays information about shared resources on a server, but it does not provide insight into who is currently accessing those resources.

  • "netcat" is a networking utility used for reading from and writing to network connections and is not relevant for monitoring file access on a server.

Therefore, "net session" is specifically designed for tracking user connections to shared resources, making it the appropriate choice for monitoring file access on a Windows server.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy