Tracking Current User Logon

Discussion in 'Windows Server' started by Anthony Young, Feb 16, 2005.

  1. I'm running Server 2003 from time to time need to shut the server down and
    restart it. I was wondering is there a way to find who is currently logged
    on to the server so I can inform them of a server reboot. The only thing I
    can think of is using the event viewer security log and creating a program to
    produce the results I want from that, i.e. who logged on, time and date, and
    search for a logoff from that user, if none present then they are still
    logged on. Will this work or is there a better way to go about it?

    Thank You for any help,
    Anthony Young, Feb 16, 2005
    1. Advertisements

  2. Anthony Young

    Mark Gamache Guest

    I usually look at open files in the Computer Management MMC, under shares.
    Mark Gamache, Feb 16, 2005
    1. Advertisements

  3. Anthony Young

    Don Wilwol Guest

    You could do a net send. This would warn all users connected.
    It should look like this I believe
    net send /users This server will shut down in 5 minutes.

    Since the messenger service is disabled by default you will need to enable
    it. I usually set it to manual then do a net start before sending the
    message, that keep pranksters from playing with it.

    Hope it helps...........


    Don Wilwol
    Blog -
    Web -
    Don Wilwol, Feb 17, 2005
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.