The following error occurred attempting to create the user

On a windows 7 pro 32bit workstation. (join to a domain) as admin try to add a new user to local machine.
  • Remove From My Forums
  • Question

  • On a windows 7 pro 32bit workstation. (join to a domain) as admin try to add a new user to local machine.

    The following error appears:

    local users and groups:

    The following error occurred while attempting to create the user %username% on Computer %computername%

    An error with no description has occurred.

    Tried to do it several methods on adding a user keep getting this error.

    Also created passwords with required requirements. Upper case lower case special character numbers 6 and 14 in length

    event tried creating via cmd prompt «net user /add…..» with admin permission.

    any ideas

Answers

  • Hi,

    I would like to confirm the following questions:

    1.    
    How did you try to add a user to local machine? Please list the detailed steps.

    2.    
    Do you have the same issue on all the Windows 7 machines?

    Based on the current situation, please try to disable User Account Controller (UAC) to check the result. For the detailed steps, please refer to the
    following Microsoft KB article:

    Guided Help: Adjust User Account Control settings in Windows 7

    http://support.microsoft.com/kb/975787

    In addition, please also submit a new question to Windows 7 forum for further assistance which is the best resource for Windows 7.

    Windows 7 IT Pro

    http://social.technet.microsoft.com/Forums/en/category/w7itpro

    Regards,


    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

    • Marked as answer by

      Thursday, December 8, 2011 5:18 AM

2 Replies

  • Author Gary Williams

  • Author Saurabh Suman

lock

This topic has been locked by an administrator and is no longer open for commenting.

To continue this discussion, please ask a new question.

Read these next…

  • Curated Can't communicate with scanner

    Can’t communicate with scanner

    Hardware

    Hello everyone,I have a client that uses Kodak ScanMate i940 scanners at their desks. They recently got a new computer that we prepped and put on their domain. This new computer is recognizing the scanner but it is unusable with the error «can’t communica…

  • Curated Different MAC address, same computer name - multiple DHCP leases

    Different MAC address, same computer name — multiple DHCP leases

    Windows

    I’m noticing a lot more now that our Wifi DHCP scopes are filled by the same computer name, but with different mac addresses. I know there’s a feature in Windows 10 called Random hardware addresses, but that setting is off. Is there anything else that cou…

  • Curated Snap! -- No-Password Logins, Solar Powered Water Filter, Glitch in the Matrix?

    Snap! — No-Password Logins, Solar Powered Water Filter, Glitch in the Matrix?

    Spiceworks Originals

    Your daily dose of tech news, in brief.

    Welcome to the Snap!

    Flashback: February 9, 1996: Introduction of the Bandai Pippin (Read more HERE.)

    Bonus Flashback: February 9, 1990: Galileo Probe does a Venus Flyby (Read more HERE.)

    You nee…

  • Curated Roku TV being used as Wallboard Issues

    Roku TV being used as Wallboard Issues

    Hardware

    Helping someone out at their shop. They have 4 large Roku screens and 2 laptops with dual HDMI ports for video. They are viewing static website business dashboards and PowerPoint. At first all 4 screens connected to wireless, worked for a while but with a…

  • Curated Charging for SSO

    Charging for SSO

    Security

    We have SSO set up with around 5 or 6 solution providers via our M365. Not one of them charges for this, they just sent us the documentation.I identified another online service in use by one of our departments which would benefit from using SSO for staff …

Hello Everyone,

As a CRM Administrator for On-Premise, we all have come across this error once : “You are attempting to create a user with a domain logon that is already used by another user…

Generally, this error occurs when we are trying to create a user which already exists in the Organization i.e. in Backend, adding user with same AD-SID (Security IDentifier) under MSCRM_Config table.

There is a very nice blog which explains in detail about the different scenarios of this error and their solution: https://celedonpartners.com/blog/reconnect-active-directory-accounts-dynamics-crm/

However, I came across another different rare scenario which I would discuss here. I have a D365 multi-organization environment setup with a list of existing CRM users. For one of the Org-B, we added the user and hours later for some unspecified reasons (bad Integration data affecting multiple core tables :/ ) we had to do a quick DB Restore. After the DB restore, neither that recently added User was not able to login nor I wasn’t able to add the same user again; faced the similar error –  You are attempting to create a user with a domain logon that is already used by another user…

Cause:

So when we added the user to this Org-B, a new SystemUser record was created under the OrgB_MSCRM DB. And a related record was created for SystemUserOrganizations under MSCRM_Config DB referencing to the Organization-B and the UserID based on the AD-SID.

But after the Organization-B was restored, the new user record for SystemUser under OrgB_MSCRM went missing but the related record with Org-B and User-ID still exists in the MSCRM_Config DB. Due to this reference, I couldn’t add the same user again in Org-B and kept giving me the below error:

When the user try to logon to the CRM, the following error prompted:

Error Logging to CRM Org-B

Solution:

The only easier way
I could think of was deleting that additional reference from the SystemUserOrganizations under MSCRM_Config DB. Please note this approach is not recommended and highly
unsupported
and always keep a backup of the DB’s and the encryption keys
before performing any such action with the DB directly.

With few relational
queries I figured out the User-ID and the reference record which I needed to
delete for Org-B. Under MSCRM_Config DB, I ran the below query one last time to
confirm I was pointing to the correct record:

Select* from SystemUser

where Id = 'A6797AA8-4857-E911-9C2D-00155D00AB0C'

Select* from SystemUserAuthentication

where UserId = 'A6797AA8-4857-E911-9C2D-00155D00AB0C'

Select * from SystemUserOrganizations

where UserId = 'A6797AA8-4857-E911-9C2D-00155D00AB0C'

--and OrganizationId = '386CEC94-7CD6-E811-9C2B-00155D00AB0C'

After I ran the select query , you can notice the additional reference record to Org-B in the results.

I finally ran the
query below and deleted the reference record under MSCRM_Config DB.

/*

Delete SystemUserOrganizations

where UserId = 'A6797AA8-4857-E911-9C2D-00155D00AB0C'

and OrganizationId = '386CEC94-7CD6-E811-9C2B-00155D00AB0C'

*/

Everything went well and I was able to create the user record again in Org-B.

Hopefully this will
be helpful to someone who got caught in a rare situation like this.

Thanks! 🙂

0 / 0 / 0

Регистрация: 17.02.2021

Сообщений: 8

1

17.02.2021, 00:57. Показов 1645. Ответов 9


Доброго времени суток!
Произошла большая беда (крайне не понятная)
Прикупив 2Тб и новый ССД, снес винду и установил новую харды
Винда лицензия, установил, дрова и тд поставил.
И во время установки Maya 2018 (пробовал разные года и сборки, не важно) вылезла ошибка из заголовка
» an error has occurred while attempting to create the directory C/program files(x86)/какой то путь»
Никакие манипуляции с железом, софтом, Защитником винды, кабелями, путями к папкам не помогают!
Поменять привелегии доступа к папкам на диске C (cwindows, cpagefilesys и другим системным файлам/папкам) , у меня не получилось
Пожалуйста, проше помощи, 3 день работа стоит из за этого конфуза

__________________
Помощь в написании контрольных, курсовых и дипломных работ, диссертаций здесь



0



Дно пробито

3838 / 2549 / 362

Регистрация: 07.10.2020

Сообщений: 18,085

17.02.2021, 07:50

2

Ну для начала ВАК отключить и запускать от имени админа . А сделать эту папку расширенной просто — нужно просто добавить разрешение выполнение всех пакетов приложений , а вот аудита папки ProgrammFiles86 менять не рекомендуеться , как вариант попробуйте добавить папку в которую это приложение себя устанавливает и добавить учётку админа и юзера на полное изменение её , через правую кнопку .

А место установки что нельзя менять для этой программы ?



0



0 / 0 / 0

Регистрация: 17.02.2021

Сообщений: 8

17.02.2021, 08:35

 [ТС]

3

Всегда запускал от имени админа,
ВАК (вы имеете ввиду контроль учетных записей — UAC?) полностью отключен, не важно какую папку я выбираю, там есть 3 программы, которые ставятся именно в диск С. Поменять этого к сожалению нельзя.
Попробовал ваш метод, не получилось. Все равно программа пытается создать свою папку и выдает ошибку



0



Дно пробито

3838 / 2549 / 362

Регистрация: 07.10.2020

Сообщений: 18,085

17.02.2021, 09:32

4

Попробуйте другую версию ( т.к. установщик ) .



0



0 / 0 / 0

Регистрация: 17.02.2021

Сообщений: 8

17.02.2021, 09:35

 [ТС]

5

Попробовал, версии 2018.3, 2018.4, 2018.5
Другой год к сожалению по работе не подходит
Ставил и пиратку и лицензию, одно и тоже



0



Дно пробито

3838 / 2549 / 362

Регистрация: 07.10.2020

Сообщений: 18,085

17.02.2021, 09:43

6

Попробуй в режиме суперадмина установить .



0



0 / 0 / 0

Регистрация: 17.02.2021

Сообщений: 8

17.02.2021, 12:11

 [ТС]

7

Попробовал, тоже самое. Я вечером комп из окна выкину (шутка)



0



Дно пробито

3838 / 2549 / 362

Регистрация: 07.10.2020

Сообщений: 18,085

17.02.2021, 12:16

8

Я б ещё на вирусы проверился — иногда это признак .



0



Модератор

Эксперт HardwareЭксперт Windows

15151 / 7739 / 726

Регистрация: 03.01.2012

Сообщений: 31,809

17.02.2021, 12:33

9

LELOUSHO, Может, антивирь или защитник блокируют?

Решение
Сначала проверьте, не защищает ли Защитник Windows создание папки. Откройте Центр безопасности Защитника Windows и перейдите к следующему: 1.Выберите «Virus & reat Protection».
2.Нажмите Настройки защиты от вирусов и угроз.
3.Прокрутите вниз до Доступ к контролируемой папке и временно переключитесь в положение ВЫКЛ.
4.Повторите установку «.



0



Робот сгибальщик

832 / 457 / 95

Регистрация: 29.07.2020

Сообщений: 2,354

Записей в блоге: 7

17.02.2021, 15:05

10

Если у тебя over999 денег и ты купил официальную подписку на Maya 2018, то милости просим в support Autodesk. Там точно помогут.
А если ты качаешь с торрентов кривые сборки, то проблема в сборке. Автор сборки недопилил права на запись в системные каталоги.
Кстати, какая у тебя система и её разрядность?



0



Понравилась статья? Поделить с друзьями:
  • The following error needs to be corrected before you can login
  • The following error has occurred sql server
  • The following error has occurred generic game error
  • The following error has occurred error while enabling windows feature netfx3
  • The error has been corrected