本文介绍了安装ADVM任务失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我遇到了与下面线程中描述的相同的问题。下面还有日志,因为它无法将Windows功能安装到VHDX,并且还提到"配置注册表数据库已损坏"。 ADVM在Hyper V中创建
并处于关闭状态,同时注意到硬盘没有连接到它。

I am facing the same problem as described in the below thread. Also below are the logs , its faling as its not able to install the windows feature to VHDX and also mentions that "The configuration registry database is corrupt". The ADVM gets created in Hyper V and is in off state , also noticed the HDD is no attached to it.

https://social.msdn.microsoft.com/Forums/en-US/b939028b-ba49-4b0d-9c9b-eb3aaed396c4/advm-task-fails-with-write-error ?forum = AzureStack

https://social.msdn.microsoft.com/Forums/en-US/b939028b-ba49-4b0d-9c9b-eb3aaed396c4/advm-task-fails-with-write-error?forum=AzureStack

导出别名'Get-StorageEnclosureSNV'。

[20160205-18:01:45 ] [XXXXXXX] [CreateVM.ps1]鸟;  创建VM文件夹

I:\ VM\ADVM

[20160205-18:01:45] [xxxxxxx] [CreateVM.ps1]   找不到路径

'I:\ VM \ ADVM'因为它不存在。

[20160205-18:01:45] [xxxxxxx] [CreateVM。 PS1]鸟;  

[20160205-18:01:45] [xxxxxxx] [CreateVM.ps1]   新VM

[20160205-18:01:47] [xxxxxxx] [CreateVM.ps1]   设置动态内存

[ADVM] [2 - 4]

[20160205-18:01:47] [xxxxxxx] [CreateVM.ps1]   添加Nic¥b $ b [ADVM] [Nic1] [CCI_External_vSwitch]

[20160205-18:01:47] [xxxxxxx] [CreateVM.ps1]   设置VLAN

[ADVM] [Nic1] [1001]

[20160205-18:01:48] [xxxxxxx] [CreateVM.ps1]   启动VM [ADVM]

[20160205-18:01:48] [xxxxxxx] [CreateVM.ps1]   

[20160205-18:01:54] [xxxxxxx] [CreateVM.ps1]   创建

I:\ VM \ WindowsServer2016Datacenter.vhdx

[20160205-18:01:54] [xxxxxxx] [CreateVM.ps1]   创建差异


vhdx I:\ VM\ADVM \0b1f5e5c-d01c-43ba-996a-672de1c89e6a.vhdx 

[I:\ VM\WindowsServer2016Datacenter.vhdx]

[20160205-18:01:55] [xxxxxxx] [CreateVM.ps1]    ;安装功能

AD-Domain-Services,DNS for I:\ VM\ADVM \0b1f5e5c-d01c-43ba-996a-672de1c89e6a.vhdx

导出cmdlet' Get-WindowsFeature'。

导出cmdlet'Install-WindowsFeature'。

导出cmdlet'卸载-WindowsFeature'。

导出别名'添加 - WindowsFeature'。

导出别名'Remove-WindowsFeature'。

导出函数'Enable-ServerManagerStandardUserRemoting'。

导出函数'Disable-ServerManagerStandardUserRemoting' 。$
安装开始......

[20160205-18:02:11] [xxxxxxx] [CreateVM.ps1]   列出指定服务器上可用的
功能的请求失败。

无法获取功能列表。

配置注册表数据库已损坏。错误:0x800703f1
Exporting alias 'Get-StorageEnclosureSNV'.
[20160205-18:01:45][xxxxxxx][CreateVM.ps1]    Creating VM folder
I:\VM\ADVM
[20160205-18:01:45][xxxxxxx][CreateVM.ps1]    Cannot find path
'I:\VM\ADVM' because it does not exist.
[20160205-18:01:45][xxxxxxx][CreateVM.ps1]   
[20160205-18:01:45][xxxxxxx][CreateVM.ps1]    New VM
[20160205-18:01:47][xxxxxxx][CreateVM.ps1]    Set dynamic memory
[ADVM] [2 - 4]
[20160205-18:01:47][xxxxxxx][CreateVM.ps1]    Add Nic
[ADVM][Nic1][CCI_External_vSwitch]
[20160205-18:01:47][xxxxxxx][CreateVM.ps1]    Set VLAN
[ADVM][Nic1][1001]
[20160205-18:01:48][xxxxxxx][CreateVM.ps1]    Start VM[ADVM]
[20160205-18:01:48][xxxxxxx][CreateVM.ps1]   
[20160205-18:01:54][xxxxxxx][CreateVM.ps1]    Creating
I:\VM\WindowsServer2016Datacenter.vhdx
[20160205-18:01:54][xxxxxxx][CreateVM.ps1]    Creating differencing
vhdx I:\VM\ADVM\0b1f5e5c-d01c-43ba-996a-672de1c89e6a.vhdx 
[I:\VM\WindowsServer2016Datacenter.vhdx]
[20160205-18:01:55][xxxxxxx][CreateVM.ps1]    Install Features
AD-Domain-Services,DNS for I:\VM\ADVM\0b1f5e5c-d01c-43ba-996a-672de1c89e6a.vhdx
Exporting cmdlet 'Get-WindowsFeature'.
Exporting cmdlet 'Install-WindowsFeature'.
Exporting cmdlet 'Uninstall-WindowsFeature'.
Exporting alias 'Add-WindowsFeature'.
Exporting alias 'Remove-WindowsFeature'.
Exporting function 'Enable-ServerManagerStandardUserRemoting'.
Exporting function 'Disable-ServerManagerStandardUserRemoting'.
Installation started...
[20160205-18:02:11][xxxxxxx][CreateVM.ps1]    The request to list
features available on the specified server failed.
Unable to obtain the feature list.
The configuration registry database is corrupt. Error: 0x800703f1

推荐答案

错误消息表明注册表数据库已损坏。你能检查以下内容:

The error message suggested the registry database is corrupted. Can you check the following:

1。确保音量(I:) 有足够的空间,没有磁盘错误。

1. Ensure the volume (I:) has sufficient space , and no disk errors.

2。删除\VM\ADVM \

2. Remove all content under \VM\ADVM\

4下的所有内容。确保POC下载中的VM映像未损坏。

4. Make sure the VM images in your POC download are not corrupted.

4。重新运行部署脚本。

4. Rerun the deployment script.

谢谢,


这篇关于安装ADVM任务失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-25 00:39