We have users that just started getting a random error when mapping drives. We have login scripts that use ifmember statements to check membership and to assign resources. It works fine except for certain users get an error 122. This is in a Windows 2003 AD environment and on XP clients.
Here is a sample of the login script:
if not errorlevel 1 goto End
net use k: \\server\share /persisten:no
I can't figure out why this error is just happening on certain users and not system wide. I have tried replacing the ifmember program with an updated version and that did not work. The helpmsg states that error 122
The data area passes to a system call is too small.
Any help would be appreciated with this. I have looked all over the net and many have the issues but no fix has been found.
If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.