在我开始之前,我想道歉,如果我的英语不是100%正确的,因为它不是我的主要语言 所以,这是我的问题:
我有一个删除了GUI的Windows Server 2012 R2服务器。 包括有效载荷。 当我尝试重新安装它,它给了我一个错误,来源是不正确的。 不过,我也尝试了这个新的服务器,卸载gui,然后执行这些步骤,它在那里工作!
这是我试过的:
Install-windowsfeature cmdlet
以install.wim作为源代码的Install-windowsfeature cmdlet
以install.wim作为源的DISM
卸载所有的KB,然后再尝试上述所有。
我已经在testing服务器上用Install.wim作为源尝试了DISM,并且在那里工作。 然而,在这个问题的服务器,它被卡住在67,6%,然后失败,说它无法find一个来源。
这是我做DISM的方法:
<#Upgrade Windows Server 2012 R2 Core to GUI with ISO <# Make a folder for install.wim mkdir c:\w2012\image <# Copy the install.wim from the Windows Server 2012 R2 ISO to the machine copy $cd\sources\install.wim c:\w2012\image <# Retreive the name or index number of the image <# Server Standard is Index:2 <# Server Datacenter is Index:4 DISM /Get-ImageInfo /ImageFile:C:\w2012\image\install.wim <# Create a folder to mount the install.wim mkdir c:\w2012\mountpoint <# Mount install.wim in mountpoint DISM /Mount-Image /Imagefile:C:\w2012\image\install.wim /index:2 /MountDir:C:\w2012\mountpoint /readonly <# Upgrade to full GUI DISM /online /enable-feature /featurename:Server-Gui-Mgmt /featurename:Server-Gui-Shell /featurename:ServerCore-FullServer /source:C:\w2012\mountpoint\windows\winsxs <# done.
但是,我得到以下错误:
源文件无法下载。 使用“源”选项指定恢复function所需文件的位置。 有关指定源位置的更多信息,请参阅http://go.microsoft.com/fwlink/?LinkId=243077 。
我已经尝试了所有不同的指标,但没有效果。
另外,一种拉取configuration并粘贴到GUI服务器上的方法也不错,但将其升级到GUI具有优先权。 但是,如果你知道一种方式,请让我知道。
今天我遇到了同样的问题。 发生了什么事是人A安装了2012 R2核心服务器上的iso映像A.人B来了,并试图添加使用从iso B中提取的文件的GUI。操作系统给出的错误,无法find源文件。 我们提取的文件formsISO A,并再次尝试和安装工作。
没有可能的解决scheme可以find(我有这张贴在其他论坛太),所以现在我们要尝试复制configuration到一个新的安装的GUI服务器。