首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Windows 2008 R2预激活模板(SYSPREP)

Windows 2008 R2预激活模板(SYSPREP)
EN

Server Fault用户
提问于 2010-11-15 02:50:46
回答 1查看 8.7K关注 0票数 2

我正试图为Windows2008 R2配置一个预先激活的模板映像.我已经阅读了许多消息来源,其中说要使用Microsoft Security-SPP\SkipRearm选项,然而,即使使用该选项,它似乎也不起作用:我将配置我的模板映像,激活窗口,然后运行sysprep (c:\windows\system32\sysprep\sysprep.exe /generalize /oobe /shutdown /unattend:c:\Sysprep\sysprep.xml)。然而,当我将此映像部署到一台新机器时,我在系统控制面板中看到“您有三天时间激活windows”消息。注意:请记住,使用的许可证来自苏丹人民解放军,而不是零售许可证。

据我所知,从许多方面来看,SkipRearm设置应该允许我们部署预先激活的新机器。我是不是漏掉了什么?下面是我的sysprep.xml。

代码语言:javascript
复制
<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <servicing></servicing>
    <settings pass="windowsPE">
        <component name="Microsoft-Windows-Setup">
            <UserData>
                <ProductKey>
                    <Key>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</Key>
                </ProductKey>
                <AcceptEula>true</AcceptEula>
                <FullName>Company</FullName>
                <Organization>Company</Organization>
            </UserData>
            <EnableFirewall>false</EnableFirewall>
            <Restart>Restart</Restart>
            <EnableNetwork>true</EnableNetwork>
        </component>
        <component name="Microsoft-Windows-International-Core-WinPE">
            <SetupUILanguage>
                <UILanguage>en-US</UILanguage>
            </SetupUILanguage>
            <InputLocale>en-US</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UILanguageFallback>en-US</UILanguageFallback>
            <UserLocale>en-US</UserLocale>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Shell-Setup">
            <ComputerName>*</ComputerName>
            <ProductKey>XXXXX-XXXXX-XXXXX-XXXXX-XXXXX</ProductKey>
            <TimeZone>Eastern Standard Time</TimeZone>
            <ShowWindowsLive>false</ShowWindowsLive>
            <CopyProfile>true</CopyProfile>
            <RegisteredOrganization>Company</RegisteredOrganization>
            <RegisteredOwner>Company</RegisteredOwner>
        </component>
    </settings>
    <settings pass="generalize">
        <component name="Microsoft-Windows-OutOfBoxExperience">
            <DoNotOpenInitialConfigurationTasksAtLogon>true</DoNotOpenInitialConfigurationTasksAtLogon>
        </component>
        <component name="Microsoft-Windows-ServerManager-SvrMgrNc">
            <DoNotOpenServerManagerAtLogon>true</DoNotOpenServerManagerAtLogon>
        </component>
        <component name="Microsoft-Windows-Security-SPP">
            <SkipRearm>1</SkipRearm>
        </component>
    </settings>
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Shell-Setup">
            <UserAccounts>
                <AdministratorPassword>
                    <Value>Password123!</Value>
                    <PlainText>true</PlainText>
                </AdministratorPassword>
            </UserAccounts>
            <Themes>
                <DefaultThemesOff>true</DefaultThemesOff>
            </Themes>
            <TimeZone>Eastern Standard Time</TimeZone>
            <FirstLogonCommands>
                <SynchronousCommand wcm:action="add">
                    <CommandLine>cmd /c rd /S /Q c:\Sysprep</CommandLine>
                    <Description>Remove Sysprep Dir</Description>
                    <Order>1</Order>
                </SynchronousCommand>
            </FirstLogonCommands>
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
            </OOBE>
        </component>
        <component name="Microsoft-Windows-International-Core">
            <InputLocale>en-US</InputLocale>
            <SystemLocale>en-US</SystemLocale>
            <UILanguage>en-US</UILanguage>
            <UILanguageFallback>en-US</UILanguageFallback>
            <UserLocale>en-US</UserLocale>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:e:/tools/waik/windows2008r2/install.wim#Windows Server 2008 R2 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>
EN

回答 1

Server Fault用户

发布于 2010-11-15 02:57:35

您不能同时使用通用、SkipRearm和OOBE。泛化过程创建所有新的许可信息,因此它将覆盖现有的激活,除非指定了SkipRearm。但是,当同时指定泛化和OOBE时,SkipRearm将被忽略。这个键还必须是一个MAK键(当使用Generalize/SkipRearm时);Retail键只能与OOBE一起使用;或者VL (但是如果您有VL键,那么无论如何应该使用KMS );听起来您有正确的键。

更新:修正了关于组合选项的遗漏。参考资料:Sysprep是如何工作的

票数 2
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/201836

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档