Login screen of last user and running a command

Discussion in 'Customization' started by balubeto, Jun 2, 2013.

  1. balubeto

    balubeto

    Joined:
    Jun 2, 2013
    Messages:
    24
    Likes Received:
    0
    Hi

    In Windows 8, it is possible to run a command whenever the login screen of the last user is displayed in a local computer? This command should always be run with elevated rights and just before this screen appears.

    Thanks

    Bye
     
    balubeto, Jun 2, 2013
    #1
    1. Advertisements

  2. balubeto

    balubeto

    Joined:
    Jun 2, 2013
    Messages:
    24
    Likes Received:
    0
    In other words, I should change the value of a registry entry via a reg command before the last user login screen appears. In addition, this reg command should be run whenever this event occurs regardless of the type of account and of the cause that produced it.

    Thanks

    Bye
     
    balubeto, Jun 2, 2013
    #2
    1. Advertisements

  3. balubeto

    NiFu

    Joined:
    Mar 6, 2012
    Messages:
    11
    Likes Received:
    3
    Location:
    Germany
    • You can run logon and logoff scripts with "Group Policy Editor":
      -> User Configuration | Windows Settings | Scripts (Logon/Logoff)
    • But "Group Policy Editor" is not available in Windows 8 - only in Windows 8 PRO
    • In your case you can't use the logon script option, because this script is running after login
    • But you can use the logoff script option - then the registry change is available for next login
     
    NiFu, Jun 5, 2013
    #3
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.