• Execution of a DOS command each time a user logs off

    Home » Forums » AskWoody support » Windows » Windows 8.1 » Questions: Win 8.1 (and Win 8) » Execution of a DOS command each time a user logs off

    Author
    Topic
    #489373

    Hi

    In all editions of Windows 8, how do I make sure that it executes a DOS command each time a user logs off?

    Thanks

    Bye

    Viewing 4 reply threads
    Author
    Replies
    • #1393876

      Balubeto,

      Use the Task Scheduler and set your trigger as shown below:
      34043-Event-Trigger
      HTH :cheers:

      May the Forces of good computing be with you!

      RG

      PowerShell & VBA Rule!
      Computer Specs

    • #1393877

      RG, looks like you have selected “Winlogon” as the source. What about “winlogoff”?

      Group "L" (Linux Mint)
      with Windows 10 running in a remote session on my file server
    • #1393882

      Jim,

      There is no Winlogoff! Code 7001 = Logon 7002 = Logoff. HTH :cheers:

      May the Forces of good computing be with you!

      RG

      PowerShell & VBA Rule!
      Computer Specs

    • #1393895

      Makes sense!

      I just learned about something very similar to that. I learned that for Windows Defender (Windows 8), you have to go to Task Scheduler in order to set up scanning schedules. There’s no way to do that inside of Windows Defender! Event ID 1 gives you a quick scan, and Event ID 2 gives you a full scan.

      The Task Scheduler settings look a lot like you are filling in values in the Windows Registry; in other words, Task Scheduler is a shell for the Windows Registry.

      Back in the day, we referred to this stuff as “Command-Line Parameters”.

      Group "L" (Linux Mint)
      with Windows 10 running in a remote session on my file server
    • #1393973

      By chance, in Windows 8 Standard (and in other editions), there is one registry key or entry that can perform a reg command that is executed when a user logs off? This key or entry must operate at the global level.

      Thanks

      Bye

    Viewing 4 reply threads
    Reply To: Execution of a DOS command each time a user logs off

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: