Hi Fred,
Thank you for your leads. They helped me a lot. I used Remus solution and it worked for me.
Cheers,
Ali
>>Hi Fred,
>>
>>Does "LogonUser" do the same as Runas? Is that only the app that access the server after this or the workstation?
>>
>>It is from this thread:
>>
http://fox.wikis.com/wc.dll?Wiki~RunAsAnotherUser>>
>>If yes, that would solve my problem for sure.
>>
>>Thank you,
>>Ali
>
>
>It looks like the SANUR utility mentioned in that article would prevent the prompting for the password with runas. The API calls for LogonUser looks like it would do everything you need without requiring any 3rd part utility, just the API calls.