Can Windows XP run a batch file durning a user log off? - Windows NT

This is a discussion on Can Windows XP run a batch file durning a user log off? - Windows NT ; Hello, I'm not sure if I'm in the correct newsgroup to ask this question but I am trying to figure out a way that when a user logs off the computer it will run a batch file in the background. ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Can Windows XP run a batch file durning a user log off?

  1. Can Windows XP run a batch file durning a user log off?

    Hello,
    I'm not sure if I'm in the correct newsgroup to ask this question but
    I am trying to figure out a way that when a user logs off the computer
    it will run a batch file in the background. Can this be possible? If
    so, how? Thanks in advance!

    Jose

  2. Re: Can Windows XP run a batch file durning a user log off?

    Yes, you can set User logoff scripts. This can be set via group policy. If
    the computer is not part of the domain, you can modify the local group
    policy, by following these steps:

    1) Run mmc
    2) File -> Add/Remove Snap-in
    3) Click Add
    4) Select Group Policy
    5) Click Add
    6) Click Finish
    7) Click OK
    8) Set the logoff policy by going to Local Computer Policy -> User
    Configuration -> Windows Settings -> Scripts (Logon/Logoff)
    9) Double click Logoff and add the script there.


    --
    Steve Seguis - MCSE, Microsoft MVP, SCJP
    SCRIPTMATION
    Automating the Enterprise
    http://www.scriptmation.com


    "Jose Gilberto Torres" wrote in message
    news:9d4fdd19.0411301342.7e5ee895@posting.google.c om...
    > Hello,
    > I'm not sure if I'm in the correct newsgroup to ask this question but
    > I am trying to figure out a way that when a user logs off the computer
    > it will run a batch file in the background. Can this be possible? If
    > so, how? Thanks in advance!
    >
    > Jose




+ Reply to Thread