Windows无人参与安装 - Unattended.xml AdministratorPassword加密/散列

时间:2015-08-21 12:20:43

标签: windows hash passwords

我正在试图弄清楚如何手动(在Linux机器上)加密/哈希管理员密码的Autounattended.xml中的密码。

现在我有一个来自Windows工具的哈希,如:

        <UserAccounts>
            <AdministratorPassword>
                <Value>eAB4AEgANwAtAEgASAAyAGYAQQBkAG8AaQBuAGkAcwB0AHIAYQB0AG8AcgAQAGEAcwBzAHcAbwByAGQA</Value>
                <PlainText>false</PlainText>
            </AdministratorPassword>
        </UserAccounts>

我想知道如何在linux中散列密码以将散列字符串放入Autounattended.xml以进行自动Windows安装。

目前我没有找到关于如何对密码进行哈希处理的任何线索,现在看来我只能通过Windows无人值守生成工具生成哈希密码。

1 个答案:

答案 0 :(得分:1)

哈希是用AdministratorPassword字符串连接的实际密码的base64表示。但我并不完全确定,因为你的字符串不完整。