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

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...