Microsoft SQL Server 2012安装程序试图执行未经授权的操作

我想在我的笔记本电脑上安装SQL Server 2012开发者版,以前它工作。 我的笔记本电脑磁盘空间不足,我不得不先卸载它。 它不再工作,并在最后一刻给我一个未经授权的错误失败。 我使用进程监视器来看看这个问题,并可以看到它试图访问registry项“HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ FltMgr”,但获取访问被拒绝 。 我已经尝试了几次尝试授予对该registry项的所有人的完全访问权限,但是它不起作用。 我已经阅读了几篇文章,然后在这里发表,所以请不要认为我来这里没有适当的调查很快得到答案,虽然我很想快速sorting。 有什么想法吗?

操作系统:Windows 10家庭版

虽然安装失败,我可以看到不启动的Windows服务“SQL Server(MSSQLSERVER)”。 以下错误显示在事件查看器中。 initerrlog:无法打开错误日志文件“”。 操作系统错误= 3(系统找不到指定的path)。

Overall summary: Final result: Failed: see details below Exit code (Decimal): -2068119551 Start time: 2016-11-14 14:55:15 End time: 2016-11-14 15:24:10 Requested action: Install Setup completed with required actions for features. Troubleshooting information for those features: Next step for SQLEngine: Use the following information to resolve the error, uninstall this feature, and then run the setup process again. Next step for Replication: Use the following information to resolve the error, uninstall this feature, and then run the setup process again. Machine Properties: Machine name: DESKTOP-9VOUAM4 Machine processor count: 8 OS version: Future Windows Version OS service pack: 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 Configured Package properties: Description: Microsoft SQL Server 2012 ProductName: SQL Server 2012 Type: RTM Version: 11 Installation location: D:\sqlserver\x64\setup\ Installation edition: Developer Slipstream: True SP Level 2 Product Update Status: Success: KB 2958429 Product Updates Selected for Installation: Title: Service Pack 2 Knowledge Based Article: KB 2958429 Version: 11.2.5058.0 Architecture: x64 Language: 1033 Update Source: Slipstream User Input Settings: ACTION: Install ADDCURRENTUSERASSQLADMIN: false AGTSVCACCOUNT: NT Service\SQLSERVERAGENT AGTSVCPASSWORD: ***** AGTSVCSTARTUPTYPE: Manual ASBACKUPDIR: Backup ASCOLLATION: Latin1_General_CI_AS ASCONFIGDIR: Config ASDATADIR: Data ASLOGDIR: Log ASPROVIDERMSOLAP: 1 ASSERVERMODE: MULTIDIMENSIONAL ASSVCACCOUNT: <empty> ASSVCPASSWORD: <empty> ASSVCSTARTUPTYPE: Automatic ASSYSADMINACCOUNTS: <empty> ASTEMPDIR: Temp BROWSERSVCSTARTUPTYPE: Disabled CLTCTLRNAME: <empty> CLTRESULTDIR: <empty> CLTSTARTUPTYPE: 0 CLTSVCACCOUNT: <empty> CLTSVCPASSWORD: <empty> CLTWORKINGDIR: <empty> COMMFABRICENCRYPTION: 0 COMMFABRICNETWORKLEVEL: 0 COMMFABRICPORT: 0 CONFIGURATIONFILE: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20161114_145357\ConfigurationFile.ini CTLRSTARTUPTYPE: 0 CTLRSVCACCOUNT: <empty> CTLRSVCPASSWORD: <empty> CTLRUSERS: <empty> ENABLERANU: false ENU: true ERRORREPORTING: false FEATURES: SQLENGINE, REPLICATION, SSMS, ADV_SSMS FILESTREAMLEVEL: 0 FILESTREAMSHARENAME: <empty> FTSVCACCOUNT: <empty> FTSVCPASSWORD: <empty> HELP: false IACCEPTSQLSERVERLICENSETERMS: true INDICATEPROGRESS: false INSTALLSHAREDDIR: C:\Program Files\Microsoft SQL Server\ INSTALLSHAREDWOWDIR: C:\Program Files (x86)\Microsoft SQL Server\ INSTALLSQLDATADIR: <empty> INSTANCEDIR: d:\Program Files\Microsoft SQL Server\ INSTANCEID: MSSQLSERVER INSTANCENAME: MSSQLSERVER ISSVCACCOUNT: NT AUTHORITY\Network Service ISSVCPASSWORD: <empty> ISSVCSTARTUPTYPE: Automatic MATRIXCMBRICKCOMMPORT: 0 MATRIXCMSERVERNAME: <empty> MATRIXNAME: <empty> NPENABLED: 0 PID: ***** QUIET: false QUIETSIMPLE: false ROLE: <empty> RSINSTALLMODE: DefaultNativeMode RSSHPINSTALLMODE: DefaultSharePointMode RSSVCACCOUNT: <empty> RSSVCPASSWORD: <empty> RSSVCSTARTUPTYPE: Automatic SAPWD: ***** SECURITYMODE: SQL SQLBACKUPDIR: <empty> SQLCOLLATION: Latin1_General_CI_AS SQLSVCACCOUNT: NT Service\MSSQLSERVER SQLSVCPASSWORD: <empty> SQLSVCSTARTUPTYPE: Automatic SQLSYSADMINACCOUNTS: BUILTIN\Administrators SQLTEMPDBDIR: <empty> SQLTEMPDBLOGDIR: <empty> SQLUSERDBDIR: <empty> SQLUSERDBLOGDIR: <empty> SQMREPORTING: false TCPENABLED: 0 UIMODE: Normal UpdateEnabled: true UpdateSource: Slipstream X86: false Configuration file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20161114_145357\ConfigurationFile.ini Detailed results: Feature: Management Tools - Complete Status: Passed Feature: Management Tools - Basic Status: Passed Feature: Database Engine Services Status: Failed: see logs for details Reason for failure: An error occurred during the setup process of the feature. Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again. Component name: SQL Server Database Engine Services Instance Features Component error code: 0x84BB0001 Error description: Attempted to perform an unauthorized operation. Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.5058.0&EvtType=0x48BB60BC%400xBB814387&EvtType=0x48BB60BC%400xBB814387 Feature: SQL Server Replication Status: Failed: see logs for details Reason for failure: An error occurred for a dependency of the feature causing the setup process for the feature to fail. Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again. Component name: SQL Server Database Engine Services Instance Features Component error code: 0x84BB0001 Error description: Attempted to perform an unauthorized operation. Error help link: http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.5058.0&EvtType=0x48BB60BC%400xBB814387&EvtType=0x48BB60BC%400xBB814387 Feature: SQL Browser Status: Passed Feature: SQL Writer Status: Passed Rules with failures: Global rules: Scenario specific rules: Rules report file: C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20161114_145357\SystemConfigurationCheck_Report.htm 

