我正在使用安装介质上的默认 boot.wim 文件为Windows Server 2012无人值守部署设置Windows 部署服务(WDS) 。我有一个 PowerShell 脚本,可以为我们的站点执行自动自定义。我希望这个脚本在 specialize 阶段运行,所以我不必搞乱自动登录,并且能够在配置期间保存自己重新启动。脚本似乎没有运行,日志只给出了无用的错误代码。
这是我的无人值守文件的相关部分:
<settings pass="specialize">
<component name="Microsoft-Windows-Deployment" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<RunSynchronous>
<RunSynchronousCommand wcm:action="add">
<Order>1</Order>
<Credentials>
<Domain>WDSSERVER</Domain>
<Password>APASSWORD</Password>
<Username>AUSERNAME</Username>
</Credentials>
<Path>"c:\windows\system32\windowspowershell\v1.0\powershell.exe" -executionpolicy unrestricted -command "\\<REMOTESERVER>\reminst\customize\specialize.ps1"</Path>
</RunSynchronousCommand>
</RunSynchronous>
</component>
</settings>
Run Code Online (Sandbox Code Playgroud)
响应来自 kce 的请求。这是脚本本身:
write-host "Executing customisation script."
write-host "enabling powershell script execution"
Set-ExecutionPolicy Unrestricted
write-host "Bringing non-system disks online..."
Get-Disk | Where-Object IsOffline –Eq $True | Set-Disk –IsOffline $False
Set-Disk -Number 1 -IsReadOnly $False
Set-Disk -Number …Run Code Online (Sandbox Code Playgroud) 我正在设置一台 RRAS 机器供我个人使用和供我的几个朋友使用。我目前使用的是 Windows Server 2012;但我已经在 Windows Server 2008 R2 上试过了。两个系统都没有按预期工作。
我曾尝试让 OpenVPN 在 Debian 6 上工作,但没有运气。最后,我希望有一些易于使用的客户端并且有效。
在我的 RRAS 机器上,我通过 HE.net 为它配置了来自路由 /48 的静态 IPv6 地址。(所有 IPv6 访问都由 CentOS 6 虚拟机控制,并提供网络范围的 ipv6 连接)RRAS 机器可以通过 IPv6 与 VPN 客户端和 Internet/Intranet 通信。VPN 客户端可以通过 IPv4 与 Internet、Intranet 和 RRAS 服务器通信;但他们只能通过 IPv6 与 RRAS 服务器通信。这让我相信这是 RRAS 服务器上的路由问题。此外,LAN(到 RRAS 服务器)无法通过 IPv6 ping 任何连接的 VPN 客户端,但可以通过 IPv4 ping。
现在当前配置
在我的 CentOS VM 上,我将路由表配置为正确重定向到 /48 的 RRAS 服务器。
在我的 RRAS 服务器上,我已将 2001:XXX:XXXX:XXXX::1 分配给它的接口,它再次来自我的 /48。
在 RRAS 控制台中,我已将 …
每次我尝试在服务器核心上安装管理 GUI 时,我都会收到此错误。
Install-WindowsFeature : The request to add or remove features on the specified server failed.
Installation of one or more roles, role services, or features failed.
The source files could not be downloaded.
Use the "source" option to specify the location of the files that are required to restore the feature. For more
information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077. Error: 0x800f0906
At line:1 char:1
+ Install-WindowsFeature Server-Gui-Mgmt-Infra -Source C:\mountdir\Windows\WinSxS
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (@{Vhd=; …Run Code Online (Sandbox Code Playgroud) 我真的很难安装这个。我已经尝试了这里的建议,试图纠正任何可能的腐败。我将磁盘映像安装到“G”以进行离线安装。我还尝试了具有类似结果的在线安装。输出如下:
Microsoft Windows [Version 6.2.9200]
(c) 2012 Microsoft Corporation. All rights reserved.
C:\Users\Administrator>dism /online /enable-feature /featurename:NetFX3 /All /So
urce:G:\sources\sxs /LimitAccess
Deployment Image Servicing and Management tool
Version: 6.2.9200.16384
Image Version: 6.2.9200.16384
Enabling feature(s)
[==========================100.0%==========================]
Error: 3017
The requested operation failed. A system reboot is required to roll back changes
made.
The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
Run Code Online (Sandbox Code Playgroud)
记录如下(仅限错误/警告):
2013-04-08 23:40:17, Error DISM DISM Package Manager: PID=3756 TID=3768 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x80070bc9)
2013-04-08 23:40:17, Error DISM …Run Code Online (Sandbox Code Playgroud) 在公司网络中,我注意到所有检查过的 Windows Server 2012 机器都打开了ECN:
> netsh interface tcp show global
TCP Global Parameters
----------------------------------------------
Run Code Online (Sandbox Code Playgroud)
...
ECN Capability : enabled
Run Code Online (Sandbox Code Playgroud)
它是否在 Windows Server 2012 上默认开启?在所有较旧的 Windows 系统上,我看到它默认关闭,这在 Wikipedia 文章中得到了确认。1我在任何地方都找不到有关 Windows Server 2012 的信息。
尽管ECN RFC于 2001 年发布,但仍有许多设备和互联网服务无法与 ECN 正常工作。在 Windows 中进行这样的更改会有点勇敢。
我在 eBay 上查找,发现有人以比零售价便宜的方式出售 Windows Server 2012 Datacenter 的副本。我假设他们只是转售批量许可证或其他东西。
以这种方式购买许可证存在哪些陷阱?为什么有人会为 MS 的数据中心副本支付 2500 美元?
在从字面上检查了整个互联网之后,我希望我能在这里得到帮助。
我正在尝试使用 nfs 和单点登录将 ubuntu 12.04 服务器集成到 Windows 2012 活动目录中。
srv04 Ubuntu 应用服务器
域:lettrich.local
例如。
sudo kdestroy
sudo kinit -k
kinit: Client 'host/srv03.lettrich.local@LETTRICH.LOCAL' …Run Code Online (Sandbox Code Playgroud) 我有一个安装程序抱怨错误的 Windows 版本号,阻止升级到要安装在 Windows Server 2012 上的应用程序:
不支持的操作系统,major=6,version=2.2,sp=0.0,type=3
是否有可能使用垫片来改变type=3到type=1对安装?如果是这样,关键步骤是什么?
根据.exe文件的属性,安装程序是用dotNetInstaller 制作的。我可以想象它通过调用 API 函数来检索版本号(更新:不,它是)。我已经尝试在各种兼容模式下运行安装程序。不幸的是,这不会影响报告的版本号。另请参阅我关于超级用户的问题。GetProductInfo GetVersionEx
我有同样的问题。一个我们曾经在windows server 2008R2上完美运行的计划任务,在windows server 2012中没有执行。这个任务的可执行文件,取决于用户环境文件夹。
即使任务指定了用户帐户,在未登录到服务器的情况下运行时,它也会根据默认配置文件执行,因此用户环境文件夹不是正确的,并且可执行文件失败。
有人知道如何解决这个问题吗?
比如3ds max的渲染节点?
或者换句话说,Windows Server 更像是准系统还是专门用于 Active Directory、DNS、IIS 等?
是的,我知道这个问题很简单,但我似乎对此一无所知。
windows ×3
.net-3.5 ×1
installation ×1
ipv6 ×1
kerberos ×1
legacy ×1
linux ×1
netsh ×1
networking ×1
powershell ×1
rras ×1
tcp ×1
ubuntu ×1
wds ×1
windows-pe ×1