Системная ошибка 2221

Hi,

let us assume we have an Network Share on Server myserver.mydomain.org. Server has IP Address 10.254.10.10.

accessing a share via IP Address works

D:> net use * \10.254.10.10myshare$ 
Drive Y: is now connected to \10.254.10.10myshare$.

The command completed successfully.

But accssing the share via Name or FDQN returns an error 2221

D:> net use * \myserver.mydomain.orgmyshare$ 
System error 2221. The user name could not be found
The network connection could not be found

This could occurred when Windows uses credentials from the Windows Vault/Credential store which are obsolete.

List all saved credentials

D:> cmdkey /list

Currently stored credentials:

    Target: Domain:myserver.mydomain.org
    Type: Domain Password
    User: test

Solution: Delete the entry and try again

D:> cmdkey /delete:myserver.mydomain.org
CMDKEY: Credential deleted successfully.

Michael

Advertisment to support michlstechblog.info

My Knowledgebase for things about Linux, Windows, VMware, Electronic and so on…

This website uses cookies to improve your experience and to serv personalized advertising by google adsense. By using this website, you consent to the use of cookies for personalized content and advertising. For more information about cookies, please see our Privacy Policy, but you can opt-out if you wish. Accept Reject Read More

  • Remove From My Forums
  • Question

  • Hello,

    we are migrating to Windows 7 and have some VPN Users. Now we are testing the VPN Scenario in Windows 7. We have recognized that, we cant connect network drives, when we are connected through VPN. We get: system error 2221 the username could not be found

    I have done some testing and figure out:

    — ping ip works

    — ping servername works

    — ping domainname works

    So I assume its not an Name resoultion issue. If I map the Networkdrive with «\serversharename» I get immediately error 2221 as mentioned above, but if I try to map \IPsharename» I get asked for username and password.

    May somebody have a clue?

    My other question is, if we possibly could map drive via «\IPsharename», how we could automate this, that the user dont must enter credentials. This has been working with Windows XP with no issues.

    Thanks

Answers

  • Sometimes the issue has to deal with the stored credentials on your machine. Open
    Control Panel and navigate to Credential Manager then remove the credentials relating to VPN/network drives.

    Restart your computer, it will ask you for your credentials the first time. See if it asks again.


    Don’t forget to mark the post that solved your issue as "Answered." By marking the Answer you are enabling users with similar issues to find what helped you. Lewis Renwick — IT Professional

    • Marked as answer by

      Tuesday, August 5, 2014 6:33 AM

  • Remove From My Forums
  • Вопрос

  • Здравствуйте!

    MS Server 2012R2.

    В событиях ошибка: Во время очистки узла учетная запись локального пользователя, управляемая кластером, не была удалена. Код ошибка «2221». Чтобы удалить учетную запись, откройте диспетчер локальных пользователей и групп…

    До этого удалил кластер с помощью встроенных функций «диспетчер отказоустойчивости кластеров». Установлен был под админской доменной учеткой, которая находится в группе domain admins.

    Как до конца удалить кластер?

    Пытаюсь заново создать новый кластер появляется ошибка, что не может выполнить очистку. Вручную пробовал очистить (Clear-ClusterNode) не помогло!

Ответы

  • Вопрос решился! Во всем виноват антивирус! Спасибо за помощь.

    • Помечено в качестве ответа

      29 июля 2016 г. 8:49

NET HELPMSG 2221: как сбросить права администратора

Вы найдете несколько аварийные отчеты, подтверждающие код ошибки NET HELPMSG 2221. Это произошло, когда ваша учетная запись больше не является администратором. По словам пользователей, их учетные записи автоматически лишались прав администратора.

Если вы также столкнулись с этой бедой, мы предполагаем вам применить решения нашего совета и исправить ошибку NET HELPMSG 2221. Давайте перейдем прямо к ним.

Что такое ошибка NET HELPMSG 2221?

Если вы не являетесь администратором своего ПК, вы не можете использовать программы с повышенными правами. Например, вы можете использовать командную строку Windows PowerShell или другую программу, требующую права администратора на предстоящем ПК.

После просмотра нескольких популярных приложений, которые обнаруживают доступ к загрузке gpedit.msc через диалоговое окно «Выполнить», где Windows не может найти сообщение «gpedit.msc».

Более того, запуск lusrmgr.msc показал сообщение об ограниченных возможностях. Свяжитесь с вашим администратором для получения подробной информации.