Solutions Collecting From Web of "Microsoft SQL Server 2012安装程序试图执行未经授权的操作"

在阅读了更多的文章和在线文章后,我无法使用任何这些选项。 我也看到了其他对这些答案不满意的人的类似评论。 因此,我可以肯定地说,如果您首先安装了SQL server Developer / Express安装程序,那么在某处存在固有的问题,这会造成很大的麻烦。 就目前而言,我对以下内容感到满意,并想到在这里发布它,以便帮助某人。 有点奇怪的是,将SQL server安装路径更改为不同的文件夹(在我的情况下,我将其更改为“D:\ SQL \ Microsoft SQL server”)数据库引擎安装没有任何问题

如果您遇到类似问题,请记住以下几点:1.如果您在安装过程中看到“未经授权的操作”或类似错误,请运行ProcessMonitor(Sysinternal / Microsoft)工具,并在过滤后检查SQL server Engine安装程序进程。 在安装SQL server 2012 Express / Developer 2时未经授权的操作 。我已经看到,“SQL server代理”和“SQL server数据库引擎”使用的服务帐户可能是即时创建的,并且这可能没有足够的访问权限注册表。 我不太确定这个,但是如果没有什么帮助的话,可以把它改成其他账户(比如LocalService)。

  1. 在开发环境中,您可以尝试授予对注册表项的完全权限。 在我的情况下,它是由“系统”帐户拥有,不能轻松授予权限。 我重新启动Windows 10进入安全模式,并给予所需的权限,然后重新启动回到正常模式。

注册表权限,用户帐户