Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question
    
Why can't the server be a domain member? –  MDMarra Jan 17 '13 at 12:16

2 Answers 2

up vote 2 down vote accepted

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.

share|improve this answer

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.

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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