0

Windows 7 / Fedora dual-boot Dell Precision M4800 laptop

Under Windows and Linux, I had several network shared folders set up that worked for weeks, but it was annoying that in Windows I had to log into them every time I rebooted (Linux always logged in automatically OK). Googling around I found some ideas (that didn't pan out) - mostly having to do with Windows Credentials Manager. Along the way I apparently broke something - now I can no longer even log into the shares manually from Windows.

What works:

  • I can ping the drives from Windows and Linux.
  • The drives appear in Windows under "Network".
  • When I log out of Windows and boot into Linux, sometimes the LAN connection is hosed (this has always plagued this laptop but infrequently - now quite frequent), but once logged in, I can log into the shares from Linux (still happens automatically)

Clearly I'd like to know how to restore share access in Windows.

mike65535
  • 119
  • 1
  • 1
  • 11

2 Answers2

1

The original issue sounds like you forgot to enable persistence on the network share. This means that every restart it would wipe the credentials and the share from your computer. Next time i would recommend reading this link for additional info on the commands: https://www.howtogeek.com/118452/how-to-map-network-drives-from-the-command-prompt-in-windows/

Now for your current issue first off validate that the account you are trying to log in with is not locked out on windows/the server with the shares (exact location depends on your setup) You can also try a system restore if you keep restore points its very likely this will fix the issue. next delete those old broken shares and try re-mapping them with the commands from the link above. If you still cant access the shares then it is possible you accidentally deleted an important cert that the computer needs which would require you to reinstall that cert

UPDATE 1:

You can use the net user command to do this and here is some additional information on the command is below:

https://www.windows-commandline.com/cmd-net-user-command/

The exact command you need is net user USERNAME just replace username with the name of the user you are checking. that will display all info with the account like if it is disabled or locked out then use net user USERNAME /active:yes if the user is disabled.

you can also right click on the start button (windows 10 or 8) or right click on computer (7 and back) select computer management and go to local users and check the status of the account make sure locked out and disabled are not checked.

Cory M
  • 374
0

OK, after much gnashing... I ran secpol.msc as admin and opened

Local Policies | Security Options | Network Security

I changed the LAN Manager authentication level setting from:

Send LM and NTLM responses

to:

Send NTLMv2 responses only. Refuse LM & NTLM


Added 21-May-2018

To solve the original persistence problem

mike65535
  • 119
  • 1
  • 1
  • 11