本文介绍了Visual Studio安装失败。无法运行引导程序,因为Windows Management Instrumentation已禁用。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我整天都花在这上面;据我所知,WMI(以及多个命令行修复和重新启动后)并且始终运行正常。我不知道该找什么;有什么想法?
安装日志:
错误信息
AppInsightsEvent名称= vs / setup / bootstrapper /错误
        Description = COMException
  TelemetrySession ='5b6c5d2a-61f1-49d8-9ed2-3c5a05591bb8'Initial = True OptIn = True IsInitialized = True Cloned = FUE
          UTC时间= 2017-05-14T00:00:59
$
例外:
System.Runtime.InteropServices。 COMException(0x80040154)
 在Microsoft.VisualStudio.Setup.Bootstrapper.Blockers.EvalauteBlockers(ILogger记录器,ProgramOptions选项,ITelemetryBootstrapper telemetryService,日期时间开始时间,RootViewModel rootWindow)
   在Microsoft.VisualStudio.Setup.Bootstrapper.Bootstrapper.Execute()
 在Microsoft.VisualStudio.Setup.Bootstrapper.Program.Run(String [] args)
遥测会话共享属性:
VS.Core.User.Id = a94af2bd-1bfd-481c-ba85-2d0b34ef66ec
VS.Core.BuildNumber = 346
VS.Core.SemanticVersion = 15.1.0 + 26430.2
VS.Core.User.IsMicrosoftInternal = False
VS.Core.ExeName = vs_setup_bootstrapper
VS.Setup.Bootstrapper.CommandLine.IsPassiveMode = False
VS.Setup.Bootstrapper.CommandLine.ResponseFile.productId = Microsoft.VisualStudio.Product.Community
VS.Core.Machine.Id = 33c49446-e704-4977-bc62-85fc7a9e0caa
VS.Core.TelemetryApi.ProductVersion = 15.0.777-rtm6FAA2C78
VS.Core.OS.Version = 10.0.14393.1198
VS.Setup.Bootstrapper.CommandLine.CampaignId = 1811205782.1494583259
VS.Core.User.Location.GeoId = 244
VS.Setup.Bootstrapper.CommandLine.IsQuietMode = False
VS.Setup.Bootstrapper.CommandLine.ResponseFile.channelUri = https://aka.ms/vs/15/release/channel
VS.Core.ParentProcessName = vs_community__1811205782.1494583259
VS.Core.MacAddressHash = b90a10bec88d2b12d9316199327eca559e36fa810c42440ded00863460e4ab00
VS.Core.User.Type =外部
VS.Core.User.PersonalizationVsid = f907a345-edc6-47f3-b920-505c8ffa7970
VS.Core.User.IsMicrosoftInternalDeprecated = False
VS.Core.User.IsOptedIn = True
VS.Setup.Bootstrapper.CommandLine.ResponseFile.channelId = VisualStudio.15.Release
VS.Setup.Bootstrapper.CommandLine.StartupType =布局
VS.Core.ExeVersion = 15.0.346.44760
VS.Core.SkuName = VS Bootstrapper
VS.Setup.Bootstrapper.CommandLine.ActivityId = db57867e-7524-412a-8c33-736eb15bb9fa
VS.Core.ParentProcessProductVersion = 15.0.26430.2
遥测事件'vs / setup / bootstrapper / error'属性:
[VS.Setup.Bootstrapper.ReturnCode] ='5002'
[VS.Setup.Bootstrapper.ErrorType] ='COMException'
[VS.Setup.Bootstrapper.Error] =''
[VS.Fault.WatsonOptIn] ='PropertyOptIn'
[VS.Fault.Exception.ModuleVersion] = '15 .0.777.28586'
[VS.Fault.Exception.Offset] ='733'
[VS.Fault.WatsonReportNumber] ='0'
遥测事件'vs / setup / bootstrapper / error'保留属性:
[DataModel.Severity] ='10'
[DataModel.Source] ='DataModelApi'
[DataModel.EntityType] ='故障'
[DataModel.EntitySchemaVersion] ='4'
[DataModel.CorrelationId] = '64abb7ee-9d53-4b14-8c70-e8bff8143f56'
[DataModel.ProductName] ='vs'
[DataModel.FeatureName] ='setup / bootstrapper'
[DataModel.EntityName] ='错误'
[DataModel.Fault.Exception.TypeString] ='System.Runtime.InteropServices.COMException'
[DataModel.Fault.Exception.Message] =''
[DataModel.Fault.Exception.StackTrace] ='System.Runtime.InteropServices.COMException(0x80040154)
 在Microsoft.VisualStudio.Setup.Bootstrapper.Blockers.EvalauteBlockers(ILogger记录器,ProgramOptions选项,ITelemetryBootstrapper telemetryService,日期时间开始时间,RootViewModel rootWindow)
  at Microsoft.VisualStudio.Setup.Bootstrapper.Bootstrapper.Execute()
