ユーザープロファイルを移動した後、Win+X メニューを有効にする

ユーザープロファイルを移動した後、Win+X メニューを有効にする

この応答ファイルを使用して C:\Users ディレクトリを移動した後:

<?xml version="1.0" encoding="utf-8"?>
<unattend xmlns="urn:schemas-microsoft-com:unattend">
    <settings pass="specialize">
        <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">
            <CopyProfile>true</CopyProfile>
            <DoNotCleanTaskBar>true</DoNotCleanTaskBar>
        </component>
    </settings>
    <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">
            <FolderLocations>
                <ProfilesDirectory>D:\Users\</ProfilesDirectory>
            </FolderLocations>
        </component>
    </settings>
    <cpi:offlineImage cpi:source="wim:e:/sources/install.wim#Windows 10 Pro" xmlns:cpi="urn:schemas-microsoft-com:cpi" />
</unattend>

そしてこのコマンド

%windir%\system32\sysprep\sysprep.exe /oobe /reboot /unattend:d:\relocate.xml

OOBE で新しいアカウントを作成することができ、既存のアカウントはすべて D: デバイス (raid0) に正常に移動されました。この sysprep の後、フォルダー C:\Users は使用されなくなり、すべてのプロファイルが D:\Users に移動されました。

しかし、新しい状況では、Win+X も Windows スタート ボタンの右クリックも何も起こりません。これは関連しているのでしょうか。また、Win+X またはスタート ボタンのコンテキスト メニューを再度アクティブ化するにはどうすればよいでしょうか。

答え1

実際には、C:\Users\jusername\AppData のすべてを移動することはできません。

そこにあるデータの一部は簡単には移動できず、移動すると何かが壊れる可能性があります。

これを考慮しましたか? おそらく、これがいくつかのことがうまくいかない理由です。

移動によりユーザー プロファイル エラーが発生する可能性があります。

通常、sysprep の前にユーザー プロファイルを設定することはありません。そこにエラーがあると思います。

関連情報