We are using Windows 98 on an Novell Network. Currently, we use the task scheduler to perform various task on the local machine. One problem is that the task will execute when the user is not logged on to the network, however, there the program can only access the local machine.

Is there a way (API or similar) that the program we execute could be coded in such a way that it would log into the network - execute its task, then - log back off again?