We have a fax server here that drops all of its incoming faxes to a shared folder. Unfortunately, because of the way it was designed it cannot be joined to our local domain.
This means it has its own local account, and every time I reboot a username and password has to be entered to access it.
I wanted to find a way to allow me to access the drive without having to enter a username and password.
After some searching, I found a command line tool built into Windows that will do this:
This will allow you to store multiple username and password combinations for different network resources, while keeping them encrypted in the registry.
So, in my case I have a fax server on 10.10.27.231, and its username is fax, the password is fax.
To add it to Windows simply type this at the command line:
cmdkey /add:10.10.27.231 /user:fax /pass:fax
If you wanted to remove it from the cache, you would call it like this:
Also, you can get a list of the currently remembered ones like this:
A simple command line tool, but saves you the aggravation of typing that in every time you reboot – Nice.
One more thing…Subscribe to my newsletter and get 11 free network administrator tools, plus a 30 page user guide so you can get the most out of them. Click Here to get your free tools