Jump to content

Execute cmd after full logon


Recommended Posts


@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

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

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