- 积分
- 14
- 最后登录
- 2024-4-26
- 精华
- 0
- 阅读权限
- 10
- 主题
- 5
- UID
- 4888147
- 帖子
- 36
- PB币
- 195
- 威望
- 0
- 贡献
- 0
- 技术
- 4
- 活跃
- 260
- UID
- 4888147
- 帖子
- 36
- PB币
- 195
- 贡献
- 0
- 技术
- 4
- 活跃
- 260
|
22F
发表于 2024-1-16 07:45:18
IP属地辽宁
|只看该作者
li_bo_xiang 发表于 2024-1-15 15:19
这个G版自己改造了一下,加入了 C:\Windows\Setup\Scripts\SetupComplete.cmd 文件,在系统安装时不运行,求 ...
问题已解决,编辑Windows\Panther\Unattend.xml 文件为以下内容:
<?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://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<OOBE>
<SkipMachineOOBE>true</SkipMachineOOBE>
<SkipUserOOBE>true</SkipUserOOBE>
</OOBE>
<AutoLogon>
<Username>Administrator</Username>
<Enabled>true</Enabled>
<LogonCount>1000000</LogonCount>
</AutoLogon>
<FirstLogonCommands>
<SynchronousCommand wcm:action="add">
<CommandLine>%SystemRoot%\Setup\Scripts\SetupComplete.cmd</CommandLine>
<Order>1</Order>
<Description>Personalized</Description>
</SynchronousCommand>
</FirstLogonCommands>
</component>
</settings>
</unattend>
|
|