当前位置:主页 > 萝卜家园系统教程 > Win10|8.1|10启用Administrator帐户无人值守通用应答文件Unatten

Win10|8.1|10启用Administrator帐户无人值守通用应答文件Unatten

发布日期:2016-11-19 08:14    来源:www.51luobo.cn    作者: 萝卜家园系统

安装WIN10/8/8.1/10操作系统时,并没有可以启用Administrator账户的选项,而我们经常需要高权限操作,或者有一些操作只能在Administrator账户进行。安装完系统再去启用Administrator账户看着非常不舒服。因此我用Windows ADK制作了安装系统时可以直接启用Administrator账户的应答文件Unattend.xml。在这里共享文件代码如下:


64位版本:

<?xml version="1.0" encoding="utf-8"?>
< unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://www.w3.org/2001/XMLSchema-instance">
            <OOBE>
                <SkipMachineOOBE>true</SkipMachineOOBE>
                <SkipUserOOBE>false</SkipUserOOBE>
            </OOBE>
            <AutoLogon>
                <Username>Administrator</Username>
                <Enabled>true</Enabled>
                <LogonCount>1</LogonCount>
            </AutoLogon>
            <LogonCommands>
                <AsynchronousCommand wcm:action="add">
                    <Description>Active</Description>
                    <Order>1</Order>
                </AsynchronousCommand>
            </LogonCommands>
        </component>
    </settings>
< /unattend>


32位版本:

<?xml version="1.0" encoding="utf-8"?>
< unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="oobeSystem">
        <component name="Microsoft-Windows-Shell-Setup" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://www.w3.org/2001/XMLSchema-instance">

友情链接