标签: answerfile

Windows 7 Answerfile - 自动登录不起作用

我为 Windows 7 部署创建了一个新的答案文件,它需要一个帐户才能自动登录,因此我编写的几个脚本可以完成它们的工作。我在 Microsoft 文档中阅读了AutoLogon需要在传递中添加AutoLogon组件和AdministratorPassword组件的文档,auditSystem我已经完成了。但是,计算机不会在成像时自动登录,而是加载到用户登录屏幕。我包括一个修改后的答案文件(PII 和密码已编辑)。所以我的问题很简单,我做错了什么,我需要做哪些改变AutoLogon才能工作?

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="generalize">
        <component name="Microsoft-Windows-Security-SPP" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <SkipRearm>1</SkipRearm>
        </component>
    </settings>
    <settings pass="specialize">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <ComputerName>*</ComputerName>
            <CopyProfile>true</CopyProfile>
            <ProductKey>Nonya</ProductKey>
            <RegisteredOrganization>Myplace</RegisteredOrganization>
            <RegisteredOwner>MyPlace</RegisteredOwner>
            <ShowWindowsLive>false</ShowWindowsLive>
            <TimeZone>Eastern Standard Time</TimeZone>
        </component>
        <component name="Microsoft-Windows-Security-SPP-UX" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <SkipAutoActivation>true</SkipAutoActivation>
        </component>
        <component name="Microsoft-Windows-Deployment" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
            <RunAsynchronous>
                <RunAsynchronousCommand wcm:action="add">
                    <Order>1</Order>
                    <Path>net user administrator …
Run Code Online (Sandbox Code Playgroud)

windows-7 automation answerfile autologon

6
推荐指数
1
解决办法
4760
查看次数

在 Eclipse WTP 中创建“WindowsUpdateDiagnostic.diagcab”的应答文件

WindowsUpdateDiagnostic.diagcab 我正在尝试编写此处来源的安装脚本。

msdt.exe /cab "%~dp0WindowsUpdateDiagnostic.diagcab" -af "%~dp0stillneeded.xml"
Run Code Online (Sandbox Code Playgroud)

不幸的是,创建应答文件的尝试似乎失败了:

在此输入图像描述

在 0x80092003 上没有找到太多信息。我希望通过一个示例answers.xml,我可以欺骗答案并使其正常工作。

这是一个模板,但我没有任何运气。

<Answers>

  <Interaction ID="IT_Theme">

  <Value>Nature</Value>

  </Interaction>

</Answers>
Run Code Online (Sandbox Code Playgroud)

来源:https ://msdn.microsoft.com/en-us/library/dd776530.aspx#CommandLineAdministration

提前致谢。

windows windows-7 troubleshooting platform answerfile

5
推荐指数
1
解决办法
1万
查看次数