Re: Recording and/or logging XP Login duration and activity



Shenan Stanley wrote:
revert wrote:
My company is experiencing "slow" login times on our Windows XP
Notebook and Tablet devices since installing some new software, and
we'd like to be able to definitely prove that the new software adds
X amount of time to the login duration.

Are they connected to a network at the time or no netowrk?
Using Cached Domain Credentials?
Any roaming profiles involved?

To date, we've been "timing" login durations using a stop-watch,
measuring the elapsed time from the second we click OK on the logon
credentials screen until the CPU usage stabilizes at < 5%.
Obviosuly, this method is not very scientific, and management
doesn't look too highly of it.

It's fairly scientific actually, but not very geeky.

Aside from timing the logins, management would also like a full
report of the processes/services starting up @ login, including
each of their CPU and memory usage statistics, at any given point
during the login.

Good lord. Management must be the ones whose logons take the
longest.
So here are my questions...

1) What is the best method to "time" a login duration? Is there
software for this?

Well - you could timestamp their logon scripts. That will not be
100% accurate, as there is some time before the logon script starts
to account for - but that should be the same for all users unless
you are using roaming profiles - then everything gets more
complicated and my suggestion turns to, "Have you trimmed down what
is uploaded/downloaded with your roaming profiles?"

2) At what point is the user considered "logged in"? Is it when
the CPU usage stays below a certain number?

That's hard to pinpoint. That is more of an observation point. You guys
arbitrarily decided <5% CPU... Some people decide "as
soon as the logon script has ended" and others still "when the
icons appear on the desktop". In general - when the machine can
began being used by the user - I consider the logon done. Unfortunately -
that is hard to pinpoint and a lot depends on your
environment and how much crap the user loads up with their profile.
3) Which tools or utilities would be best fitted for recording
services and processes running @ login, as well as their
corresponding memory useage and CPU usage statistics at any given
point in the login? (we'd like to be able to chart this if
possible)

TASKLIST /? would be a good start.

Any insight is greatly appreciated.

You need to investigate how your users log on...
- What their local computer setups are (speed, installed
applications, security levels of the users, etc.)
- How long a brand new account takes to log on to a brand new
(setup) computer with your default setup.
- If you use romaing profiles - you need to learn to trim that
upload/download session. Don't keep TIFs, Cookies, etc. Redirect
some of their folders so it doesn't download them, but points them
elsewhere, make sure people aren't using their desktop as "storage
central", etc. - How fast does just transferring a file from your
workstation to the auth server go? How many auth servers do you
have? - For those who are complaining about long logon times - how
many have some weather app loading in their taskbar (along with
Google Desktop and sticky notes and.... you get the idea.)

I forgot to mention one thing - which soounds like it may be relevant to
your situation...
As these are laptops/tablets...

If they are indeed using cached logons (as they would be if not hardwired to
the network where the domain is and/or if they don't VPN connect before
actually logging on) <-- the process of logging on will take longer if the
computer detects a network (wireless for example) and attempts to use it -
as it has to time out on this first. Same for taking said portable home -
they are no longer on the "domain" network - but their system may detect
some network - so it attempts to logon using the domain credentials on that
network - has to time out before using the cached credentials.

The easiest way to test this.. Disable all network connections and restart
the system. Then log on as one of the users in question. As it detects
*no* network in this state, the logon will be noticably shorter if your
users are experiencing this lag.

--
Shenan Stanley
MS-MVP
--
How To Ask Questions The Smart Way
http://www.catb.org/~esr/faqs/smart-questions.html


.



Relevant Pages

  • Re: Recording and/or logging XP Login duration and activity
    ... X amount of time to the login duration. ... Any roaming profiles involved? ... Well - you could timestamp their logon scripts. ... CPU usage stays below a certain number? ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: NtLmSsp -- Login
    ... type three is a network logon. ... > login and was hoping someone could tell me how the login was done (remote ... > The event viewer title for this event shows Anonymous login. ...
    (microsoft.public.win2000.security)
  • Re: Network Cable Disconnection and Elevated Access
    ... if they are logging on as only plain users then they should ... if the network is disconnected during the login. ... "Always wait for the network at computer startup and logon" ...
    (microsoft.public.security)
  • Re: Unable to login locally or via domain ?
    ... We are unable to logon to the PC at all - whether on the network or not, have tried the domain admin account etc to no avail. ... Yesterday morning one of the users was unable to login to the domain, or even locally, but this somehow fixed itself. ... I have tried deleting his computer from the server and re-adding, also deleting the address lease, still with no access. ...
    (microsoft.public.windows.server.sbs)
  • Re: Unable to login locally or via domain ?
    ... We are unable to logon to the PC at all - whether on the network or not, have tried the domain admin account etc to no avail. ... Yesterday morning one of the users was unable to login to the domain, or even locally, but this somehow fixed itself. ...
    (microsoft.public.windows.server.sbs)