rocco Posted July 31, 2007 Share Posted July 31, 2007 trying to login to a different domain using different userid/password then the userid logged into Windows. Works when PC is in the same domain, doesn't when it's in a different domain. Is there any way to do this? thanks RC ================================== $Username="domainname\userid" $Password="userpassword" DriveMapGet("M:") if not @error then DriveMapDel("M:") DriveMapAdd("M:","\\servername\sharename",0, $Username, $Password) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now