Solved

Detecting connected users

Posted on 1998-03-27
12
369 Views
Last Modified: 2013-12-23
Situation:
Two Windows 95 computers connected through an ethernet LAN. Computer A shares his harddisk and Computer B is connected to it. How can i detect that a user is connected to my computer.
When shutting down, windows prompts me that a user is connected. But I want to detect is myself. I don't want to run Interactive programs like Network monitor. Is there a registry setting I can check or a command line utiltiy I can run.

When I know how to detect a user connected to my computer, I want to disconnect the user. Also this from command line or registry settings. As a result I can reboot my computer with no questions asked.
Thanks,
Peter
0
Comment
Question by:PJansen
  • 5
  • 3
  • 2
  • +2
12 Comments
 
LVL 1

Expert Comment

by:shawnd
Comment Utility
Ya just run Net Watcher...comes with 95...
add/remove programs, windows setup, accessories, net watcher...
later Shawn

0
 
LVL 1

Author Comment

by:PJansen
Comment Utility
Correct me if I am wrong, but isn't that a interactive GUI program. As I wrote in my question, I would like to detect it from command line or from the registry. The solutions must me useable in an unattended shut down procedure.

Thanks,

Peter
0
 
LVL 1

Author Comment

by:PJansen
Comment Utility
Edited text of question
0
 
LVL 1

Expert Comment

by:shawnd
Comment Utility
oh, ok...
What about the "net" command....Like "net view", That may be a little more helpful..."net view \\computername" as well
just do a "net/?" at the dos prompt for all available options..
later
Shawn

0
 
LVL 1

Author Comment

by:PJansen
Comment Utility
I can't find an option to get the info with the net command. I did find an other option: nbtstat -s
It gives me the connections out and into my computer. So that's step 1 (unless somebody has a better idea), now I want to disconnect the user some way.
Ideas?
Peter
0
 
LVL 1

Expert Comment

by:shawnd
Comment Utility
try "net stop /?"
0
New My Cloud Pro Series - organize everything!

With space to keep virtually everything, the My Cloud Pro Series offers your team the network storage to edit, save and share production files from anywhere with an internet connection. Compatible with both Mac and PC, you're able to protect your content regardless of OS.

 
LVL 1

Author Comment

by:PJansen
Comment Utility
Doesn't work. Cant be run in a dos box.
Other options?

Peter
0
 

Accepted Solution

by:
clay111296 earned 50 total points
Comment Utility
Alternative solution to the problem - this will bypass the annoying, modal dialog that asks if you want to disconnect the user.

Have you considered using a program such as rtvRECO,which watches for dialogs and presses buttons in them?  This will allow your PC to reboot "with no questions asked" (so to speak).  Its a freeware program and I use it extensively to automate windows tasks.  Great for getting rid of dialogs.  www.demon.co.uk/rtvsoft
0
 
LVL 1

Author Comment

by:PJansen
Comment Utility
Link is not ok. Do you know where to find it now?
Peter
0
 

Expert Comment

by:clay111296
Comment Utility
0
 
LVL 3

Expert Comment

by:hkp
Comment Utility
You can see if someone has been on your computer, just by useing the ARP command line utility. Try:

arp -a

This way you get information about the IP and MAC addresses with recent connections, the last 2-10 minutes.

0
 

Expert Comment

by:xt52
Comment Utility
use a program called netwatcher pro.

Netwatcher pro can be setup to play a sound just when somebody connects to your computer and at the bottom right hand of your screen there will be a bulb and if that is
red it means there is someone connected to your computer.

There are other facilities which enables you to disconnect them also.
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Greetings, Experts! First let me state that this website is top notch. I thoroughly enjoy the community that is shared here; those seeking help and those willing to sacrifice their time to help. It is fantastic. I am writing this article at th…
A common practice in small networks is making file sharing easy which works extremely well when intra-network security is not an issue. In essence, everyone, that is "Everyone", is given access to all of the shared files - often the entire C: drive …
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now