WUGNET, the Windows User Group Network
Your Complete Resource Center for "The Best" in Shareware, Computing Tips and Support, Windows Industry News... and much more!
Home Forums Shareware Windows Tips Hot Offers FREE Newsletters Arcade Contact Us About Partners
Search WUGNET: RSS Feeds RSS Feeds Advertise with WUGNET    |    Shareware eBooks
HomeHome FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Logon type: 10 when accesing thru mstsc/console?

 
   Home -> Windows Other -> Terminal Server RSS
Next:  Selective Printer Redirection  
Author Message
ThOF

External


Since: Jun 27, 2006
Posts: 3



(Msg. 1) Posted: Tue Jun 27, 2006 6:53 pm
Post subject: Logon type: 10 when accesing thru mstsc/console?
Archived from groups: microsoft>public>windowsnt>terminalserver>misc (more info?)

Hi all the group,

In our company, we're trying to clarify if connecting to a server using the
'mstsc /console' command registers a "logon type: 10" on the server side or
maybe a "logon type: 2"...

In fact, we've tried it some minutes ago and it seems it adds a new "logon
type: 10" entry in Event Viewer :-/

So, if true, there exists some way to identify/discern when an user logs
onto a machine using the '/console' option or when he simply logs on using
the "normal" TS connection (this is, without the '/console' parameter')

Regards and many thanks in advance.


Mario Pareja
Systems Administrator
mpareja RemoveThis @apsic.com
Back to top
Login to vote
Vera Noest [MVP]

External


Since: Feb 02, 2005
Posts: 497



(Msg. 2) Posted: Tue Jun 27, 2006 6:53 pm
Post subject: Re: Logon type: 10 when accesing thru mstsc/console? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Check the list of possible Logon Events and Logon Types here:

http://technet2.microsoft.com/WindowsServer/f/?en/Library/d8fc798c-
1e77-4043-b59c-971b4961d85a1033.mspx

I've tested it, and both "normal" TS sessions and connections to
the console produce a LogonType = 10.

Note that console sessions are only allowed for Administrators.
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___

"ThOF" <mpareja.DeleteThis@apsic.com> wrote on 27 jun 2006 in
microsoft.public.windowsnt.terminalserver.misc:

> Hi all the group,
>
> In our company, we're trying to clarify if connecting to a
> server using the 'mstsc /console' command registers a "logon
> type: 10" on the server side or maybe a "logon type: 2"...
>
> In fact, we've tried it some minutes ago and it seems it adds a
> new "logon type: 10" entry in Event Viewer :-/
>
> So, if true, there exists some way to identify/discern when an
> user logs onto a machine using the '/console' option or when he
> simply logs on using the "normal" TS connection (this is,
> without the '/console' parameter')
>
> Regards and many thanks in advance.
>
>
> Mario Pareja
> Systems Administrator
> mpareja.DeleteThis@apsic.com
Back to top
Login to vote
Vera Noest [MVP]

External


Since: Feb 02, 2005
Posts: 497



(Msg. 3) Posted: Wed Jun 28, 2006 1:44 pm
Post subject: Re: Logon type: 10 when accesing thru mstsc/console? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

inline

"ThOF" <mpareja RemoveThis @apsic.com> wrote on 28 jun 2006 in
microsoft.public.windowsnt.terminalserver.misc:

>> Now wait a second.... an application was running on the
>> console, that means that someone was logged in at the physical
>> console, correct? Running the application.
>
> YES! THAT IS!!
>
>> And you believe that someone else connected to the console
>> session and killed the application?
>
> YES! EXACTLY!
>
>> But *that* is logged in the EventLog! First you see the normal
>> remote logon type 10 event, and after that you see an event
>> that the current console session is disconnected/closed/logged
>> off and then an event that the console is connected to the new
>> remote session.
>
> Well, I think it has to be not so easy as you explain.

I think it is, see below.

> Here is my point of view:
>
> 1. Someone connects to the console using TS (mstsc.exe /console)
> with the "admin_xx_" user (day 1)
>
> 2.. Someone else (in fact, different people) connect to the same
> server, using the same user "admin_xx" but they don't connect to
> the console, but to normal TS connections (day 2, day 3, day 4,
> ..., day 35)

This is the real cause of the problem: Administrators should have a
unique account, just like normal users.

> 3. On day 36, some user (we don't know who) connects to the
> console, using TS (mstsc.exe /console) and entering the
> credentials of "admin_xx" (in fact, what he does is to
> "reconnect" the console session which was opened on day 1)

But this is recorded in the EventLog, EventID 682: Session
reconnected to winstation

> 4. This person accidentally logs out the console session and
> therefore the critical application that should be running stops
> :-/
>
> 5. How to know who the heck was the one who logged out from the
> console session?

This is how it looks on my server, when I reconnect to the console
session with the same user account:

EventID: 682
Computer: <my_server>
Session reconnected to winstation:
User Name: vera
Domain: <MY_DOMAIN>
Logon ID: (0x0,0x2F6B2)
Session Name: RDP-Tcp#3
Client Name: <MY_CLIENT>
Client Address: 192.168.xxx.xxx


In case the first user (on day 1) started the application while
logged in at the physical console, and the session is later connected
to with mstsc /console, then you see first EventID 683:

Session disconnected from winstation:
User Name: vera
Domain: <MY_DOMAIN>
Logon ID: (0x0,0x2A73E)
Session Name: Console
Client Name: Unknown
Client Address: Unknown

Followed by EventID 682 (as above)

> The only possibility I can think is if we had knew the
> "session_id" of the user who first logged ino the console on day
> 1, then we could have looked for the same session_id being
> logged out (I suppose you know what I mean, this is, the
> session_id that appears at the 'Description' field in Event IDs
> 528 and 551)
>
> The problem is we DO NOT know the "session_id" of the person who
> first logged on the server on day 1.

The session-id is in EventID 682, as shown above.
But since several persons seem to share the same Administrator
account, this only shows you from which client the person connected
to the console session. If you also have shared clients, then you
will still not know "whodunit".

I would do two things:
1. create a unique user account with Administrator rights for every
Administrator
2. get the whole Administrator group together and use this incident
as a life example for some inhouse education.
_________________________________________________________
Vera Noest
MCSE, CCEA, Microsoft MVP - Terminal Server
TS troubleshooting: http://ts.veranoest.net
___ please respond in newsgroup, NOT by private email ___
Back to top
Login to vote
ThOF

External


Since: Jun 27, 2006
Posts: 3



(Msg. 4) Posted: Thu Jun 29, 2006 11:47 am
Post subject: Re: Logon type: 10 when accesing thru mstsc/console? [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

OK, all understand all you say and seems pretty clear

The only thing you say that differs from what it happened to us is that the
first session on day 1 was opened using 'mstsc.exe/console' instad of
connecting to the REAL console (the server is an IBM Blade and we don't have
the possibility to connect a monitor or keyboard to it)

This is, the first day the server was rebooted, someone connected to the
console using 'mstsc.exe/console' and ran the resident program in order for
the app to work

All the rest is the same as you point (the following days, some other users
reconnected to that session, using 'mstsc.exe /console', too)

In that case, EventId 682 reports the same info when you reconnect as if you
were connected the first time to the real console?

Thx.


"Vera Noest [MVP]" <vera.noest RemoveThis @remove-this.hem.utfors.se> escribió en el
mensaje news:Xns97F0E7586168Cveranoesthemutforsse@207.46.248.16...
> inline
>
> "ThOF" <mpareja RemoveThis @apsic.com> wrote on 28 jun 2006 in
> microsoft.public.windowsnt.terminalserver.misc:
>
>>> Now wait a second.... an application was running on the
>>> console, that means that someone was logged in at the physical
>>> console, correct? Running the application.
>>
>> YES! THAT IS!!
>>
>>> And you believe that someone else connected to the console
>>> session and killed the application?
>>
>> YES! EXACTLY!
>>
>>> But *that* is logged in the EventLog! First you see the normal
>>> remote logon type 10 event, and after that you see an event
>>> that the current console session is disconnected/closed/logged
>>> off and then an event that the console is connected to the new
>>> remote session.
>>
>> Well, I think it has to be not so easy as you explain.
>
> I think it is, see below.
>
>> Here is my point of view:
>>
>> 1. Someone connects to the console using TS (mstsc.exe /console)
>> with the "admin_xx_" user (day 1)
>>
>> 2.. Someone else (in fact, different people) connect to the same
>> server, using the same user "admin_xx" but they don't connect to
>> the console, but to normal TS connections (day 2, day 3, day 4,
>> ..., day 35)
>
> This is the real cause of the problem: Administrators should have a
> unique account, just like normal users.
>
>> 3. On day 36, some user (we don't know who) connects to the
>> console, using TS (mstsc.exe /console) and entering the
>> credentials of "admin_xx" (in fact, what he does is to
>> "reconnect" the console session which was opened on day 1)
>
> But this is recorded in the EventLog, EventID 682: Session
> reconnected to winstation
>
>> 4. This person accidentally logs out the console session and
>> therefore the critical application that should be running stops
>> :-/
>>
>> 5. How to know who the heck was the one who logged out from the
>> console session?
>
> This is how it looks on my server, when I reconnect to the console
> session with the same user account:
>
> EventID: 682
> Computer: <my_server>
> Session reconnected to winstation:
> User Name: vera
> Domain: <MY_DOMAIN>
> Logon ID: (0x0,0x2F6B2)
> Session Name: RDP-Tcp#3
> Client Name: <MY_CLIENT>
> Client Address: 192.168.xxx.xxx
>
>
> In case the first user (on day 1) started the application while
> logged in at the physical console, and the session is later connected
> to with mstsc /console, then you see first EventID 683:
>
> Session disconnected from winstation:
> User Name: vera
> Domain: <MY_DOMAIN>
> Logon ID: (0x0,0x2A73E)
> Session Name: Console
> Client Name: Unknown
> Client Address: Unknown
>
> Followed by EventID 682 (as above)
>
>> The only possibility I can think is if we had knew the
>> "session_id" of the user who first logged ino the console on day
>> 1, then we could have looked for the same session_id being
>> logged out (I suppose you know what I mean, this is, the
>> session_id that appears at the 'Description' field in Event IDs
>> 528 and 551)
>>
>> The problem is we DO NOT know the "session_id" of the person who
>> first logged on the server on day 1.
>
> The session-id is in EventID 682, as shown above.
> But since several persons seem to share the same Administrator
> account, this only shows you from which client the person connected
> to the console session. If you also have shared clients, then you
> will still not know "whodunit".
>
> I would do two things:
> 1. create a unique user account with Administrator rights for every
> Administrator
> 2. get the whole Administrator group together and use this incident
> as a life example for some inhouse education.
> _________________________________________________________
> Vera Noest
> MCSE, CCEA, Microsoft MVP - Terminal Server
> TS troubleshooting: http://ts.veranoest.net
> ___ please respond in newsgroup, NOT by private email ___
Back to top
Login to vote
Display posts from previous:   
       Home -> Windows Other -> Terminal Server All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum
Categories:
 Windows XP
 Windows Vista
  Windows Other
 Office
 Office Other
 Security
 WinRAR
  • Home |
  • Shareware |
  • Windows Tips |
  • Hot Offers |
  • FREE Newsletters |
  • Arcade |
  • Forums |
  • eBooks |
  • About WUGNET |
  • Partners |
  • Contact

  • WUGNET Privacy Policy |
  • Link to WUGNET