Попытка использовать компьютер с повышенными правами в CMD для получения денег к сообщению. Пользователь не может быть найден. Дополнительная помощь по вводу NET HELPMSG 2221.

Как исправить ошибку NET HELPMSG 2221?

1. Восстановить права администратора

  1. Нажмите клавиши Выигрыш + I, чтобы открыть меню настройки.
  2. Нажмите «Восстановление».
  3. Нажмите «Перезагрузить сейчас» для опции «Расширенный запуск».
  4. В окне «Расширенный запуск» выберите «Устранение неполадок».
  5. Затем выберите Дополнительные параметры.
  6. Выбирать Командная строка.
  7. Введенную ниже команду в CMD и нажмите Enter . regedit
  8. Выделите ветку HKEY_LOCAL_MACHINE.
  9. Нажмите «файл» и выберите «Загрузить куст».
  10. Перейдите в указанное ниже место. system root drive > Windows > System32 > config
  11. Отображаемый файл SAM.
  12. Открыть файл SAM.
  13. Дайте имя улью.
  14. Нажмите ОК.
  15. Перейдите в указанное ниже место в реестре. HKEY_LOCAL_MACHINEREM_SAMSAMDomainsAccountsUsers00001F4
  16. Справа общественности запись F.
  17. Выделите обнаружение 000001F4 поместите курсор в строку 38 справа от 11.
  18. Нажмите обнаружить Удалить и введите 10.
  19. Нажмите ОК.
  20. Закрыть редактор реестра и командную картинку.
  21. Перезагрузите компьютер.

Приведенные выше шаги сбивают с толку, но при правильном выполнении они помогут вам исправить ошибку NET HELPMSG 2221.

2. Включить панель управления

  1. Нажмите обнаружить Выигрыш, чтобы открыть меню Пуск.
  2. Открыть Панель управления.
  3. Выбирать учетные записи пользователей.
  4. Нажмите «Управление другой учетной записью.
  5. Выбирать «Добавить нового пользователя» в ПК.
  6. Выберите вариант Добавить учетную запись.
  7. Заполнитель все данные, как просили.
  8. Нажмите кнопку «Готово».
  9. Откройте меню Пуск, наблюдения Выигрыш обнаружить.
  10. Открыть командная оболочка.
  11. Введенные ниже команды и нажмите Enter для загрузки в безопасный протокол. shutdown /r /o
  12. В безопасный протокол меню организаций «Свобода», Выигрыш.
  13. Открыть Панель управления.
  14. Выбирать учетные записи пользователей.
  15. Нажмите «Управление другой учетной записью.
  16. У вас будет два аккаунта.
  17. Выбирать новая учетная запись, что вы реагируете.
  18. Нажмите, чтобы увидеть «Изменить тип учетной записи.
  19. Выбирать Администратор.
  20. Нажмите кнопку «Изменить тип учетной записи».
  21. Перезагрузите компьютер.

Это еще один способ сброса или восстановления учетной записи администратора. Это поможет исправить ошибку NET HELPMSG 2221.

3. Замена системы восстановления

  1. Нажмите обнаружить Выигрыш, чтобы открыть меню Пуск.
  2. Открыть след Создать точку восстановления.
  3. Нажмите кнопку «Восстановление системы».
  4. Нажмите кнопку «Далее».
  5. Выбирать точка восстановления.
  6. Нажмите «Далее».
  7. Нажмите кнопку Готово.
  8. Это запустите процесс восстановления системы наступающий ПК.

В случае обнаружения вышеприведенных решений не было принято решение об ошибке NET HELPMSG 2221, следует восстановление системы восстановления.

Когда вы выполните восстановление системы, это поможет вам вернуть компьютер в состояние, когда все обычно работает.

Быстро исправьте ошибки Windows 11, 10, 8 и 7 с помощью Outbyte PC Repair

Возьмите быка за рога: определите и устраните проблемы с производительностью, которые могут повлиять на ваш компьютер.

Outbyte PC Repair — это комплексный инструмент для ремонта компьютеров, предназначенный для решения ряда различных системных проблем, очистки диска, оптимизации производительности и повышения конфиденциальности и безопасности.

  • Совместимость с: Windows 11, 10, 8 и 7
  • Пробная версия: бесплатная пробная версия по категориям в течение как минимум 2 дней*
  • Полная версия: от $29.95 (за подписку на 3 месяца)

