I just set up a new Windows 7 machine and I am having accessing files on my network. I had no problem accessing the network shares and browsing through the files, but when I try to actually open an executable it gives me an error about it not being accessible because I don't have permission. Usually when I connect to my network shares for the first time it asks for a username and password, but it didn't this time. I assume this is the problem here. How can I supply my credentials to the network share even though it doesn't ask for them?

link|improve this question
feedback

2 Answers

up vote 2 down vote accepted

You should be able to map it with the net command via a command prompt.

net use h: \\[Server Name]\[Share Name] /user:[Logon Server]\[User Name] [Password] /persistent:yes

Example:

net use h: \\server\share /user:username password

or if you don't want to map the drive letter but still provide the credentials.

net use \\server\share /user:username password

Note: Server can also be the IP address of the server.

link|improve this answer
I dont want to map the share as a drive – Brian Jan 25 at 5:32
You can use net use without putting in a drive letter. Just omit the drive letter and add the username and password. – opsin Jan 25 at 5:41
feedback

Your username/password used to connect to these shares are also stored under the Credential Manager.

You can find it in the Control Panel.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.