3

I have two computer, the first one is the server (so WinXP) with a shared folder granted for user "test" and this is out of domain, it is just in WORKGROUP. The second computer is a client computer (WS2012) in domain and i would like to access directly to the shared folder of the server without prompting username/password.

I tried to add a "test" user (with the same password) in localuser of the client and also in the domain, but the access fails.

I need this on.the.fly access because i need some file from share just with a file path (ex. \server\path\file.txt) without prompting.

thank you.

  • Why can't the server be a domain member? – MDMarra Jan 17 '13 at 12:16
6

You have a few options.

  1. Create a local account on each machine with the exact same username and password. Have your batch job run as this account. Give this account permission to access the share. This is called pass-through authentication and it's an ugly hack and holdover from the early days.

  2. Give Everyone access and enable anonymous authentication. This is extremely insecure and you shouldn't do this either.

  3. The "correct" way to handle this is to join the server to the domain and use a domain account that has access to the share to run the batch job in question.

  • Point 1, so so dodgy. But it works a treat! My environment is AWS so a real nightmare. @MDMarra thanks :) – robnick Aug 26 '16 at 4:32
1

Have you tried authenticating with the test account, with username COMPUTERNAME\Test instead of just Test -- your Win2012 machine might be prepending its own domain name on to the username.

  • It works, but i want a permament access without prompting user/password – Tobia Jan 17 '13 at 12:16

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.