Loging start/quit event


  1. Posts : 6
    windows 10
       #1

    Loging start/quit event


    Hi,
    By the past, I was using gpedit to launch a wsh script to log loggin, logout time in a text file.
    My problem is that there's no more gpedit in win10.
    Is there a way to catch those events ?
      My Computer


  2. Posts : 6,300
    Windows 11 Pro - Windows 7 HP - Lubuntu
       #2

    gpedit.msc is a Win 10 pro feature. In fact, the Group Policy Editor is not available in any Home or Starter edition of Windows, be it Windows XP, Windows 7, Windows 8.1 or Windows 10.
      My Computers


  3. Posts : 869
    Windows 10 Professional x64 21H2
       #3

    Then your running Window 10 Home which does not have gpedit enabled. But you can enable it with this script from MajorGeeks

    Add Group Policy Editor to Windows 10 Home
      My Computers


  4. Posts : 6
    windows 10
    Thread Starter
       #4

    Awesome, thank you.
      My Computer


  5. Posts : 869
    Windows 10 Professional x64 21H2
       #5

    Your Welcome.
      My Computers


  6. Posts : 5,327
    Windows 11 Pro 64-bit
       #6

    Why don't you schedule your script to execute using Task Scheduler.
      My Computer


  7. Posts : 6
    windows 10
    Thread Starter
       #7

    It seems it work also; i'm not used to task scheduler so I didn't thought of it ^^.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 11:20.
Find Us




Windows 10 Forums