Jump to content
comfox

Prompted for Username and Password

9 posts in this topic Last Reply

Recommended Posts

From every computer in my home (approx 8) I am prompted for a username and password whenever I try to connect to the shares.

 

All computers are Windows 10 (various builds, but some at the newest) and machines are both WiFi and Physcially connected to the server.  

 

Typing in the username \ without a password works but this means my script to map the drives doesn't work.

 

How can I fix this?  I have tried running the "new permissions" script from unRaid but it never completes.

Share this post


Link to post

Peruse this  

 

@Frank1940 is the real expert here

Share this post


Link to post
4 hours ago, comfox said:

From every computer in my home (approx 8) I am prompted for a username and password whenever I try to connect to the shares.

 

All computers are Windows 10 (various builds, but some at the newest) and machines are both WiFi and Physcially connected to the server.  

 

Typing in the username \ without a password works but this means my script to map the drives doesn't work.

 

How can I fix this?  I have tried running the "new permissions" script from unRaid but it never completes.

One thing to try is open the 'Credential Manager'.  (Just start typing that into the search box at the left of the Taskbar and it will pop up.)   Now check to see if you have any credentials in the 'Windows Credentials' section.  Delete them and add back only when necessary.  (It might be a good practice to make sure if you do have to reenter any password that you uncheck the box that says to 'remember them'.)

 

The whole issue of passwords has been around for a long time.  You might want to read this post from @limetech about some of his findings.  Be sure to read the next several posts as they point out other gotcha's!

 

    https://forums.unraid.net/topic/25064-user-share-problem/?tab=comments#comment-228392

 

There may also be something that MS has changed (again) in one of their recent updates that was intended to improve security that is causing this problem.  To date, I haven't seen anything describing what they did and if there is a way to turn it off...

 

Share this post


Link to post

One more thing to try:

 

       

 

EDIT:  I had forgotten about MS disallowing access to unsecured shares with SMB2 (allowed when SMB1 is enabled)...

Edited by Frank1940
ADDED: with SMB2 (allowed when SMB1 is enabled)

Share this post


Link to post

With password issues it seems to work for me to type this in windows cmd window:

net use * /delete

 

One way to make life easier is to make sure you have same username and password set on Unraid server as you have when logging into your win10 PC's.  For example if you have username/password  Smurf/imblue  then also create a user on Unraid server named Smurf and password imblue.

Share this post


Link to post

Thanks, I will give some of these a try.

 

I have cleared the credential manager so that isn't the issue.  And since this issue persists on every machine I can only think that it is an inherent bug in Windows or an unRAID config issue.

Share this post


Link to post
16 hours ago, Frank1940 said:

Be sure to reread this post:

 

Tried this, didn't fix it :(

Edited by comfox

Share this post


Link to post

This is strictly a shot-in-the-dark approach.  On one of the computers, when it asks for a username and password, enter just the       \         and check the 'remember this' box.    You might also try to add a credential to the credential manager.  

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.