at Microsoft.VisualStudio.Setup.Bootstrapper.Program.Run(String [] args)'
[DataModel.Fault.Description] ='COMException'
[DataModel.Fault.BucketParam1] ='vs_setup_bootstrapper'
[DataModel.Fault.BucketParam2] = '15 .0.346.44760'
[DataModel.Fault.BucketParam3] ='versussetup.bootstrapper.error'
[DataModel.Fault.BucketParam4] ='布局'
[DataModel.Fault.BucketParam5] ='https://aka.ms/vs/15/release/installer'
[DataModel.Fault.BucketParam6] ='n / a'
[DataModel.Fault.BucketParam7] ='5002'
[DataModel.Fault.BucketParam8] =' - -2147221164'
[DataModel.Fault.BucketParam9] ='Microsoft.VisualStudio.Product.Community'
[DataModel.Fault.BucketParam10] ='VisualStudio.15.Release'
[DataModel.Fault.IsSampled] ='True'
CallStack哈希:5ced4440
$
添加了文件C:\ Users \ eerf \ AppData \ Local \Temp \dd_bootstrapper_20170513200054.log
!!!!!!!! !!!!!!!!!!! dd_dd_bootstrapper_20170513200054.log text !!!!!!!!!!!!!!!!!!!!!!
日志的开头。开始时间:5/13/2017 8:00:54 PM
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM:当前的OptIn值是1¥
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM:Caught Exception:Type = COMException,Message =,StackTrace = at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode,IntPtr errorInfo)
at System.Management.ManagementObject.Get()
at Microsoft.VisualStudio.Setup.Bootstrapper.Utilities.GetParentProcess(ILogger logger,Boolean throwOnComException)
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM:
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM:命令行参数= --layout c:\Users\ericf \Downloads\vsInstallLog
VisualStudio Bootstrapper: 5/13/2017 8:00:55 PM:父进程名称= vs_community__1811205782.1494583259
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM:父进程产品版本= 15.0.26430.2
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM:CampaignId = 1811205782.1494583259
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM:DownloadURL = https://aka.ms/vs/15/release/installer
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM:InstallLocation = C:\Program Files(x86) \ Microsoft Visual Studio \Installer
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM:OfflineFilePath =
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM:LayoutLocation = c:\ Users \ericf \Downloads\vsInstallLog
VisualStudio Bootstrapper:5/13/2017 8:00 :55 PM:ExecutableArguments = layout --bootstrapperPath" C:\ Users \ eerf \ AppData \ Local \Temp \b9b9844bb8f22a28d065 \vs_bootstrapper_d15 \vs_setup_bootstrapper.exe" --layout" c:\ Users \ericf \Downloads\vsInstallLog"
--in" C:\ProgramData \ Microprosoft \ VisualStudio\Packages\_bootstrapper\vs_setup_bootstrapper.json" --locale en-US --activityId" db57867e-7524-412a-8c33-736eb15bb9fa" --campaign" 1811205782.1494583259"
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM:OSVersion = Microsoft Windows NT 10.0.14393.0
$
VisualStudio Bootstrapper: 5/13/2017 8:00:55 PM:无法运行引导程序,因为Windows Management Instrumentation已禁用。
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM:捕获异常: Type = COMException,Message =,StackTrace =  在Microsoft.VisualStudio.Setup.Bootstrapper.Blockers.EvalauteBlockers(ILogger记录器,ProgramOptions选项,ITelemetryBootstrapper
telemetryService,日期时间开始时间,RootViewModel rootWindow)
  at Microsoft.VisualStudio.Setup.Bootstrapper.Bootstrapper.Execute()
