the reg file would probably fix the problem but i managed to solve it before you posted it.
i fiex it using local group policy editor
Network access: Do not allow anonymous enumeration of SAM accounts and shares -> this was enabled for some reason.Disabling it fixed the problem.
in case somebody else encounteres this problem.
didn't touch group policy so i don't know what exactly turned this setting on