Kinook Software Forums

Kinook Software Forums (
-   [VBP] General Discussion (
-   -   Access Denied - Remote Project (

mvermeulen 07-02-2004 08:20 AM

Access Denied - Remote Project
How do you determine or specify the account used by VisBuildCmd when launched remotely from another server?

I used the server.bld example to launch a bld file on a remote server. The build runs successful on every step except when it tries to copy files from a third server. At that point I get an access denied message.

Thanks much and cheers!

kinook 07-02-2004 08:39 AM

If not specified, Windows will use the currently logged in user on the local box to determine permissions.

When using the first method in the sample (psExec), the -u and -p switches specify the username/password to use:

When using the second method (vbld_RemoteExecuteCmd), it's the 3rd and 4th parameters (from the 'system macros' help topic):

vbld_RemoteExecuteCmd(strServer, strCommand, strUserName, strPassword): Execute a command on a remote computer and return the exitcode

All times are GMT -5. The time now is 08:42 AM.

Copyright 1999-2022 Kinook Software, Inc.