Login screen of last user and running a command

balubeto

Member
Member
Messages
173
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
 

My Computer

System One

  • OS
    Windows 8
Can you clarify the purpose of this? What's the root problem you're trying to solve?
 

My Computer

System One

  • OS
    Windows 8 Pro x64
    Computer type
    Laptop
    System Manufacturer/Model
    HP Pavilion dv7t (17.3'', i7-2630QM, HD 6770M 1Gb, 8Gb RAM, 2 SSD@120Gb + 1 HDD@750Gb)
Can you clarify the purpose of this? What's the root problem you're trying to solve?

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
 

My Computer

System One

  • OS
    Windows 8
In other words, it's still not clear what you're trying to accomplish in the end... So I guess we'll hear more specifics as you learn that our suggestions don't work.

Give a scheduled task a try. The trigger must be set when system starts (as opposed to user logon).
 

My Computer

System One

  • OS
    Windows 8 Pro x64
    Computer type
    Laptop
    System Manufacturer/Model
    HP Pavilion dv7t (17.3'', i7-2630QM, HD 6770M 1Gb, 8Gb RAM, 2 SSD@120Gb + 1 HDD@750Gb)
In other words, I should change the value of a registry entry via a reg command before the last user login screen appears.
  • 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
 

My Computer

System One

  • OS
    Windows 8
@NiFu
The TS listed "Windows 8" in his specs, so logoff scripts would be a very long shot. That's the reason I haven't mentioned it. But it doesn't look like the TS is interested in solving his problem anyway :)
 

My Computer

System One

  • OS
    Windows 8 Pro x64
    Computer type
    Laptop
    System Manufacturer/Model
    HP Pavilion dv7t (17.3'', i7-2630QM, HD 6770M 1Gb, 8Gb RAM, 2 SSD@120Gb + 1 HDD@750Gb)
The TS listed "Windows 8" in his specs, so logoff scripts would be a very long shot.
  1. Some users don't make much difference between "Windows 8" and "Windows 8 Pro" in their specs.
  2. Perhaps other user who read the thread can use the tip.
 

My Computer

System One

  • OS
    Windows 8
Back
Top