“在服务器核心测试中运行”中的未明确性 [英] Unclarity in "Operate In Server Core Test"

查看:86
本文介绍了“在服务器核心测试中运行”中的未明确性的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

鉴于[ http://msdn.microsoft.com/en- us / library / windows / hardware / dn247612.aspx ]我有以下问题:

Given [http://msdn.microsoft.com/en-us/library/windows/hardware/dn247612.aspx] I have the following question:

究竟哪些测试必须在服务器核心模式下通过并删除了有效负载?这是:

Exactly which tests must all pass in server core mode with payload removed? Is this:


  • 仅此服务器核心测试?
  • "安装和配置测试" - >这对我来说不清楚: 这些究竟是什么? 
  • 此操作系统的所有HCK测试?

此测试验证设备是否在服务器核心配置中运行。 Server Core是Windows Server的默认安装状态,可最大限度地减少攻击面,降低补丁频率,
可减少磁盘和内存占用,从而增加VM密度。要通过认证,必须在服务器核心模式下支持所有设备驱动程序,而不依赖于图形shell二进制文件。为确保满足此要求,用户界面
和基础结构功能必须为"已删除有效负载已禁用"。

如果在安装过程中安装了"完整服务器"或"带GUI的服务器",则应重新安装Windows并在安装程序中选择"服务器核心安装"选项以确保不运行认证的服务器上仍保留带有GUI
的服务器的痕迹。 必须在Server Core内完成驱动程序的所有安装和配置测试。

推荐答案

嗨约翰,

你必须只运行服务器核心测试,因为你的操作系统应该是服务器核心版。其他测试只能在GUI模式下运行。如果你有带GUI的操作系统,你可以通过在powershell上运行这些命令卸载GUI功能

You have to run only Operate in Server Core test for that your OS should be Server Core edition. Other tests you can run in GUI Mode only. if you have OS with GUI, you can uninstall the GUI features by running this commands on powershell

卸载-WindowsFeature Server-Gui-Mgmt-Infra,Server-GUI-Shell - 删除。

Uninstall-WindowsFeature Server-Gui-Mgmt-Infra, Server-GUI-Shell -Remove.

卸载后,安排测试。一旦通过测试,您可以重新安装操作系统的GUI功能以供将来使用或运行其他测试用例。安装GUI功能的步骤是

After Uninstalling, schedule the test. once test is passed, you can reinstall the GUI features of your OS for future use or running other test cases. Steps for installing GUI feature are

1。运行此命令打开cmd:Runas / user:Administrator cmd然后输入powrshell。

1. Open cmd by running this command : Runas /user:Administrator cmd and then enter into powrshell.

2。 Get-WindowsImage -ImagePath< os_iso_driver_letter> \sources\install.wim(通过运行此命令,您将了解要安装的OS版本的索引号。通常对于SERVER DATACENTER FULL INSTALLTION为4)

2. Get-WindowsImage -ImagePath <os_iso_driver_letter>\sources\install.wim (by running this command, you'll come to know the index no of the OS edition you want to install. usually for SERVER DATACENTER FULL INSTALLTION is 4)

3。安装-WindowsFeature Server-Gui-Mgmt-Infra,Server-Gui-Shell -Source< os_iso_drive_letter> \sources\install.wim:4

3. Install-WindowsFeature Server-Gui-Mgmt-Infra, Server-Gui-Shell -Source <os_iso_drive_letter>\sources\install.wim:4

谢谢,

Mudit


这篇关于“在服务器核心测试中运行”中的未明确性的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