Jedná se o XP Professional?
1.) Choose Start Menu -> Run -> type in gpedit.msc
2.) Expand User -> Windows Settings ->Script ( Logon / Logoff )
3.) Double-Click either one and a dialog displayed
4.) Click the add button and then browse the command files that you wish to executed. The Script Parameters allowed you to pass any extra parameters to the command or applications. Click OK button.
5.) You command now should displayed on Name / Parameters List Box. Click OK button and close the window.
6.) Make the change with the logoff if you needed.