Solved

run a file which is on a file server share when the machine is not joined to the domain

Posted on 2009-07-01
3
228 Views
Last Modified: 2012-05-07
I want to run a file which is on a file server share when the machine is not joined to the domain, although it is connected to the network. this is to run in a batch file. how can i do this?
0
Comment
Question by:resolver1
  • 2
3 Comments
 
LVL 84

Expert Comment

by:oBdA
ID: 24752687
You'll need to map a drive to the share with a user account either in the domain that the file server is in, or with a local user account on the file server.
If mapping from Explorer, click the link "Connect with another account"; from a command prompt, use
net use \\server\share * /user:<SomeUser>
To connect with the a domain user, use
DOMAIN\username
as user name, to connect with a local account on the file server, use only the account name. If the file server happens to be a DC, you can use the account name without the domain as well.
0
 

Author Comment

by:resolver1
ID: 24769385
i don't want the batch file to contain any passwords.  I'm concerned with users retrieving the batch file (along with the passwords) after the files have been deleted.  is there a solution where i can do this without passwords being stored?  
0
 
LVL 84

Accepted Solution

by:
oBdA earned 500 total points
ID: 24770396
The * will ask the user to enter his password when the drive is mapped.
If the server isn't joined to the domain, you'll need local accounts on the server to access them and users will have to provide these credentials. Passthrough authentication will only be possible if you have the same accounts with the same passwords on the stand-alone server as in AD.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question