General discussion


See/disconnect LAN users on my PC ?

By lucian1960 ·
My LAN includes Windows 95,98,98s,Me,2000,XP.
I run an XP with Netbeui installed.
1. How can I see and/or disconnect LAN users connected to my PC ? (previous Netwatcher)
2. How can I restrict a certain LAN user to only READ access to a certain device on my PC ?

This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

See/disconnect LAN users on my PC ?

by eric.cone In reply to See/disconnect LAN users ...

Since you are running XP (Professional I assume) you have moreoptions than those users the variety of consumer grade operating systems such as Windows 9x, and Windows Me.

Answer #1:
To see LAN users connected to your PC, go to the command shell(cmd.exe) and run the command:
net sessions

To disconnect a user, go to the command shell (cmd.exe) and run the command:
net session \\computername /DELETE

Answer #2:
Restricting a certain LAN user to only READ access (to a file share in the example) is accomplished in XP by using a combination of share permissions and NTFS permissions.

When you elect to share a folder with other users on the network, the default share permissions are applied. These grant Full Control for the Everyone group.

You may be tempted to restrict permissions at the share level. Doing so is less flexible in the long haul. For example, once you have set share permissions to read only, you are unable to permit any user greater access than Read.
As a user you can leverage share and NTFS permissions to grant one LAN user Read access, and another user Full Control.

It is a Microsoft best practice to lock down files and folders using NTFS permissions. Modify the Access Control List associated with the device you are sharing for that certain LAN user and set READ access only.

Recall that share permissions and NTFS permissions are cummulative unless a more restrictive permission is set at the NTFS level. In this case the more restrictive permission is an NTFS Read Access Control Entry.

Eric K. Cone

Related Discussions

Related Forums