DDWindows 包自动扩展硬盘和开启3389远程桌面方法

520 教程

无人值守应答文件Unattend.xml编辑添加下面内容

自动扩展硬盘

                <component name="Microsoft-Windows-Deployment" 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">
                        <ExtendOSPartition>
                           <Extend>true</Extend>
                        </ExtendOSPartition>

开启远程桌面

<component name="Microsoft-Windows-TerminalServices-LocalSessionManager" 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">
                        <fDenyTSConnections>false</fDenyTSConnections>        
                </component>
                <component name="Microsoft-Windows-TerminalServices-RDP-WinStationExtensions" 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">
                        <UserAuthentication>0</UserAuthentication>
                </component>
                <component name="Networking-MPSSVC-Svc" 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">
                        <FirewallGroups>
                                <FirewallGroup wcm:action="add" wcm:keyValue="RemoteDesktop">
                                        <Active>true</Active>
                                        <Group>@FirewallAPI.dll,-28752</Group>
                                        <Profile>all</Profile>
                                </FirewallGroup>
                        </FirewallGroups>
                </component>