its rather simple, create an entry in the “HKEY_LOCAL_MACHINESOFTWAREMicrosoftActive SetupInstalled Components” key. the entrees in this key is the stuff you se in the upper left hand corner during first log on. (the Personalized Settings box). Most if not all entries in this key will be in the GUID format, but it does not have to be..
Open REGEDIT and follow the instructions below.
Now just reboot and log on with a different user, and notepad will be executed during logon.
If you want to set this with a script ,then here small one for disabling the Windows Media Player wizard.
Set oShell = CreateObject("WScript.Shell") RegPath="HKEY_LOCAL_MACHINESOFTWAREMicrosoftActive SetupInstalled Components{Z-UserSetup}" oshell.RegWrite Regpath & "Stubpath", "reg.exe add HKCUSOFTWAREMicrosoftMediaPlayerPreferences _ /v AcceptedPrivacyStatement /t REG_DWORD /d 1 /f", "REG_SZ" oshell.RegWrite Regpath & "Version", "1.00", "REG_SZ" oshell.RegWrite Regpath & "@", "Accept MP Privacy Statement", "REG_SZ"
you can add as many as you want, just remeber the execution order.