Logon failure with ES File Explorer and Windows LAN


Question

With ES File Explorer when I try and access my Windows 7 pc under LAN I'm greeted with the error "Login fail. This may be caused by: plain text passwords are disabled." I am sure the username and password entered when adding the server to LAN page are correct.



Login fail screenshot



How do I enable ESF to use encrypted passwords?



Failing that what do I need to do in Windows to make plain text passwords work? (not really desirable, but I need the ability to copy files to the pc more...)


Answer

Solution



Restart the Server (LanmanServer) service, restart ESF on the Android device, browse to LAN connection, done. Doesn't require plain text passwords or any other registry hack.



Make note of any dependent services that may also need to be restarted:



The following services are dependent on the Server service.
Stopping the Server service will also stop these services.

Media Browser
Computer Browser

Do you want to continue this operation? (Y/N)


On Android, make sure ES File Explorer is closed completely, not just exited (suspended). Samsung's [Close All] seems to be effective (don't remember the Nexus equivalent).



Interactively:




Start >> Run >> Services.msc >> select "Server" and Restart




Command Line:



Sc \\server stop  LanmanServer
Sc \\server start LanmanServer





Research



a.k.a sources a.k.a. other paths which might be fruitful for you if the above isn't.



Suggestion: Enable Plain Text Passwords in Windows




…you could attempt to enable plaintext SMB authentication just to see if it fixes your problem, though. Its unclear to me whether this would work on Windows 7 or not, but you could try setting the DWORD value "EnablePlainTextPassword" to "1" at "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanWorkStation\Parameters". Reboot (or stop and restart the "Workstation" service) and see what that does.



Check out Chris S comment below. It's very likely that the default LMCompatibilityLevel of Windows 7 (which is "3", meaning "Send NTLMv2 only") is causing your problem if your LaCie device is using an older SMB server (like a Samba version pre-3.0.21, for example).




From https://serverfault.com/questions/145666/how-to-enable-old-networking-protocols-in-windows-7/145675#145675



This is what I did last time this irritated me enough to do something. However when I checked that setting now, it's still set.



Suggestion: Reboot Server




…a dirty workaround: reboot your Windows file server. All your Android devices will immediately be able to connect again... for a time being. For me it usually lasts 1-2 days. Then SOMETHING happens - obviously on the Windows side, and it's again "login fails" from all Androids with ES, yet Windows machines keep being able to access all the shares.




From http://www.tomshardware.com/answers/id-2165494/connect-win7-share-android-fine-windows-machines.html



Suggestion: Re-enable SMB Protocol




I had the same problem and fixed it by reenabling the SMB protocol as described here:
http://support.microsoft.com/kb/2696547?



To enable or disable SMB protocols on an SMB Server that is runningWindows 7, Windows Server 2008 R2, Windows Vista, or Windows Server 2008, use Windows PowerShell or Registry Editor. […] paste the following cmdlet into the powershell:



Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters" SMB2 -Type DWORD -Value 1 -Force



and hit enter. Reboot.




From http://www.tomshardware.com/answers/id-2165494/connect-win7-share-android-fine-windows-machines.html



Suggestion: Enable Server File Sharing Mode




WIN7 machines when left on for a while, tend to have their shares just "disappear". There are registry setting that can fix this PC to PC problem […] in the release of WIN7. […] They changed the numbers in two registry settings, and that caused your PC-to-PC shares (in your home network which has no server) to disappear. […] By changing the registry BACK to normal settings, you essentially tell it to act like all the other versions of Windows did. The recommended settings for a machine that has shares in use, is



HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\LargeSystemCache=1
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\Size=3




From http://www.tomshardware.com/answers/id-1938243/access-win-android-phone-wifi.html



An answer on Super User to Connect from Android (ES File Explorer) to Windows 7 Share suggests the same.


Topics


2D Engines   3D Engines   9-Patch   Action Bars   Activities   ADB   Advertisements   Analytics   Animations   ANR   AOP   API   APK   APT   Architecture   Audio   Autocomplete   Background Processing   Backward Compatibility   Badges   Bar Codes   Benchmarking   Bitmaps   Bluetooth   Blur Effects   Bread Crumbs   BRMS   Browser Extensions   Build Systems   Bundles   Buttons   Caching   Camera   Canvas   Cards   Carousels   Changelog   Checkboxes   Cloud Storages   Color Analysis   Color Pickers   Colors   Comet/Push   Compass Sensors   Conferences   Content Providers   Continuous Integration   Crash Reports   Credit Cards   Credits   CSV   Curl/Flip   Data Binding   Data Generators   Data Structures   Database   Database Browsers   Date &   Debugging   Decompilers   Deep Links   Dependency Injections   Design   Design Patterns   Dex   Dialogs   Distributed Computing   Distribution Platforms   Download Managers   Drawables   Emoji   Emulators   EPUB   Equalizers &   Event Buses   Exception Handling   Face Recognition   Feedback &   File System   File/Directory   Fingerprint   Floating Action   Fonts   Forms   Fragments   FRP   FSM   Functional Programming   Gamepads   Games   Geocaching   Gestures   GIF   Glow Pad   Gradle Plugins   Graphics   Grid Views   Highlighting   HTML   HTTP Mocking   Icons   IDE   IDE Plugins   Image Croppers   Image Loaders   Image Pickers   Image Processing   Image Views   Instrumentation   Intents   Job Schedulers   JSON   Keyboard   Kotlin   Layouts   Library Demos   List View   List Views   Localization   Location   Lock Patterns   Logcat   Logging   Mails   Maps   Markdown   Mathematics   Maven Plugins   MBaaS   Media   Menus   Messaging   MIME   Mobile Web   Native Image   Navigation   NDK   Networking   NFC   NoSQL   Number Pickers   OAuth   Object Mocking   OCR Engines   OpenGL   ORM   Other Pickers   Parallax List   Parcelables   Particle Systems   Password Inputs   PDF   Permissions   Physics Engines   Platforms   Plugin Frameworks   Preferences   Progress Indicators   ProGuard   Properties   Protocol Buffer   Pull To   Purchases   Push/Pull   QR Codes   Quick Return   Radio Buttons   Range Bars   Ratings   Recycler Views   Resources   REST   Ripple Effects   RSS   Screenshots   Scripting   Scroll Views   SDK   Search Inputs   Security   Sensors   Services   Showcase Views   Signatures   Sliding Panels   Snackbars   SOAP   Social Networks   Spannable   Spinners   Splash Screens   SSH   Static Analysis   Status Bars   Styling   SVG   System   Tags   Task Managers   TDD &   Template Engines   Testing   Testing Tools   Text Formatting   Text Views   Text Watchers   Text-to   Toasts   Toolkits For   Tools   Tooltips   Trainings   TV   Twitter   Updaters   USB   User Stories   Utils   Validation   Video   View Adapters   View Pagers   Views   Watch Face   Wearable Data   Wearables   Weather   Web Tools   Web Views   WebRTC   WebSockets   Wheel Widgets   Wi-Fi   Widgets   Windows   Wizards   XML   XMPP   YAML   ZIP Codes