• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 215
  • Last Modified:

Logon script question

I am using login scripts on a W2003 domian XP client. I am trying to configure an Xp client to attach to a share outside of the domain (share on a standalone/workgroup w2003 server). From a command prompt on the Client, I can "net use I: \\servername\share /user:servername\username password" (where the username and password are a local administrative account on the workgroup share) and it works fine. When the logon script runs, it always fails on the credentials. I enter the username and password again, then it will connect. Any suggestions?
1 Solution
u will need to write the password in a textfile and also press enter in the textfile to apply the command. Then link the textfile with the command, like this:

net use I: \\servername\share /user:servername\username < password.txt
RB_adcomAuthor Commented:
Found the solutions myself, the syntax was incorrect. This is the syntax I used.

net use I: \\servername\share password /user:servername\username
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now