System Error 2221 has occurred in Batch Logonscripts
If you run a logon script on Windows 7 you get an error 2221 when the client tries to mount a network drive.
We have also seeing this appear in Outllook.exe with Exchange Server.
- User suddenly can’t connect to network share
- Name Resolution is running
- You can access the Server with \\ipadress\share but not with \\servername\share
- The DNS the client gets are valid and are running
- NSLOOKUP has no errors
- THE DNS are correct
- You did ipconfig /flushdns
- You did a “netsh winsock reset” and Reboot
-
Checked time on DC and clients
Somehow user or applications get credentials for application WHICH may run on the same server as the Network shares Integrated in the Credentials manager. This may be outdated or wrong. Mayb working for a webserver and app that’s runs on the server but not the fileshare SMB.
Here is how to solve it
Type start and search for
ENGLISH:
credentials manager
DEUTSCH:
Anmeldeinformationsverwaltung
Check if the connecten/Credentials that does not work is there and remove it
http://windows.microsoft.com/de-de/windows7/what-is-credential-manager
In German it’s called
Anmeldeinformationsverwaltung