ionuttbara / windows-defender-remover

A tool which is uses to remove Windows Defender in Windows 8.x, Windows 10 (every version) and Windows 11.
Other
3.93k stars 271 forks source link

getting system error 1219 mapping network drive #50

Closed sharicov closed 1 year ago

sharicov commented 1 year ago

After applying remove Windows Defender and connected Windows Security Components. (first option) unable to connect my nas drive (samba 4 running on arm64 linux). Getting following error:

System error 1219 has occurred.

Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed. Disconnect all previous connections to the server or shared resource and try again.

Same network drive works well on other windows clients. Also was working on this specific PC before running windows-defender-remover

Windows version: 22H2

Samba version (on linux server): Samba version 4.13.13-Debian Protocol (with other clients): SMB3_11

ionuttbara commented 1 year ago

try removing 2 registry values from "HKLM\SYSTEM\CurrentControlSet\Control\Lsa" , values named "RestrictReceivingNTLMTraffic" and "RestrictSendingNTLMTraffic" and reboot. Its seems you've applied an old version of the script which adds that values. Someone said in #44 that values broke network shares and provided a solution

sharicov commented 1 year ago

Thanks for quick response, but I'd used latest version of the program, and I don't have those keys in registry. image

ionuttbara commented 1 year ago

so if not, i'll check in my part. but i don't have any network drives to reproduce that, until i do , i'll send hotfixes and more in this issue.

sharicov commented 1 year ago

Thanks a lot, really appreciate your support, you can use a Linux VM as a SAMBA server for the testing.

NudeNULL commented 1 year ago

Hi, having exactly the same issue, can't connect a NAS shared drive

NudeNULL commented 1 year ago

First, I tried to use the latest version and it didn't work at all, using the H option, then I downloaded 12.3.1, which alwasy worked for me in the past, and the defender was disabled, but I think the first attempt of using the latest version broke for me the shared drive connection, will try using your steps to undo the registry changes.

NudeNULL commented 1 year ago

Oh I see, its actually because of the older version, by I always used those and they always worked, this is the first time we cant map a network drive

NudeNULL commented 1 year ago

I found this values and deleting them and restarting did not help

NudeNULL commented 1 year ago

Actually deleting this value helped [HKLM\SYSTEM\CurrentControlSet\Control\Lsa] LmCompatibilityLevel=dword:00000002

sharicov commented 1 year ago

Actually deleting this value helped [HKLM\SYSTEM\CurrentControlSet\Control\Lsa] LmCompatibilityLevel=dword:00000002

Helped indeed, thanks a lot!

ionuttbara commented 1 year ago

the value will not be added in next version of the app.

sharicov commented 1 year ago

Thanks a lot! Much appreciated!

ionuttbara commented 1 year ago

fixed in 12.4.6