[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

user logs onto

Hi i want to get a log of the time that users logon to the network in a windows 2003 domain.
0
gmollineau
Asked:
gmollineau
  • 2
1 Solution
 
KCTSCommented:
If you audit account logons then the event will be recorded on the Domain Controller
0
 
Malli BoppeCommented:
We have used the below script the default domain policy.You can use the same in the script for the log off as well

User Conig->Windows Settings->Logon->Scripts

@echo on

rem      ### Set Date Format ###
FOR /f "tokens=1-4 delims=/ " %%a in ('DATE /T') do set Date=%%c-%%b-%%a
set datenow=%date%


echo %datenow%,%time%,%username% >>\\corpnet1\UserLogonDetails\%datenow%.txt
0
 
gmollineauAuthor Commented:
I do not have auditing enabled currently, is there anywhere i can view a particular user's log on time from say a month ago?
Thanks
0

Featured Post

Free tool for managing users' photos in Office 365

Easily upload multiple users’ photos to Office 365. Manage them with an intuitive GUI and use handy built-in cropping and resizing options. Link photos with users based on Azure AD attributes. Free tool!

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