Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

·
Lv 5

Can you (anyone?) poll a w2k3 -server to check if an user is already logged on?

Say you have an user john logged on to a w2k3 server. Can you (anyone) poll the server to check if that user is already logged on?

To use that in a script to block a new logon, if the user is already logged on.

As Microsoft doesn't this support out of the box (there is an utility which can do it, but that costs money).

Something like:

if %logonname% in %listofloggedonusers% than logoff

or

if %logonname% in %listofloggedonusers% than deny logon

(These example won't work, because these commands don't exist. But you get the idea.)

Update:

Sorry, this question is obviously in the wrong section and should be under 'computers / networking'.

1 Answer

Relevance
  • Anonymous
    8 years ago
    Favorite Answer

    That is not possible.

    Source(s): Me--
Still have questions? Get your answers by asking now.