Bolus123 Posted February 11, 2007 Share Posted February 11, 2007 Hi.Is it possible to execute a batch file after complete logon? Windows says stuff like "personalising settings" and than it creates all kinds of anoying shortcuts I which to remove after this process. Link to comment Share on other sites More sharing options...
neo Posted February 11, 2007 Share Posted February 11, 2007 Using RunOnce U can perfrom all these thing.Visit this one Link to comment Share on other sites More sharing options...
cumminbk Posted February 11, 2007 Share Posted February 11, 2007 just put your batch file in the startup folder. Thats what i do Link to comment Share on other sites More sharing options...
Bolus123 Posted February 11, 2007 Author Share Posted February 11, 2007 @Neo: you mean RunOnceEx? That one happens before the customization of settings.@cumminbk: the items in startup folder starts everytime windows starts right? Do you delete it afterwards? Can one insert a command line to delete itself? Link to comment Share on other sites More sharing options...
phkninja Posted February 11, 2007 Share Posted February 11, 2007 you can copy a refrence to a batch file to the computer using the runonce. Then add a call command to the registry e.gRunOnce.cmdSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /f.....REG ADD %KEY%\z199999 /V 1 /D "themes.cmd" /f REM The above code is called during the personalising settings stage Link to comment Share on other sites More sharing options...
Bolus123 Posted February 12, 2007 Author Share Posted February 12, 2007 Thanks a lot, gonna try it out. 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