First method (older):
Go to \Documents and Settings\All Users\Start Menu\Programs\Startup, right click on folder background, select New->Link, when prompted, write the command:
cwblogon as400 /u quser /p quser
assuming that as400 is the name configured in iSeries Access configuration, and quser is the default user allowed to open a connection.
name it as you wish, select its Properties, and select to run it iconified.

New method:
Download cwblogon.reg, edit as you need (it contains 'as400' and 'quser' as default values), then double click it to insert the voice in the registry.
At reboot, it will be run.

(c)2007 Paul T.Threshold