Jump to content

Running program at first logon AFTER desktop is displayed


Recommended Posts

Hello

Yeah as the title says i wanted to know if it possible to run a program (batch script) at first logon after the desktop is displayed.

I know this is possible using the HKCU\...\CurrentVersion\Run or HKLM\...\CurrentVersion\Run registry keys. This will execute after the desktop is loaded but it will also get executed at every logon. I only need to have it executed 1 time at the first logon. I could try to delete the Run keys using the batch file after it has invoked it but the batch file doesnt have rights to edit in the registry

I also tried using the RunOnce keys but it gets executed before the desktop is loaded causing the batch file not to function properly

Edited by vkcelik
Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...