vkcelik Posted March 14, 2010 Share Posted March 14, 2010 (edited) HelloYeah 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 registryI also tried using the RunOnce keys but it gets executed before the desktop is loaded causing the batch file not to function properly Edited March 14, 2010 by vkcelik Link to comment Share on other sites More sharing options...
maxXPsoft Posted March 14, 2010 Share Posted March 14, 2010 mine takes about a min and a half to get to desktop on a good machinetimeout /t 180Can have that at top and it will delay Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now