*Бесплатная пробная версия позволяет исправить все обнаруженные элементы в каждой категории

Не стесняйтесь сообщать нам в нижеприведенных случаях, какие из приведенных выше решений помогли устранить ошибку NET HELPMSG 2221.

  1. System 2221 Error Mapping Drive

    If I Map a drive from Windows XP on a domain, as in:
    Net Use Q: \Nt4SrvNameShareName
    I get a System error 2221. The user name could not be found.

    But if I do the same thing with an IP address, such as:
    Net Use Q: \192.168.52.11ShareName
    It is successfull.

    If I Ping Nt4SrvName it resolves to the correct I/P Address.

    What is going on here?


  2. RE: System 2221 Error Mapping Drive

    I should add that the NT-Server is not in the 2003 domain, but DNS contains
    both Forward and Reverse Lookup records for the server as below:

    Forward Lookup Zones
    ophl.ca
    NT4SRVNAME Host(A) 192.168.52.11

    Reverse Lookup Zones
    192.168.52.x Subnet
    192.168.52.11 OPSWPGNT1.ophl.ca.
    192.168.52.11 opswpgnt1.

    Is there something wrong here?


  3. Re: System 2221 Error Mapping Drive

    In news:3B04CF5B-9898-4EBF-B1F3-613F7E0E9141@microsoft.com,
    Heinz <Heinz@discussions.microsoft.com> commented
    Then Kevin replied below:
    > If I Map a drive from Windows XP on a domain, as in:
    > Net Use Q: \Nt4SrvNameShareName
    > I get a System error 2221. The user name could not be
    > found.
    >
    > But if I do the same thing with an IP address, such as:
    > Net Use Q: \192.168.52.11ShareName
    > It is successfull.
    >
    > If I Ping Nt4SrvName it resolves to the correct I/P
    > Address.
    >
    > What is going on here?

    Does the mapping work if you use FQDN in the mapping
    \OPSWPGNT1.ophl.casharename ?


    Best regards,
    Kevin D4 Dad Goodknecht Sr. [MVP]
    Hope This Helps
    ===================================
    When responding to posts, please «Reply to Group»
    via your newsreader so that others may learn and
    benefit from your issue, to respond directly to
    me remove the nospam. from my email address.
    ===================================
    http://www.lonestaramerica.com/
    ===================================
    Use Outlook Express?… Get OE_Quotefix:
    It will strip signature out and more
    http://home.in.tum.de/~jain/software/oe-quotefix/
    ===================================
    Keep a back up of your OE settings and folders
    with OEBackup:
    http://www.oehelp.com/OEBackup/Default.aspx
    ===================================


  4. Re: System 2221 Error Mapping Drive

    «Kevin D. Goodknecht Sr. [MVP]» wrote:

    > Does the mapping work if you use FQDN in the mapping
    > \OPSWPGNT1.ophl.casharename ?

    No, then I get: System error 67 has occurred.
    The network name cannot be found.
    See results below:

    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.

    C:op_new>net use q: \opswpgnt1mntcprg
    System error 2221 has occurred.

    The user name could not be found.

    C:op_new>net use q: \opswpgnt1.ophl.camntcprg
    System error 67 has occurred.

    The network name cannot be found.

    C:op_new>ping opswpgnt1

    Pinging opswpgnt1.ophl.ca [192.168.52.11] with 32 bytes of data:

    Reply from 192.168.52.11: bytes=32 time<1ms TTL=128
    Reply from 192.168.52.11: bytes=32 time<1ms TTL=128
    Reply from 192.168.52.11: bytes=32 time<1ms TTL=128
    Reply from 192.168.52.11: bytes=32 time<1ms TTL=128

    Ping statistics for 192.168.52.11:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
    Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms

    C:op_new>nslookup opswpgnt1
    Server: wpgbk1.ophl.ca
    Address: 192.168.50.25

    Name: opswpgnt1.ophl.ca
    Address: 192.168.52.11

    C:op_new>net use q: \192.168.52.11mntcprg
    The command completed successfully.


  5. I am having exactly the same issue here, works fine with the domain admin account though? Any ideas anyone?


  6. I also have this message

    While logging into the domain with my user. However, logging into another computer works fine. Domain admin also works. Suggestions?


  7. Re: System 2221 Error Mapping Drive

    I ran into precisely the same trouble trying to map a drive located on a local workgroup (thepauls) while connected to a Windows 2003 domain over a VPN connection.

    I finally got the local drive mapping to work by adding a username and password to the use net command as such:

    Code:

    use net e: \pirsig"DaveE's Documents" password /u:thepaulsDaveE

    where password is the user’s password and thepaulsDaveE is the local workgroup and username.

    The username and password I’m using above are the same as I use to login to the XP machine I want to map the drive on (pirsig).

    What’s so strange about this is I have two XP machines on the local workgroup (thepauls) and I can map drives on one of them (chesterton) without all this trouble but to map drives on the other listed here (pirsig), I have to go through all this work. Anyone got an idea of what’s different between the two?

    These two web pages provide more detail and helped me:

    • http://www.howtonetworking.com/VPN/b…govervpne1.htm
    • http://www.microsoft.com/resources/d….mspx?mfr=true


  8. Re: System 2221 Error Mapping Drive

    Hello all,

    I found a true solution to this problem (not a workaround). Hopefully it will be relevant for others experiencing this frustrating, nearly inexplicable problem. (I know the thread is old.)

    I had the following symptoms:

    1. On ONE workstation only, the user logged in and received System Error 2221 while a logon script tried to map a drive using the remote system name and share. This problem did NOT happen at other workstations when used with the same user account and logon script.

    2. If an administrator account was used at the «faulty» workstation, the share would map perfectly.

    3. Alternatively providing an IP address and share name in place of the remote system name and share name successfully mapped the drive at the «faulty» workstation.

    The answer… tada…

    I was unaware of an obsolete set of credentials saved in the STORED USER NAMES AND PASSWORDS applet. It was overriding the expected login script (default) credentials. To access this applet and delete the offending credentials, go to Control Panel > User Accounts > Advanced (tab) > Manage Passwords (button).

    In all fairness to previous posts, this was a really tough problem to find because the errors were very subtle, but I did get the feeling the credentials were being overridden

    somewhere.

    Enjoy!
    Racingmustang


  9. Re: System 2221 Error Mapping Drive

    I have the same problem, but racingmustang’s solution did not apply. I’d like to offer a variation of DaveE’s solution.

    I found I could map a drive with the /user keyword in the net use command, specifying the same domainuserid that I had used to log on to this machine, but without specifying a password. Thus the following:

    net use drive: \servernameshare /user:%userdomain%%username%

    Building on that, I wrote a little batch script to un- and re-map all of my mapped drives using the logon credentials. (Your mileage may vary: you may not need to un-map anything, or you may need some of your drives mapped with different credentials. Caveat emptor.)

    for /f «tokens=2,3 skip=6» %%i in (‘net use’) do call :check %%i %%j

    goto :EOF

    :check
    set __drive=%1
    set __share=%2
    if «%__drive% %__share%» NEQ «Windows Network» (

    if «%__drive% %__share%» NEQ «command completed» (

    net use %__drive% /d
    net use %__drive% %__share% /user:%userdomain%%username%

    )

    )

    Good luck!


  10. Re: System 2221 Error Mapping Drive

    Quote Originally Posted by racingmustang
    View Post

    Hello all,

    I found a true solution to this problem (not a workaround). Hopefully it will be relevant for others experiencing this frustrating, nearly inexplicable problem. (I know the thread is old.)

    I had the following symptoms:

    1. On ONE workstation only, the user logged in and received System Error 2221 while a logon script tried to map a drive using the remote system name and share. This problem did NOT happen at other workstations when used with the same user account and logon script.

    2. If an administrator account was used at the «faulty» workstation, the share would map perfectly.

    3. Alternatively providing an IP address and share name in place of the remote system name and share name successfully mapped the drive at the «faulty» workstation.

    The answer… tada…

    I was unaware of an obsolete set of credentials saved in the STORED USER NAMES AND PASSWORDS applet. It was overriding the expected login script (default) credentials. To access this applet and delete the offending credentials, go to Control Panel > User Accounts > Advanced (tab) > Manage Passwords (button).

    In all fairness to previous posts, this was a really tough problem to find because the errors were very subtle, but I did get the feeling the credentials were being overridden

    somewhere.

    Enjoy!
    Racingmustang

    Thanks so much! this really helped solve a big issue.


Понравилась статья? Поделить с друзьями:
  • Системная ошибка 21 10 hp 800
  • Системная ошибка e200 00000074 00000000
  • Системная ошибка 2 не удается найти указанный файл
  • Системная ошибка e1050000000080070003
  • Системная ошибка 2 solidworks