Solved

Detecting connected users

Posted on 1998-03-27
12
372 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
ID: 1552558
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
ID: 1552559
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
ID: 1552560
Edited text of question
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 
LVL 1

Expert Comment

by:shawnd
ID: 1552561
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
ID: 1552562
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
ID: 1552563
try "net stop /?"
0
 
LVL 1

Author Comment

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

Peter
0
 

Accepted Solution

by:
clay111296 earned 50 total points
ID: 1552565
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
ID: 1552566
Link is not ok. Do you know where to find it now?
Peter
0
 

Expert Comment

by:clay111296
ID: 1552567
0
 
LVL 3

Expert Comment

by:hkp
ID: 1552568
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
ID: 1552569
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
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 …
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

803 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