map a drive to a Server not on our domian

I have a server that is in a Workgroup setting(not on a domain).  It has a unique IP address and it is connected on our network; but, I need to put this server's shared files available through our logon script.  I know 'net use' will work; but, every time these user's will logon, it will prompt them for the server's username and password.  

Is there a way to embed the username and password for a Server that is not in our domain and have a drive mapped to this server?  

Or is the best way to go about this is to map a drive manually, after the user has logged on, and choose re-connect at logon?  There is a prompt to enter the username and password at this network drive setting.

The problem with the latter choice, is that we will have to manually map a drive for every user on every PC that has that software installed on it.  That is why I was wondering if there is a way to edit a logon script and to map a drive to a server and have the logon script enter the username and password for this server, in a 'Workgroup'.
LVL 1
PkafkasNetwork EngineerAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jay_Jay70Commented:
Hi Pkafkas,

have a look at this - if you use the password switch you can include credentials in your script
http://www.cs.cmu.edu/~help/windows/mapping_drives.html

Cheers!

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
PkafkasNetwork EngineerAuthor Commented:
I wonder if ComputerName is '\ComputerName\ShareName '  can be an IP address?  I will try it out.
PkafkasNetwork EngineerAuthor Commented:
Actually now that I have read jay_Jay70's response that answered my above question perfectly.  I will try it out.
Jay_Jay70Commented:
let me know how it goes :)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows Networking

From novice to tech pro — start learning today.