Switched to Win11 Microsoft user account (from local account) and have lost all AUTOFS shares

hi.
I have been using autofs shares using a ‘local user’ account on my win 11 pc. Its worked really well but for no good reason i went and logged with my Microsoft account. (dumb) So my shares to my vero no longer work. Im thinking because the username and password have changed??

this was one of the functional lines before
/mnt/tv/tv2024 -fstype=cifs,rw,username=al,password=add,iocharset=utf8,uid=osmc,vers=3.0,gid=osmc ://192.168.1.88/tv2024/

my Microsoft name ‘AL Henson’ and i made a login pin for pc of ‘5023’ so i thought id try something like?
/mnt/tv/tv2024 -fstype=cifs,rw,username=“AL Henson”,password=5023,iocharset=utf8,uid=osmc,vers=3.0,gid=osmc ://192.168.1.88/tv2024/
this didnt work of course.
Im really stuck on what credentials to now use?

Just create a share (give permission) for a local created user. Your windows login user and the user being used for sharing your drive doesn’t have to be identical

1 Like

Hi,

Your personal account data has been overridden in Win11 by using you Microsoft account instead of your local user. But that is no problem.
Just create a new local user, and start using that one in autofs.

How to create a local Win11 user?

  1. Open Settings: Click the Start button, then select the Settings icon.
  2. Navigate to Accounts: In Settings, click on “Accounts”.
  3. Access Other Users: Select “Other users”.
  4. Add a New Account: Click “Add account” next to “Add other user”.
  5. Choose Local Account: Select “I don’t have this person’s sign-in information,” then click “Add a user without a Microsoft account”.
  6. Enter User Information: Provide a username, password, and password hint.
  7. Complete the Process: Click “Next” to create the local account.
    Now you can use this new user and password in your autofs.

Nb. For security reasons it’s best to remove your real user and pincode from your original post. :wink:

2 Likes

My preference is to do it via CMD with

net user [username] [password] /add