Set up windows schedule using two different user accounts

How to set up scheduling using two different user account on the same machine?

A schedule is working with a user account but the same script is not working with another user account. Although, user credentials of respective users have been stored in credential manager as well as UI Path tray for respective users

Dear Vikas.Jain, I have the same problem with u, do u have any experience or have done it. thx.