How can I force a net use command to remember the credentials to use for a server?

A. Ordinarily, you're prompted for credentials when you access a remote server that's outside of your regular account domain. However, if you use the /savecred switch with the net use command, it will prompt for the credentials to use and store the credentials for any future connection, as the following example shows:

net use * \\savdaldc02\temp /savecred
Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish