Ошибка attempted to perform an unauthorized operation

  • Remove From My Forums

none

Произошла ошибка при попытке доступа к реестру на сервере

  • Вопрос

  • Добрый день. При заходе в ECP — > Серверы — и выборе сервера пограничного транспорта выскакивает ошибка:

    предупреждение

    Произошла ошибка при попытке доступа к реестру на сервере «mail.xxx.ru». Ошибка: «attempted to perform an unauthorized
    operation«.

    Сделал Get-ExchangeServer -status

    [PS] C:Windowssystem32>Get-ExchangeServer -status

    Name                Site                 ServerRole  Edition     AdminDisplayVersion
    —-                —-                 ———-  ——-     ——————-
    EXCHANGE           xxx.ru/Con… Mailbox,… Standard… Version 15.1 (Bu…
    WARNING: An error occurred while accessing the registry on the server «mail.xxx.ru». The error that occurred is: «Attempted to perform an unauthorized operation.».
    mail              xxx.ru/Con… Edge        Standard… Version 15.1 (Bu…

    Через telnet по портам 135, 50389 и 50636 соединиться с сервера EXCHANGE с сервером mail я могу.

    • Изменено

      26 декабря 2016 г. 8:55

Ответы

    • Помечено в качестве ответа
      Павел_
      27 декабря 2016 г. 12:45
  • Remove From My Forums
  • Question

  • I’m trying to install SQL Server 2008 on a virtual machine with Windows 2008 R2.

    Setup fails with the error «Attempted to perform an unauthorized operation».

    Looking at the installation log, I see these details:

    2009-09-29 08:24:49 SQLBrowser: sRegLocation = 'SOFTWAREMicrosoftMicrosoft SQL Server', regView = 'Wow6432', sSddl = '(A;CI;KR;;;[SQLServer2005SQLBrowserUser$ITISFIM])', bOptional = 'False'.
    2009-09-29 08:24:49 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine 
    2009-09-29 08:24:49 Slp: Sco: Attempting to open registry subkey 
    2009-09-29 08:24:49 Slp: Sco: Attempting to open registry subkey SOFTWAREMicrosoftMicrosoft SQL Server
    2009-09-29 08:24:49 Slp: Sco: Attempting to replace account with sid in security descriptor (A;CI;KR;;;[SQLServer2005SQLBrowserUser$ITISFIM])
    2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  (A;CI;KR;;;[SQLServer2005SQLBrowserUser$ITISFIM])
    2009-09-29 08:24:49 Slp: Sco: Account name to be translated into SID: SQLServer2005SQLBrowserUser$ITISFIM
    2009-09-29 08:24:49 Slp: Sco: Attempting to get account sid for user account SQLServer2005SQLBrowserUser$ITISFIM
    2009-09-29 08:24:49 Slp: Sco: Attempting to get sid for user account SQLServer2005SQLBrowserUser$ITISFIM
    2009-09-29 08:24:49 Slp: Sco: GetSidForAccount normalized accountName SQLServer2005SQLBrowserUser$ITISFIM parameter to SQLServer2005SQLBrowserUser$ITISFIM
    2009-09-29 08:24:49 Slp: Sco: Account name is translated into: S-1-5-21-3278988706-2344661944-1675463508-1000
    2009-09-29 08:24:49 Slp: Sco: Final security descriptor:  (A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
    2009-09-29 08:24:49 Slp: Sco: Attempting to set security descriptor (A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
    2009-09-29 08:24:49 Slp: Sco: Attempting to normalize security descriptor (A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
    2009-09-29 08:24:49 Slp: Sco: Adding 'D:' DACL identifier to the input security descriptor (A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
    2009-09-29 08:24:49 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
    2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
    2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
    2009-09-29 08:24:49 Slp: Sco: Attempting to normalize security descriptor D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
    2009-09-29 08:24:49 Slp: Sco: Attempting to replace account with sid in security descriptor D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
    2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be processed:  D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
    2009-09-29 08:24:49 Slp: ReplaceAccountWithSidInSddl -- SDDL to be returned:  D:(A;CI;KR;;;S-1-5-21-3278988706-2344661944-1675463508-1000)
    2009-09-29 08:24:49 Slp: Prompting user if they want to retry this action due to the following failure:
    2009-09-29 08:24:49 Slp: ----------------------------------------
    2009-09-29 08:24:49 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
    2009-09-29 08:24:49 Slp: Inner exceptions are being indented
    2009-09-29 08:24:49 Slp: 
    2009-09-29 08:24:49 Slp: Exception type: Microsoft.SqlServer.Configuration.Sco.ScoException
    2009-09-29 08:24:49 Slp:     Message: 
    2009-09-29 08:24:49 Slp:         Attempted to perform an unauthorized operation.
    2009-09-29 08:24:49 Slp:     Data: 
    2009-09-29 08:24:49 Slp:       WatsonData = Microsoft SQL Server
    2009-09-29 08:24:49 Slp:       DisableRetry = true
    2009-09-29 08:24:49 Slp:     Inner exception type: System.UnauthorizedAccessException
    2009-09-29 08:24:49 Slp:         Message: 
    2009-09-29 08:24:49 Slp:                 Attempted to perform an unauthorized operation.
    2009-09-29 08:24:49 Slp:         Stack: 
    2009-09-29 08:24:49 Slp:                 at System.Security.AccessControl.Win32.GetSecurityInfo(ResourceType resourceType, String name, SafeHandle handle, AccessControlSections accessControlSections, RawSecurityDescriptor& resultSd)
    2009-09-29 08:24:49 Slp:                 at System.Security.AccessControl.NativeObjectSecurity.CreateInternal(ResourceType resourceType, Boolean isContainer, String name, SafeHandle handle, AccessControlSections includeSections, Boolean createByName, ExceptionFromErrorCode exceptionFromErrorCode, Object exceptionContext)
    2009-09-29 08:24:49 Slp:                 at Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity..ctor(ResourceType resourceType, SafeRegistryHandle handle, AccessControlSections includeSections)
    2009-09-29 08:24:49 Slp:                 at Microsoft.SqlServer.Configuration.Sco.SqlRegistrySecurity.Create(InternalRegistryKey key)
    2009-09-29 08:24:49 Slp:                 at Microsoft.SqlServer.Configuration.Sco.InternalRegistryKey.SetSecurityDescriptor(String sddl, Boolean overwrite)
    2009-09-29 08:24:49 Slp: ----------------------------------------
    

    Any suggestions on how to fix this error?
    Thanks, Paolo

Answers

  • Hi,

    There seems to be a problem to your windows user account sid mapping, I am suggesting you create a new windows administrator user account, and then try to install SQL Server 2008.

    For more information on sid on Windows operating systems see here: http://support.microsoft.com/kb/243330

    If the problem continues existing, please feel free to let me know.

    Have a nice day,


    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Welcome to the All-In-One Code Framework! If you have any feedback, please tell us.

    • Marked as answer by

      Wednesday, October 7, 2009 7:28 AM

Below is the detailed error message. I can’t proceed with installation for the last one week. I’ve given full rights to registry keys that are associated to SQL Server but nothing has worked out. For the last one week no headway.

(Edit: Originally I posted that we were installing SQL Server version 2012 but that was a misunderstanding between me and my team. It’s clear from the error messages it is a 2008 R2 version.)

The following error has occurred:

Attempted to perform an unauthorized operation.

Click ‘Retry’ to retry the failed action, or click ‘Cancel’ to cancel this action and continue setup.

For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.5058.0&EvtType=0x48BB60BC%25400xBB814387

summary.txt File Overall summary: Final result:
User cancelled Exit code (Decimal): -2068380094 Exit
facility code: 1207 Exit error code: 1602
Exit message: User has cancelled. Start time:
2014-10-22 16:42:41 End time: 2014-10-23
06:26:49 Requested action: RunRules

Machine Properties: Machine name: UGJIS011
Machine processor count: 4 OS version:
Windows Server 2008 OS service pack: Service Pack 1
OS region: United States OS language:
English (United States) OS architecture: x64 Process
architecture: 64 Bit OS clustered: No

Product features discovered: Product Instance
Instance ID Feature
Language Edition Version Clustered

Package properties: Description: SQL Server
Database Services 2008 R2 ProductName: SQL Server
2008 R2 Type: RTM Version:
10 SPLevel: 0 Installation location:
C:Usersmsenfuma — adminDesktopSQL_2008_R2x64setup
Installation edition: EVAL

User Input Settings: ACTION: RunRules
CONFIGURATIONFILE: ENU: True
FARMACCOUNT: FARMADMINPORT:
0 FARMPASSWORD: ***** FEATURES:
HELP: False IACCEPTSQLSERVERLICENSETERMS:
False INDICATEPROGRESS: False INSTANCENAME:
PASSPHRASE: ***** QUIET:
False QUIETSIMPLE: False RULES:
GLOBALRULES,SqlUnsupportedProductBlocker,PerfMonCounterNotCorruptedCheck,Bids2008InstalledCheck,BlockInstallSxS,AclPermissionsFacet,FacetDomainControllerCheck,SSMS_IsInternetConnected,FacetWOW64PlatformCheck,FacetPowerShellCheck
UIMODE: Normal X86:
False

Configuration file: C:Program FilesMicrosoft SQL
Server100Setup BootstrapLog20141022_164238ConfigurationFile.ini

Detailed results:

Rules with failures:

Global rules:

There are no scenario-specific rules.

Rules report file: C:Program FilesMicrosoft SQL
Server100Setup
BootstrapLog20141022_164238SystemConfigurationCheck_Report.htm

Exception summary: The following is an exception stack listing the
exceptions in outermost to innermost order Inner exceptions are being
indented

Exception type:
Microsoft.SqlServer.Chainer.Infrastructure.CancelException
Message:
User has cancelled.
Stack:
at Microsoft.SqlServer.Configuration.UIExtension.Request.Wait()
at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceProxy.NavigateToWaypoint(String
moniker)
at Microsoft.SqlServer.Configuration.UIExtension.WaypointAction.ExecuteAction(String
actionId)
at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String
actionId, TextWriter errorStream)
at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter
statusStream, ISequencedAction actionToRun)

У меня уже был SQL Server 2019. После обновления Windows 10 до последнего октябрьского обновления я обнаружил, что на моем SQL Server нет последних пакетов обновления. Я загрузил последний пакет обновления CU8 от Microsoft и запустил его. После инициализации настройки я получаю ошибку

Attempted to perform an unauthorized operation

enter image description here

Много исследований и не повезло даже в SO.

Пожалуйста, порекомендуйте.

2 ответа

Лучший ответ

Изучив журналы и покопавшись в реестре и системе безопасности Windows, я обнаружил, что проблема была в разделе реестра «Microsoft Edge». Каким-то образом он доступен только для чтения для администратора, и я понял, что мне нужно использовать учетную запись SYSTEM для применения пакета обновления.

Наконец, я обнаружил, что могу сделать это, используя исполняемый файл в пакете SysInternals, который известен тем, что делает странные вещи в Windows.

Это то, что я сделал, чтобы применить пакет обновления.

  1. Запустите Cmd или PowerShell от имени администратора
  2. Перейдите в SysInternals и убедитесь, что у вас есть PsExec64.exe.
  3. Выполните команду ниже:

. PsExec64.exe -sid «D: Downloads SQLServer2019-KB4577194-x64.exe»

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

Пакет обновлений успешно установлен!


0

FLICKER
27 Окт 2020 в 17:31

https://www.microsoft.com/en-us/edge/business/download

Загрузите автономный установщик последней версии Microsoft Edge (Chromium) по ссылке выше.

Как только он у вас будет, запустите установщик Edge, а затем попробуйте снова запустить SQL Update.

Это сработало. Я запустил последнюю автономную установку Edge, и она разблокировала патч MSSQL.

Я также подтверждаю, что работает. благодаря

https://www.microsoft.com/en-us/edge/business/download

Я могу подтвердить, что это устраняет проблему при попытке установить SQL 2014 Express Advanced в Windows 10 с установленным обновлением H2. У меня была такая же ошибка, и установка автономного Microsoft Edge исправляет ошибку.


0

softwarezimbabwe
26 Дек 2020 в 15:57

Here’s a couple things to try from people who have had similar problems:

Check: %Microsoft SQL Server100Setup BootstrapLogSystemConfigurationCheck_Report.htm

Copy installation files to disk and run from there.

Run setup as administrator.

Create a new local administrator account and use that to run the installation.

When error occurs, dont exit installation, run process monitor trace, click retry for installation, stop trace, locate registry key where where access denied is, give your account temporary full control on that key, retry again.

Use the slipstream procedure to update SQL Server 2008

This method allows you to update the entire product when you run the SQL Server 2008 Setup program after following one of the following procedures:

Procedure 1: Basic slipstream steps

Follow the following steps to create a slipstream drop that you can use for installing the original media and a service pack at the same time.

Install the following prerequisites for SQL Server 2008.

.NET Framework 2.0 SP2 for SQL Server 2008 Express Edition
You can obtain the .NET Framework 2.0 SP2 from the following Web site in Microsoft Download Center:
http://www.microsoft.com/downloads/details.aspx?FamilyID=5b2c0358-915b-4eb5-9b1d-10e506da9d0f&displaylang=en

.NET Framework 3.5 SP1 for other editions
To download and install the .NET Framework 3.5 SP1, visit the following Microsoft Web site:
http://go.microsoft.com/fwlink/?LinkID=120550

Windows Installer 4.5
To download and install Windows Installer 4.5, visit the following Microsoft Web site:
http://go.microsoft.com/fwlink/?LinkID=49112

Download the latest service pack package that matches you system architecture. For example download the x64 package of SQL Server 2008 Service Pack 1 if your system is an x64-based system.
Extract the service pack by running the following command:
SQLServer2008SP1-KB968369-x64-ENU.exe /x:C:SP1
Run the service pack to install Setup files on the computer. You will receive a Setup Support Files dialog box if the Setup support files have not been installed. You can also run the following file to install the setup support files:
C:SP1x64setup1033sqlsupport.msi

Finally,
run the Setup.exe file from the SQL Server 2008 source media by specifying the /PCUSource parameter. For example:
Setup.exe /PCUSource=C:SP1

SQL Server Instance installation or update prompted Attempted to perform an unauthorized operation


Print

Created by: QNE Software Sdn bhd

Modified on: Tue, 27 Jul, 2021 at 3:53 PM


Scenario 

Performing SQL Server Installation or Update SQL Server version prompted “Attempted to perform an unauthorized operation”

This was due to SQL Server Setup process can’t enumerate the following registry subkey:

HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstallMicrosoft Edge

Solution 

Method 1 for “Attempted to perform an unauthorized operation”:

If you’re running 64-bit Windows 10, version 20H2 (19042.xxx), you must install the Edge browser version 86.0.622.56 or a later version that includes the fix for this problem.

To see the version number in Edge, select Settings > About Edge

Following guides will manually update the Edge browser

  1. Start Microsoft Edge
  2. Select the Settings (ellipsis) button in the top-right corner
  3. Select Help and feedback > About Microsoft Edge
  4. On some older Edge version might need to select Settings > select Help and feedback > About Microsoft Edge

  1. Edge will automatically check for updates
  2. To complete the Edge update installation, select Restart
  3. Once updates completed, Edge will show “Microsoft Edge is up to date.”

Method 2 for “Attempted to perform an unauthorized operation”:

Following guides recommended for those with Registry knowledge only

Serious problems might occur if you modify the registry incorrectly

Before you modify it, back up the registry for restoration in case problems occur

Following steps is to add the Full Control permission to the Administrators account

  1. Start Registry Editor by select Start, type regedit, and then select Registry Editor in the Search results

  1. Right-click the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallMicrosoft Edge subkey, and select Permissions
  2. In the Permissions window that opens, select Advanced

  1. Select Change next to the listed owner
  2. In the Select User, Computer, Service Account, or Group window, type the name of your Windows user account (or your email address if you have a Microsoft account) in the Enter the object name to select box, and then select Check Names to validate the account name

  1. Select OK 2 times
     
     
  2. In the Permissions window, select the Users group, and then select the Allow check box for the Full Control permissions

  1. Select OK to return to the main Registry Editor window
  2. Close Registry Editor window and restart PC

Find out more about Features Supported by the Editions of SQL Server 2012

Find out more about SQL Server 2012 Express installation


Did you find it helpful?
Yes

No

Send feedback

Sorry we couldn’t be helpful. Help us improve this article with your feedback.

Related Articles

    У меня есть новая домашняя машина Windows 10, и я хочу установить SQL-сервер. У меня уже установлена ​​Visual Studio 2017 и SSMS 2017 (изначально я установил SQL).

    С первой попытки я получил эту ошибку:

    Устранена установка оболочки VS с кодом выхода 1638

    И выяснилось, что мне нужно удалить Microsoft распространять распространяемый (x86) и (x64) Microsoft Visual С++ 2017, установить SQL Server, а затем переустановить распространяемый Microsoft Visual С++ 2017 (x86) и (x64). Как видно здесь

    Затем я получил эту ошибку:

    Попытка выполнить несанкционированную операцию

    введите описание изображения здесь

    • Я пробовал разрешения раздела реестра из этой ссылки
    • Я пробовал редактировать локальную групповую политику, но у Win 10 ее нет.
    • Я попытался выйти из всех брандмауэров и программного обеспечения для защиты от вредоносных программ.

    Я пытаюсь установить SQL Server в течение 4 недель.

    Изменить:

    Я нашел журналы, но ошибка кажется одинаковой:

    введите описание изображения здесь

    Ответ 1

    Приложение безопасности, установленное на сервере, препятствовало установке SQL Server для доступа

    После нескольких недель Googling, я выяснил, что у моей машины появилось немного программного обеспечения под названием Bull Guard, который конфликтует с SQL Server. После удаления этого программного обеспечения проблема была решена. (Отключение службы не сработало)

    Ответ 2

    (1) Если проблема VS не решена

    В соответствии со следующим ответ MSDN

    «Код выхода 1638 означает, что» еще одна версия этой программы уже установлена ​​ «, это сообщение об ошибке предоставляется установщиком Windows, проверьте, установлена ​​ли на вашей машине другая более поздняя версия VS Shell».

    Также они упомянули, что если вы установили Visual studio 2017, это также может повлиять на установку SQL Server 2017. Версия VS Shell внутри некоторых версий Visual Studio 2017 позже, чем VS Shell внутри SQL Server, в результате, вы встретите эту проблему, пожалуйста, проверьте ее. *

    Рекомендуемое решение было

    Удалите Visual Studio 2017, затем установите SQL Server 2017, после этого установите Visual Studio 2017 еще раз.

    Также это было первое предлагаемое решение в предоставленной вами ссылке (Справка по установке SQL Server 2017 — установка VS Shell завершилась с кодом выхода 1638)

    (2) Если проблема VS решена

    Проверьте наличие установленных приложений или запущенных служб, которые препятствуют процессу установки для доступа.

    When I want to install sql 2014 in windows server 2012 the following error :

    Error : Attempted to perform an unauthorized operation.

    enter image description here

    How to resolve it?

    jarlh's user avatar

    This was due to SQL Server Setup process can’t enumerate the following registry subkey:

    HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstallMicrosoft Edge

    Solution 

    Method 1 for “Attempted to perform an unauthorized operation”:

    If you’re running 64-bit Windows 10, version 20H2 (19042.xxx), you must install the Edge browser version 86.0.622.56 or a later version that includes the fix for this problem.

    To see the version number in Edge, select Settings > About Edge

    Following guides will manually update the Edge browser

    1. Start Microsoft Edge
    2. Select the Settings (ellipsis) button in the top-right corner
    3. Select Help and feedback > About Microsoft Edge
    4. On some older Edge version might need to select Settings > select Help and feedback > About Microsoft Edge

    1. Edge will automatically check for updates
    2. To complete the Edge update installation, select Restart
    3. Once updates completed, Edge will show “Microsoft Edge is up to date.”

    Method 2 for “Attempted to perform an unauthorized operation”:

    Following guides recommended for those with Registry knowledge only

    Serious problems might occur if you modify the registry incorrectly

    Before you modify it, back up the registry for restoration in case problems occur

    Following steps is to add the Full Control permission to the Administrators account

    1. Start Registry Editor by select Start, type regedit, and then select Registry Editor in the Search results

    1. Right-click the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallMicrosoft Edge subkey, and select Permissions
    2. In the Permissions window that opens, select Advanced

    1. Select Change next to the listed owner
    2. In the Select User, Computer, Service Account, or Group window, type the name of your Windows user account (or your email address if you have a Microsoft account) in the Enter the object name to select box, and then select Check Names to validate the account name

    1. Select OK 2 times
       
       
    2. In the Permissions window, select the Users group, and then select the Allow check box for the Full Control permissions

    1. Select OK to return to the main Registry Editor window
    2. Close Registry Editor window and restart PC

    Find out more about Features Supported by the Editions of SQL Server 2012

    Find out more about SQL Server 2012 Express installation


    Did you find it helpful?
    Yes

    No

    Send feedback

    Sorry we couldn’t be helpful. Help us improve this article with your feedback.

    Related Articles

      У меня есть новая домашняя машина Windows 10, и я хочу установить SQL-сервер. У меня уже установлена ​​Visual Studio 2017 и SSMS 2017 (изначально я установил SQL).

      С первой попытки я получил эту ошибку:

      Устранена установка оболочки VS с кодом выхода 1638

      И выяснилось, что мне нужно удалить Microsoft распространять распространяемый (x86) и (x64) Microsoft Visual С++ 2017, установить SQL Server, а затем переустановить распространяемый Microsoft Visual С++ 2017 (x86) и (x64). Как видно здесь

      Затем я получил эту ошибку:

      Попытка выполнить несанкционированную операцию

      введите описание изображения здесь

      • Я пробовал разрешения раздела реестра из этой ссылки
      • Я пробовал редактировать локальную групповую политику, но у Win 10 ее нет.
      • Я попытался выйти из всех брандмауэров и программного обеспечения для защиты от вредоносных программ.

      Я пытаюсь установить SQL Server в течение 4 недель.

      Изменить:

      Я нашел журналы, но ошибка кажется одинаковой:

      введите описание изображения здесь

      Ответ 1

      Приложение безопасности, установленное на сервере, препятствовало установке SQL Server для доступа

      После нескольких недель Googling, я выяснил, что у моей машины появилось немного программного обеспечения под названием Bull Guard, который конфликтует с SQL Server. После удаления этого программного обеспечения проблема была решена. (Отключение службы не сработало)

      Ответ 2

      (1) Если проблема VS не решена

      В соответствии со следующим ответ MSDN

      «Код выхода 1638 означает, что» еще одна версия этой программы уже установлена ​​ «, это сообщение об ошибке предоставляется установщиком Windows, проверьте, установлена ​​ли на вашей машине другая более поздняя версия VS Shell».

      Также они упомянули, что если вы установили Visual studio 2017, это также может повлиять на установку SQL Server 2017. Версия VS Shell внутри некоторых версий Visual Studio 2017 позже, чем VS Shell внутри SQL Server, в результате, вы встретите эту проблему, пожалуйста, проверьте ее. *

      Рекомендуемое решение было

      Удалите Visual Studio 2017, затем установите SQL Server 2017, после этого установите Visual Studio 2017 еще раз.

      Также это было первое предлагаемое решение в предоставленной вами ссылке (Справка по установке SQL Server 2017 — установка VS Shell завершилась с кодом выхода 1638)

      (2) Если проблема VS решена

      Проверьте наличие установленных приложений или запущенных служб, которые препятствуют процессу установки для доступа.

      Источник

      When I want to install sql 2014 in windows server 2012 the following error :

      Error : Attempted to perform an unauthorized operation.

      enter image description here

      How to resolve it?

      jarlh's user avatar

      jarlh

      41.9k8 gold badges45 silver badges63 bronze badges

      asked May 11, 2016 at 11:29

      Mohsen's user avatar

      1

      I too got the same error while installing sql 2014, i solved it by moving sql 2014 setup to C drive then run as administrator

      answered Dec 1, 2016 at 12:53

      Anto sujesh's user avatar

      Anto sujeshAnto sujesh

      3253 silver badges14 bronze badges

      0

      It’s work for me.

      SQL Server 2008 R2

      I had attempted to perform an unauthorized for this part of installation in windows 8.1 64bit:

      SSISConfigAction_repair_postmsi_Cpu64

      Changing installation drive for another drive to C: , solve my problem. Also, I read on another topic, don’t close installation panel, because there is a bug while installing SQL Server.

      Summary:

      1. don’t change installation Drive
      2. don’t close installation panel
      3. make sure your source file is fine
      4. run Setup as the administrator

      Enjoy

      answered Dec 9, 2017 at 21:23

      Jalal Ebrhaimi's user avatar

      1) So the methodology I used to figure out what was wrong with my system was to use Process Monitor.

      I set the filter to listen for processes that contain «Scenario» and processes that contain «SQL».

      2) I clicked Retry, and saw an ACCESS_DENIED for HKLMSoftwareMicrosoftPowerShell1PowerShellEngine.

      3) Checked permissions, and ensured that Users have read. Permissions had been set to deny on them.

      Additionally, I have McAfee HIPs running on the server, so I also had an error where HIPs wouldn’t allow editing of permissions to the Event Log registry.

      So, had to have HIPs disabled temporarily, as well.

      answered Apr 5, 2019 at 5:57

      WWC's user avatar

      WWCWWC

      2,1311 gold badge17 silver badges13 bronze badges

      Источник

      Below is the detailed error message. I can’t proceed with installation for the last one week. I’ve given full rights to registry keys that are associated to SQL Server but nothing has worked out. For the last one week no headway.

      (Edit: Originally I posted that we were installing SQL Server version 2012 but that was a misunderstanding between me and my team. It’s clear from the error messages it is a 2008 R2 version.)

      The following error has occurred:

      Attempted to perform an unauthorized operation.

      Click ‘Retry’ to retry the failed action, or click ‘Cancel’ to cancel this action and continue setup.

      For help, click: http://go.microsoft.com/fwlink?LinkID=20476&ProdName=Microsoft%20SQL%20Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.5058.0&EvtType=0x48BB60BC%25400xBB814387

      summary.txt File Overall summary: Final result:
      User cancelled Exit code (Decimal): -2068380094 Exit
      facility code: 1207 Exit error code: 1602
      Exit message: User has cancelled. Start time:
      2014-10-22 16:42:41 End time: 2014-10-23
      06:26:49 Requested action: RunRules

      Machine Properties: Machine name: UGJIS011
      Machine processor count: 4 OS version:
      Windows Server 2008 OS service pack: Service Pack 1
      OS region: United States OS language:
      English (United States) OS architecture: x64 Process
      architecture: 64 Bit OS clustered: No

      Product features discovered: Product Instance
      Instance ID Feature
      Language Edition Version Clustered

      Package properties: Description: SQL Server
      Database Services 2008 R2 ProductName: SQL Server
      2008 R2 Type: RTM Version:
      10 SPLevel: 0 Installation location:
      C:Usersmsenfuma — adminDesktopSQL_2008_R2x64setup
      Installation edition: EVAL

      User Input Settings: ACTION: RunRules
      CONFIGURATIONFILE: ENU: True
      FARMACCOUNT: FARMADMINPORT:
      0 FARMPASSWORD: ***** FEATURES:
      HELP: False IACCEPTSQLSERVERLICENSETERMS:
      False INDICATEPROGRESS: False INSTANCENAME:
      PASSPHRASE: ***** QUIET:
      False QUIETSIMPLE: False RULES:
      GLOBALRULES,SqlUnsupportedProductBlocker,PerfMonCounterNotCorruptedCheck,Bids2008InstalledCheck,BlockInstallSxS,AclPermissionsFacet,FacetDomainControllerCheck,SSMS_IsInternetConnected,FacetWOW64PlatformCheck,FacetPowerShellCheck
      UIMODE: Normal X86:
      False

      Configuration file: C:Program FilesMicrosoft SQL
      Server100Setup BootstrapLog20141022_164238ConfigurationFile.ini

      Detailed results:

      Rules with failures:

      Global rules:

      There are no scenario-specific rules.

      Rules report file: C:Program FilesMicrosoft SQL
      Server100Setup
      BootstrapLog20141022_164238SystemConfigurationCheck_Report.htm

      Exception summary: The following is an exception stack listing the
      exceptions in outermost to innermost order Inner exceptions are being
      indented

      Exception type:
      Microsoft.SqlServer.Chainer.Infrastructure.CancelException
      Message:
      User has cancelled.
      Stack:
      at Microsoft.SqlServer.Configuration.UIExtension.Request.Wait()
      at Microsoft.SqlServer.Configuration.UIExtension.UserInterfaceProxy.NavigateToWaypoint(String
      moniker)
      at Microsoft.SqlServer.Configuration.UIExtension.WaypointAction.ExecuteAction(String
      actionId)
      at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String
      actionId, TextWriter errorStream)
      at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter
      statusStream, ISequencedAction actionToRun)

      Источник
      • Remove From My Forums
      • Question

      • I’m getting the above error when trying to install a new instance of SQL Server 2017 developer edition. I’ve read that this can be caused by the installation trying to install an earlier version of the c++ distributable when visual studio 2017 is
        installed. So I’ve tried uninstalling visual studio, repairing then uninstalling the visual C++ redistributable (both) and running the installation under the windows administrator account, but not getting any luck. Are there any other ideas on what
        might work?

      Answers

      • In «C:Program FilesMicrosoft SQL Server140Setup BootstrapLog»  you find one folder of logs for each login attempt. The best bet is usually Detail.txt. This can give you more information where the error occurs. I should warn you that the
        logs are very verbose, and not the easiest to understand.

        I seem to recall having helped a person who got this error after Setup had tried to write a registry value. It was his anti-virus that was overly aggresive. It was not sufficient to inactivate it, but he had to uninstall it. I would recommend that you check
        the log before you take any such steps.


        Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

        • Proposed as answer by

          Monday, July 16, 2018 6:28 AM

        • Marked as answer by
          JoshTurnbull
          Tuesday, July 17, 2018 8:08 PM

      Источник



      SQL Server Instance installation or update prompted Attempted to perform an unauthorized operation


      Print

      Created by: QNE Software Sdn bhd

      Modified on: Tue, 27 Jul, 2021 at 3:53 PM


      Scenario 

      Performing SQL Server Installation or Update SQL Server version prompted “Attempted to perform an unauthorized operation”

      This was due to SQL Server Setup process can’t enumerate the following registry subkey:

      HKLMSOFTWAREMicrosoftWindowsCurrentVersionUninstallMicrosoft Edge

      Solution 

      Method 1 for “Attempted to perform an unauthorized operation”:

      If you’re running 64-bit Windows 10, version 20H2 (19042.xxx), you must install the Edge browser version 86.0.622.56 or a later version that includes the fix for this problem.

      To see the version number in Edge, select Settings > About Edge

      Following guides will manually update the Edge browser

      1. Start Microsoft Edge
      2. Select the Settings (ellipsis) button in the top-right corner
      3. Select Help and feedback > About Microsoft Edge
      4. On some older Edge version might need to select Settings > select Help and feedback > About Microsoft Edge

      1. Edge will automatically check for updates
      2. To complete the Edge update installation, select Restart
      3. Once updates completed, Edge will show “Microsoft Edge is up to date.”

      Method 2 for “Attempted to perform an unauthorized operation”:

      Following guides recommended for those with Registry knowledge only

      Serious problems might occur if you modify the registry incorrectly

      Before you modify it, back up the registry for restoration in case problems occur

      Following steps is to add the Full Control permission to the Administrators account

      1. Start Registry Editor by select Start, type regedit, and then select Registry Editor in the Search results

      1. Right-click the HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionUninstallMicrosoft Edge subkey, and select Permissions
      2. In the Permissions window that opens, select Advanced

      1. Select Change next to the listed owner
      2. In the Select User, Computer, Service Account, or Group window, type the name of your Windows user account (or your email address if you have a Microsoft account) in the Enter the object name to select box, and then select Check Names to validate the account name

      1. Select OK 2 times
         
         
      2. In the Permissions window, select the Users group, and then select the Allow check box for the Full Control permissions

      1. Select OK to return to the main Registry Editor window
      2. Close Registry Editor window and restart PC

      Find out more about Features Supported by the Editions of SQL Server 2012

      Find out more about SQL Server 2012 Express installation


      Did you find it helpful?
      Yes

      No

      Send feedback

      Sorry we couldn’t be helpful. Help us improve this article with your feedback.

      Related Articles

        Источник

        Понравилась статья? Поделить с друзьями:
      • Ошибка attempted execute of noexecute memory windows 10
      • Ошибка attempt to write a readonly database
      • Ошибка attempt to perform arithmetic on a nil value
      • Ошибка attempt to invoke virtual method
      • Ошибка attempt to index global