• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

Are my users active on the network

Monthly I do windows updates on all my servers,  I usually begin this at 10:00 PM.  After the windows updates I need to reboot servers and test.  Sometimes I do this over the course of two or three nights.

My problem is I have a remote office that some of the users work till 1:00 or 2:00 AM and if I reboot servers they are on they are not happy campers.

These users previously connected to the main office using Citrix and I was easily able to tell who was logged in and if there citrix session was active.  If it was inactive for 30 minutes or so,  I would just log the session off.  once I was sure the users werent activily woprking then i would be comfortable with the reboot.

Now they no longer connect through citrix and they are just logging into the Windows 2008 Domain.  My problem is many users when they are done for the day they just lock there computers.  So technically the are logged in but for my purposes I would be able to reboot the servers.

Each users computer is windows 7, connected to an Active directory 2008 Domain,  we use outlook 2010,  exchange 2007.

How can I tell:
1. Who is logged in ?
2. If the logged in users are activiley working ?

Thanks for your assistance.
0
Ekuskowski
Asked:
Ekuskowski
  • 2
  • 2
2 Solutions
 
Mike KlineCommented:
You can use the lastlogon attribute or try to comb the event logs but that is going to be tough  to know who is "working".  You could look at exchange logs or IIS logs if using OWA.

What I'd suggest is sending out an email once a month saying there will be maintenance.  Give them a two hour window  (after hours) and just let them know services may be unavailable during that time.  The servers need to be patched.

We did something similar this week because we are moving Exchange mailboxes and we sent out a mass email saying services might not be available between midnight and 3 AM while their mailbox is moved.

Thanks

Mike
0
 
Thomas GrassiSystems AdministratorCommented:
Active Directory domains don't maintain 'session state', it's just a directory, you won't be able to retrieve a list of logged in users.


You could, in a logon script, create a line that makes a file?

Something like?

net time >> \server\logonlogs\%username%.txt

Then in a logoff script del %username%.txt


Found this also

http://www.rlmueller.net/Last%20Logon.htm
0
 
EkuskowskiAuthor Commented:
Problem is my users complain anytime we do maintenance,  I could send out an email and I'll get 20 responses that I cant do maintenance because they absolutely need access to the system,  then I could check and no one will be logged in.  If I could find the info without the notification would be better .  

Logon and logoff doesnt really tell me if they are working,  of course logoff tells me they are not connected but if i have people logon and they dont logoff instead they just lock the computer,  I wouldnt know if they are working.

I'll check out some of these scripts but a quick look doesnt seem to find what i need  http://www.rlmueller.net but these scripts seem pretty useful for other uses.
0
 
Thomas GrassiSystems AdministratorCommented:
Do what I do just send out a broadcast message to all network users
System will shutdown in 10 mins for Maintenance Please logoff

net send was the method but not on Windows 7 and Windows 2008 no more net send

For the windows 7 computers I found a program winmessenger that works nicely.

For Windows 2008 server I found a program called sent which also works well

I then setup a batch file shutdown.cmd which sends the message to all computers on the domain
0
 
Mike KlineCommented:
What if you patch at 2 AM on Saturday morning (Use WSUS and schedule it).  Would they still complain?

Thanks

Mike
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Creating Active Directory Users from a Text File

If your organization has a need to mass-create AD user accounts, watch this video to see how its done without the need for scripting or other unnecessary complexities.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now