[There's a reason that Yoda is the unofficial mascot of SBS.  Size indeed matters not.] Who's logged in? - THE OFFICIAL BLOG OF THE SBS DIVA
Mon, May 26 2008 23:52 bradley

Who's logged in?

http://technet.microsoft.com/en-us/sysinternals/bb897545.aspx

Before I reboot the server.... who's logged on and in a file?

Don't know the answer to that?  Try PSloggedon from the Sysinternals gang.

Microsoft Windows [Version 5.2.3790]
(C) Copyright 1985-2003 Microsoft Corp.

C:\Documents and Settings\Administrator.KIKIBITZRTM>cd\

C:\>cd pslogged

C:\pslogged>psloggedon

loggedon v1.33 - See who's logged on
Copyright ⌐ 2000-2006 Mark Russinovich
Sysinternals - www.sysinternals.com

Users logged on locally:
     Error: could not retrieve logon time
NT AUTHORITY\LOCAL SERVICE
     Error: could not retrieve logon time
NT AUTHORITY\NETWORK SERVICE
     Error: could not retrieve logon time
KIKIBITZRTM\SBS Backup User
     Error: could not retrieve logon time
KIKIBITZRTM\QBDataServiceUser17
     5/23/2008 10:57:28 PM    KIKIBITZRTM\Administrator
     Error: could not retrieve logon time
NT AUTHORITY\SYSTEM

Users logged on via resource shares:
     5/26/2008 11:50:02 PM    BITZIEMEDIA\BITZIE

C:\pslogged>

Now if I can find a script or PowerShell to tell me if that user has a file open before rebooting the server.  I'll report back if I find it.

Filed under:

# re: Who's logged in?

Tuesday, May 27, 2008 3:05 AM by Scott McKenzie

Isn't that what "net file" does?

"NET FILE closes a shared file and removes file locks. When used without options, it lists the open files on a server. The listing includes the identification number assigned to an open file, the pathname of the file, the username, and the number of locks on the file."

# Interesting Finds: May 27, 2008

Tuesday, May 27, 2008 9:07 AM by Jason Haley

# re: Who's logged in?

Tuesday, May 27, 2008 9:46 AM by Jim Federico

I always go to a command prompt on server and type net files to see who has files open on server before rebooting.  Net sessions will also tell me how long since they have been working.  One problem is when they have a screen saver opening pictures from my documents that are redirected.  They show they are always working and have files open.

# re: Who's logged in?

Wednesday, May 28, 2008 9:21 AM by Ian Watkins

I always look in Computer Management and see what's what under there.

# re: Who's logged in?

Tuesday, June 03, 2008 7:41 AM by HandyAndy

If you look in the SBS Console under Shares you can see who is connected and what files if any are open.

SBS is just like all the other MS Apps, most of the things folks request are already there, just no one knows :>)