Win7 sysprep : 把C:\User 移動到 D:\ User

WIN7內已含有Sysprep軟體
路徑為 c:\windows\system32\sysprep


當您準備使用
Sysprep軟體時 請把作好的Os 先複制1份 以防萬一
請開啟記事本 把以下文字copy 貼上 把檔案名改為 copyprofile.xml
請注意尾檔名為.xml 並且存放在 C:\

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <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">
            <CopyProfile>true</CopyProfile>
            <RegisteredOrganization />
            <RegisteredOwner />
        </component>
    </settings>
    <settings pass="oobeSystem">
        <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">
            <OOBE>
                <HideEULAPage>true</HideEULAPage>
                <ProtectYourPC>3</ProtectYourPC>
            </OOBE>
            <FolderLocations>
                <ProfilesDirectory>D:\Users</ProfilesDirectory>
            </FolderLocations>
        </component>
    </settings>
<cpi:offlineImage cpi:source="wim:d:/win7%20source/x86/install.wim#Windows 7 Professional" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>



2.Type cmd  並且進入c:\windows\system32\sysprep    進入後 輸入sysprep.exe空格/generalize空格/oobe空格/unattend:C:\copyprofile.xml 

留言

這個網誌中的熱門文章