Jump to content

Recommended Posts

Posted

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.


Posted

@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?

Posted

you can copy a refrence to a batch file to the computer using the runonce. Then add a call command to the registry

e.g

RunOnce.cmd

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG 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

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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