Hot answers tagged share-credentials
You can override stored credentials for shares in Windows via the Control Panel. I believe this should be possible since around Windows 2000, or at least XP. However, the names of these functions are different in all versions. I am using names from Windows 7 in this post. Open your account page in User Accounts and Family Safety. (Click your image in ...
I tried to use what Matrix and Tim both suggested, but that did not work for me. In my case I ended up using net use \\SERVER\share /delete What this did was terminate all connections to the share drive and then when I tried to reconnect it prompted me for my username and password again.
Are you mapping the share to your system, or merely accessing them directly via My Computer? If you map the drive, then you can chose the link to Connect using a different user name and choose the user/password there. The 'net use' command will also allow you to access a share using alternate credentials, but not sure if it will allow you to browse the share ...
On Windows XP, click Start - Settings - Control Panel - User Accounts - Your username - Manage network passwords (on the left hand side). You can add, edit and remove saved credentials here for accessing network resources here.
With VBS scripting, you could use something like $username = InputBox("Type your username", vbOKOnly) $password = InputBox("Type your password", vbOKOnly)
What this did was terminate all connections to the share drive and then when I tried to reconnect it prompted me for my username and password again. relogin, and check again
If you removed or edited the credentials, you are suppose to log out and log back into Windows. Otherwise the cached credentials will still be used.
Take away guest access and actually made a separate account with read only permissions that isn't the built-in guest. When connecting, you will have to use the alternate credentials to connect to the share.
I don't think that there is necessarily a way to do this automatically. That may yield unexpected results each time you browse a folder or try to copy one (or multiple) files. However, you can look to see which network shares you have accessed and remove if needed. I can see this valuable if you need to move away from your computer and do not wish to reboot ...
Fire up a command prompt and do a net use. You will probably see a connection open the share and system you are connected to. Run net use \\server\share /delete to disconnect. You might also see a connection like \\server\ipc$ connected. You will need to close that as well. Once you completely close your connections, you should be re-prompted unless you ...
This problem seems to stem from Windows attempting the initial connection to a networked drive using the its host's domain (the "Current Domain" in the picture) instead of the network server's domain (the "Desired Domain" in the picture). For the following example let us assume the username of a user who is authorized to access the network drive is ...
A blank password is not allowed for this. If you want it to have no password, it can't have a log in as such either (the log in process cannot be having the user type something in. If it is a part of a domain, then you have other options, but that does not seem to be the case here).
I eventually managed to come up with something that worked! You need to automatically authenticate to the share each time the machine is started, which can be done with a batch script. This is what you need in your script: net use \\theremotemachine ThePassword /user:Username Based on info from here and here. Now, I didn't have any luck getting this ...
Windows 8 Location is a little different: Via GUI Control Panel -> All Control Panel Items -> Credential Manager -or- Use the Run Box (Windows Key + R): control /name Microsoft.CredentialManager
Try going to Control Panel -> User Accounts then click on the Advanced tab. There is a button there that reads "Manage Passwords" I believe these may be the credentials you are referring to.
Here is an example of how you would do that in AutoIt. This will prompt for credentials and then persistently map a drive based on those credentials. #include <GuiConstants.au3> #include <EditConstants.au3> $gui = GuiCreate("Authenticate",120,170) GUICtrlCreateLabel("Username:",10,10,50,20) $username = GUICtrlCreateInput("",10,35,100,20) ...
Only top voted, non community-wiki answers of a minimum length are eligible