Ошибка 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

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

42.1k8 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 reset the display driver and recover from timeout failed
  • Ошибка att на магнитоле пионер
  • Ошибка atp nissan pathfinder r51
  • Ошибка atomizer short как исправить