at Microsoft.VisualStudio.Setup.Bootstrapper.Program.Run(String [] args)
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM:一般失败。消息:Callstack:  在Microsoft.VisualStudio.Setup.Bootstrapper.Blockers.EvalauteBlockers(ILogger记录器,ProgramOptions选项,ITelemetryBootstrapper telemetryService,日期时间
开始时间,RootViewModel rootWindow)
  at Microsoft.VisualStudio.Setup.Bootstrapper.Bootstrapper.Execute()
at Microsoft.VisualStudio.Setup.Bootstrapper.Program.Run(String [] args)内部消息:内部异常:
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM :Watson:发送Watson Bucket:
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM:Watson:P1 = vs_setup_bootstrapper
VisualStudio Bootstrapper:5 / 13/2017 2017:00:59:Watson:P2 = 15.0.346.44760
$
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM:Watson:P3 =  ; $
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM:Watson:P4 =布局
VisualStudio Bootstrapper:5/13/2017 8:00 :59 PM:Watson:P5 = https://aka.ms/vs/15/release/installer
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM:Watson: P6 = n / a
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM:Watson:P7 = 5002
VisualStudio Bootstrapper:5 / 13/2017 8:00:59 PM:Watson:P8 = -2147221164
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM:Wat儿子:P9 = Microsoft.VisualStudio.Product.Community
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM:Watson:P10 = VisualStudio.15.Release
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM:Watson:包括dmp文件
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM:Watson:包括日志:C:\Users\ericf\AppData\Local\Temp\dd_bootstrapper_20170513200054.log
解决方案
I've spent all day on this; as far as I can tell WMI (and after multiple command line fixes and reboots) is and always was running just fine. I don't know what to look for; any thoughts?
Logs from the install:
Error InformationAppInsightsEvent Name = vs/setup/bootstrapper/error
Description = COMException
TelemetrySession = '5b6c5d2a-61f1-49d8-9ed2-3c5a05591bb8' Started = True OptIn=True IsInitialized = True Cloned = False
UTC time = 2017-05-14T00:00:59
Exception:
System.Runtime.InteropServices.COMException (0x80040154)
at Microsoft.VisualStudio.Setup.Bootstrapper.Blockers.EvalauteBlockers(ILogger logger, ProgramOptions options, ITelemetryBootstrapper telemetryService, DateTime startTime, RootViewModel rootWindow)
at Microsoft.VisualStudio.Setup.Bootstrapper.Bootstrapper.Execute()
at Microsoft.VisualStudio.Setup.Bootstrapper.Program.Run(String[] args)
Telemetry Session Shared Properties:
VS.Core.User.Id = a94af2bd-1bfd-481c-ba85-2d0b34ef66ec
VS.Core.BuildNumber = 346
VS.Core.SemanticVersion = 15.1.0+26430.2
VS.Core.User.IsMicrosoftInternal = False
VS.Core.ExeName = vs_setup_bootstrapper
VS.Setup.Bootstrapper.CommandLine.IsPassiveMode = False
VS.Setup.Bootstrapper.CommandLine.ResponseFile.productId = Microsoft.VisualStudio.Product.Community
VS.Core.Machine.Id = 33c49446-e704-4977-bc62-85fc7a9e0caa
VS.Core.TelemetryApi.ProductVersion = 15.0.777-rtm6FAA2C78
VS.Core.OS.Version = 10.0.14393.1198
VS.Setup.Bootstrapper.CommandLine.CampaignId = 1811205782.1494583259
VS.Core.User.Location.GeoId = 244
VS.Setup.Bootstrapper.CommandLine.IsQuietMode = False
VS.Setup.Bootstrapper.CommandLine.ResponseFile.channelUri = https://aka.ms/vs/15/release/channel
VS.Core.ParentProcessName = vs_community__1811205782.1494583259
VS.Core.MacAddressHash = b90a10bec88d2b12d9316199327eca559e36fa810c42440ded00863460e4ab00
VS.Core.User.Type = External
VS.Core.User.PersonalizationVsid = f907a345-edc6-47f3-b920-505c8ffa7970
VS.Core.User.IsMicrosoftInternalDeprecated = False
VS.Core.User.IsOptedIn = True
VS.Setup.Bootstrapper.CommandLine.ResponseFile.channelId = VisualStudio.15.Release
VS.Setup.Bootstrapper.CommandLine.StartupType = Layout
VS.Core.ExeVersion = 15.0.346.44760
VS.Core.SkuName = VS Bootstrapper
VS.Setup.Bootstrapper.CommandLine.ActivityId = db57867e-7524-412a-8c33-736eb15bb9fa
VS.Core.ParentProcessProductVersion = 15.0.26430.2
Telemetry event 'vs/setup/bootstrapper/error' properties:
[VS.Setup.Bootstrapper.ReturnCode] = '5002'
[VS.Setup.Bootstrapper.ErrorType] = 'COMException'
[VS.Setup.Bootstrapper.Error] = ''
[VS.Fault.WatsonOptIn] = 'PropertyOptIn'
[VS.Fault.Exception.ModuleVersion] = '15.0.777.28586'
[VS.Fault.Exception.Offset] = '733'
[VS.Fault.WatsonReportNumber] = '0'
Telemetry event 'vs/setup/bootstrapper/error' reserved properties:
[DataModel.Severity] = '10'
[DataModel.Source] = 'DataModelApi'
[DataModel.EntityType] = 'Fault'
[DataModel.EntitySchemaVersion] = '4'
[DataModel.CorrelationId] = '64abb7ee-9d53-4b14-8c70-e8bff8143f56'
[DataModel.ProductName] = 'vs'
[DataModel.FeatureName] = 'setup/bootstrapper'
[DataModel.EntityName] = 'error'
[DataModel.Fault.Exception.TypeString] = 'System.Runtime.InteropServices.COMException'
[DataModel.Fault.Exception.Message] = ''
[DataModel.Fault.Exception.StackTrace] = 'System.Runtime.InteropServices.COMException (0x80040154)
at Microsoft.VisualStudio.Setup.Bootstrapper.Blockers.EvalauteBlockers(ILogger logger, ProgramOptions options, ITelemetryBootstrapper telemetryService, DateTime startTime, RootViewModel rootWindow)
at Microsoft.VisualStudio.Setup.Bootstrapper.Bootstrapper.Execute()
at Microsoft.VisualStudio.Setup.Bootstrapper.Program.Run(String[] args)'
[DataModel.Fault.Description] = 'COMException'
[DataModel.Fault.BucketParam1] = 'vs_setup_bootstrapper'
[DataModel.Fault.BucketParam2] = '15.0.346.44760'
[DataModel.Fault.BucketParam3] = 'vs.setup.bootstrapper.error'
[DataModel.Fault.BucketParam4] = 'Layout'
[DataModel.Fault.BucketParam5] = 'https://aka.ms/vs/15/release/installer'
[DataModel.Fault.BucketParam6] = 'n/a'
[DataModel.Fault.BucketParam7] = '5002'
[DataModel.Fault.BucketParam8] = '-2147221164'
[DataModel.Fault.BucketParam9] = 'Microsoft.VisualStudio.Product.Community'
[DataModel.Fault.BucketParam10] = 'VisualStudio.15.Release'
[DataModel.Fault.IsSampled] = 'True'
CallStack Hash:5ced4440
Added File C:\Users\ericf\AppData\Local\Temp\dd_bootstrapper_20170513200054.log
!!!!!!!!!!!!!!!!!!! dd_dd_bootstrapper_20170513200054.log text !!!!!!!!!!!!!!!!!!!!!!
Beginning of the log. Start Time: 5/13/2017 8:00:54 PM
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM: Current OptIn value is 1
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM: Caught Exception: Type = COMException, Message = , StackTrace = at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementObject.Get()
at Microsoft.VisualStudio.Setup.Bootstrapper.Utilities.GetParentProcess(ILogger logger, Boolean throwOnComException)
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM:
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM: Commandline arguments = --layout c:\Users\ericf\Downloads\vsInstallLog
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM: Parent process name = vs_community__1811205782.1494583259
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM: Parent process product version = 15.0.26430.2
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM: CampaignId = 1811205782.1494583259
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM: DownloadURL = https://aka.ms/vs/15/release/installer
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM: InstallLocation = C:\Program Files (x86)\Microsoft Visual Studio\Installer
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM: OfflineFilePath =
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM: LayoutLocation = c:\Users\ericf\Downloads\vsInstallLog
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM: ExecutableArguments = layout --bootstrapperPath "C:\Users\ericf\AppData\Local\Temp\b9b9844bb8f22a28d065\vs_bootstrapper_d15\vs_setup_bootstrapper.exe" --layout "c:\Users\ericf\Downloads\vsInstallLog" --in "C:\ProgramData\Microsoft\VisualStudio\Packages\_bootstrapper\vs_setup_bootstrapper.json" --locale en-US --activityId "db57867e-7524-412a-8c33-736eb15bb9fa" --campaign "1811205782.1494583259"
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM: OSVersion = Microsoft Windows NT 10.0.14393.0
VisualStudio Bootstrapper:5/13/2017 8:00:55 PM: Unable to run bootstrapper, because Windows Management Instrumentation is disabled.
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: Caught Exception: Type = COMException, Message = , StackTrace = at Microsoft.VisualStudio.Setup.Bootstrapper.Blockers.EvalauteBlockers(ILogger logger, ProgramOptions options, ITelemetryBootstrapper telemetryService, DateTime startTime, RootViewModel rootWindow)
at Microsoft.VisualStudio.Setup.Bootstrapper.Bootstrapper.Execute()
at Microsoft.VisualStudio.Setup.Bootstrapper.Program.Run(String[] args)
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: General Failure. Message: Callstack: at Microsoft.VisualStudio.Setup.Bootstrapper.Blockers.EvalauteBlockers(ILogger logger, ProgramOptions options, ITelemetryBootstrapper telemetryService, DateTime startTime, RootViewModel rootWindow)
at Microsoft.VisualStudio.Setup.Bootstrapper.Bootstrapper.Execute()
at Microsoft.VisualStudio.Setup.Bootstrapper.Program.Run(String[] args) Inner Message: Internal Exception:
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: Watson: Sending Watson Bucket with:
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: Watson: P1 = vs_setup_bootstrapper
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: Watson: P2 = 15.0.346.44760
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: Watson: P3 =
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: Watson: P4 = Layout
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: Watson: P5 = https://aka.ms/vs/15/release/installer
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: Watson: P6 = n/a
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: Watson: P7 = 5002
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: Watson: P8 = -2147221164
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: Watson: P9 = Microsoft.VisualStudio.Product.Community
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: Watson: P10 = VisualStudio.15.Release
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: Watson: Including dmp file
VisualStudio Bootstrapper:5/13/2017 8:00:59 PM: Watson: Including Log : C:\Users\ericf\AppData\Local\Temp\dd_bootstrapper_20170513200054.log
解决方案
这篇关于Visual Studio安装失败。无法运行引导程序,因为Windows Management Instrumentation已禁用。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!