Mark,
Thanks for pointing that out. It should have been as you suggested. Although that was not the cause. It was my actions within the loop of the key array. I neglected to exit the For...Next loop once the correct key was found. Because the values I was testing for (strValue1) would always be...
Your lack of a trust between the domains is the reason for the failure. Scripts execute with the credentials of the caller (entity executing the task). If the user you are logged on as is not an authenticated user in the target domain, Your LDAP query will fail because it has no security context...
Are you trying to have a program execute locally from a remote host? Or are you trying to have a program that is not installed on one computer execute from source files on a local machine? (ie Office not installed on a server machine and you want to run Word that is installed on a remote...
I am working on a logon script (GPO) that checks for an Outlook Profile, if one exists/does not exist, it either creates a registry key or exits the instruction loop. Both cases create a log event with a descriptive text entry. If the script is executed standalone (just run from command line or...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.