Windows 10で新しいユーザープロファイルを作成する場合、オペレーティングシステムは設定を保存するための場所を必要とします。この情報はWindowsレジストリ(Windows Registry)に保存されていると思われるかもしれませんが、完全にそうであるとは限りません。一部の情報はレジストリ(Registry)に保存されますが、ユーザープロファイル設定は通常NTUSER.DATに保存されます。
NTUSER.DATファイルは不可欠です。これがないと、アカウントに対して行ったパーソナライズは保存されません。NTUSER.DATファイルを誤って削除した場合、またはファイルが破損した場合、問題を解決せずにサインインすることはできません。NTUSER.DATで問題が発生した場合は、次のことを知っておく必要があります。

Windows 10のNTUSER.DATファイルとは何ですか?(What Is the NTUSER.DAT File in Windows 10?)
Windows 10でアカウントに変更を加える場合は、変更をどこかに保存する必要があります。場所は通常表示されないため、明確な場所はありませんが、探しているファイルはユーザープロファイルフォルダー(C:Users)にあります。
これはNTUSER.DATファイルであり、ユーザー設定の永続的なライブラリとして機能します。このファイルは、1993年に最初に起動されたWindows NT(Windows NT)オペレーティングシステムの初期の日付です。ユーザープロファイルにサインインすると、変更はWindowsレジストリ(Windows Registry)(HKEY_CURRENT_USER)にローカルに保存されます。

PCをサインアウト、再起動、またはシャットダウンすると、この情報は安全に保管できるようにNTUSER.DATファイルに保存されます。アカウントに再度サインインすると、NTUSER.DATファイル(およびその中に保持されている情報)がレジストリにロードされます。
NTUSER.DATファイルを使用すると、サインイン時にアカウントに加えたパーソナライズを常に利用できるようになり、設定を他のユーザープロファイルから分離できます。ファイルが破損した場合、またはファイルを手動で削除した場合、ユーザー設定は失われます。
NTUSER.DATファイルを削除してはいけない理由(Why You Shouldn’t Delete the NTUSER.DAT File)
ほとんどのユーザーは、その重要性は言うまでもなく、 NTUSER.DAT(NTUSER.DAT)ファイルが存在することすら知りません。C:Usersフォルダーのユーザープロファイルフォルダーに移動すると、通常、そこにファイルは表示されません。これは、 NTUSER.DAT(NTUSER.DAT)などの重要なファイルは、誤って削除されないように通常は非表示になっているためです。
PCに隠しファイルを表示(show hidden files)している場合でも、 NTUSER.DATファイルを削除することはお勧めできません。これを削除すると、すべてのユーザー設定が削除され、その過程でユーザープロファイルが破損します。次回サインインすると、Windowsはサインインが不可能であることを警告します。

これが発生すると、Windowsは、自分のアカウントにサインインするのではなく、(C:UsersTEMPフォルダーに)一時的なユーザープロファイルを生成します。自分のユーザープロファイルのNTUSER.DATファイルは再生成されないため、設定を保存することはできません。場合によっては、Windowsでサインインがまったく許可されないことがあります。
NTUSER.DATファイルを削除する場合は、最初に新しいアカウントを作成してから、そのユーザープロファイルのNTUSER.DATファイルを古いアカウントプロファイルフォルダーにコピーして、本物の代替ファイルに置き換える必要があります。
Windows10でNTUSER.DATを削除する方法(How to Remove NTUSER.DAT in Windows 10)
今説明したように、NTUSER.DATファイルを削除すると、ユーザーアカウントがロックアウトされる可能性があるため、ほとんどのユーザーにはお勧めできません。ただし、ファイルを削除することでユーザープロファイルの特定の問題を解決できるという限られたユースケースがあります。
たとえば、ファイルがすでに何らかの方法で破損している場合は、NTUSER.DATを削除して置き換えると、問題を解決できます。これを機能させるには、3つのユーザーアカウントが必要です。1つは破損したアカウント、1つは変更を加えることができる管理者アクセス権を持つアカウント、もう1つはコピー元の新しいNTUSER.DATファイルを持つアカウントです。
- 開始するには、管理者アクセス権を持つ2番目のユーザーアカウントにサインインします(ただし、NTUSER.DATのコピー元のアカウントはサインインしません)。サインインしたら、ファイルエクスプローラー(File Explorer)を開き、アドレスバーまたはナビゲーションオプションを使用してC:Usersフォルダーを開きます。

- C:Usersフォルダーで、削除するNTUSER.DAT(NTUSER.DAT)ファイルを含むアカウントのユーザーフォルダーを開きます。リストされているNTUSER.DAT(NTUSER.DAT)ファイルが表示されない場合は、隠しファイルへのアクセスを有効にする必要があります。これを行うには、リボンバーを使用して[表示](View ) >[隠しファイル( Hidden Files)]を選択します。

- 隠しファイルを有効にすると、NTUSER.DATファイルが一覧表示されます。ファイルを一時的に削除する(動作を停止する)場合は、ファイルを右クリックして[名前の変更(Rename)]を選択します。NTUSER.DAT.OLDなど、わかりやすい名前でファイルの名前を変更します。これにより、問題が発生した場合に、後でファイルを回復できるようになります。

- ただし、ファイルを完全に削除する場合は、NTUSER.DATファイルを右クリックして、 [削除](Delete)オプションを選択します。必要に応じて、画面上のオプションを選択してファイルの削除を確認します。

- ファイルのサイズによっては、次にごみ箱を空にする必要がある場合があります。これを行うには、デスクトップのごみ箱アイコンをダブルクリックします。(Recycle Bin)

- ごみ箱(Recycle Bin)フォルダで、NTUSER.DATファイルを右クリックし、[(NTUSER.DAT )削除]オプションを選択します(Delete)。または、リボンバーの[ごみ箱を空にする(Empty Recycle Bin )]ボタンを選択します。

NTUSER.DATファイルを削除または名前変更すると、そのアカウントのユーザープロファイル設定が失われます。(NTUSER.DAT)以下の手順に従って新しいNTUSER.DATファイルを再導入するか、Windowsの設定でユーザーアカウントを完全に削除する必要があります。(delete the user account)
破損したユーザープロファイルの回復(Recovering a Corrupted User Profile)
NTUSER.DATファイルを削除した場合、アカウントに再度サインインできなくなる可能性があります。サインインできる場合、Windowsは一時的なユーザープロファイルを生成する場合があります。つまり、サインアウトまたは再起動したときに、プロファイルへの設定や変更は保存されません。
ユーザープロファイルが破損している場合は、NTUSER.DATファイルを別のユーザープロファイルから破損したアカウントのC:Usersフォルダーにコピーできます。完全に新しいユーザーアカウントからNTUSER.DAT(NTUSER.DAT)をコピーすることをお勧めします。これは、デフォルトのプロファイルに可能な限り近いためです。
- コピー元の新しいユーザープロファイルがあると仮定して、管理者アカウントにサインインします(ただし、 NTUSER.DAT(NTUSER.DAT)のコピー元のアカウントはサインインしません)。ファイルエクスプローラー(File Explorer)を使用して、破損していないNTUSER.DATファイルを含む別のアカウントのC:Usersフォルダーを開き、 [表示](View ) >[隠しファイル( Hidden Files)]を選択して隠しファイルの表示を有効にします。

- 隠しファイルを有効にして、NTUSER.DATファイルを右クリックし、[(NTUSER.DAT)コピー(Copy)]を選択します。左側のアドレスバーまたはナビゲーションメニューを使用して、破損または削除されたNTUSER.DATファイルを含むユーザープロファイルのC:Usersフォルダーに移動します。

- NTUSER.DATファイルが破損または削除されたユーザープロファイルに移動したら、空白を右クリックして[貼り付け(Paste)]を選択します。これにより、2番目のアカウントのNTUSER.DATファイルのコピーが元のアカウントに貼り付けられます。

- コピーしたNTUSER.DATファイルを配置したら、 (NTUSER.DAT)[スタート(Start)]メニューを右クリックし、 [シャットダウン]または[サインアウト(Shut down or sign out )] >[サインアウト( Sign out)]を選択して既存のアカウントからサインアウトします。

ログアウトした後、復元したユーザーアカウントにサインインします。Windowsは新しいNTUSER.DATファイルから読み取り、この時点でサインインできるようになります。成功した場合は、パーソナライズ設定(背景を含む)を変更して、元のプロファイルを可能な限り復元できます。
Windows10の保守(Maintaining Windows 10)
NTUSER.DATファイルを削除することはほとんどのユーザーに推奨されていませんが、何らかの方法で破損したユーザープロファイルをリセットするのに役立ちます。破損したユーザープロファイルは、PCの他の問題を示しているため、破損したシステムファイルのチェック(checking for corrupt system files)など、定期的なメンテナンスタスクを実行する価値がある場合があります。
定期的なメンテナンスが重要なので、マルウェアをスキャンしてハードドライブを定期的にバックアップすることを忘れないで(scan for malware)ください。(back up your hard drive)PCが機能しない場合は、Windows 10を完全にリセットする(resetting Windows 10 entirely)か、PCをアップグレード(upgrading your PC)して、問題のあるハードウェアをより最新のコンポーネントに置き換えることを検討してください。
What Is ntuser.dat in Windows 10 and Can It Be Removed?
When you create a new user profilе on Windows 10, the operating system needs somewherе to sаνe your settings. While you might think this information is saved in the Windows Registry, that isn’t entirely the case. While some information is stored in the Registry, your user profile settings are usually saved to NTUSER.DAT.
The NTUSER.DAT file is essential – without it, any personalization you’ve made to your account won’t get saved. If you delete the NTUSER.DAT file by accident, or if the file becomes corrupted, you won’t be able to sign in without resolving the issue. If you’re having trouble with NTUSER.DAT, here’s what you’ll need to know.

What Is the NTUSER.DAT File in Windows 10?
When you make changes to your account on Windows 10, the changes have to be saved somewhere. There isn’t an obvious place for this, because the location is usually hidden from view, but the file you’re looking for sits in your user profile folder (C:\Users).
This is the NTUSER.DAT file, and it serves as a permanent library of your user settings. This file dates to the earliest days of the Windows NT operating system, first launched in 1993. When you’re signed in to a user profile, changes are saved locally to the Windows Registry (in HKEY_CURRENT_USER).

When you sign out, restart, or shutdown your PC, this information is saved back to the NTUSER.DAT file for safe keeping. After signing back into your account, the NTUSER.DAT file (and the information held within) is loaded back into the registry.
The NTUSER.DAT file ensures that any personalization you make to your account is always made available when you sign in, as well as separating your settings from other user profiles. If it becomes corrupted, or if you delete the file manually, your user settings will be lost.
Why You Shouldn’t Delete the NTUSER.DAT File
Most users won’t even know that the NTUSER.DAT file exists, let alone the importance of it. If you head to your user profile folder in the C:\Users folder, you won’t usually see the file there. That’s because important files like NTUSER.DAT are usually hidden to avoid accidental deletion.
Even if you show hidden files on your PC, deleting the NTUSER.DAT file isn’t advisable. Removing it will remove all your user settings, corrupting your user profile in the process. The next time you sign in, Windows will alert you that sign in isn’t possible.

When this happens, Windows generates a temporary user profile (in the C:\Users\TEMP\ folder), rather than signing you in to your own account. The NTUSER.DAT file for your own user profile isn’t regenerated, so you won’t be able to save any settings. In some cases, Windows may not allow you to sign in at all.
If you do remove a NTUSER.DAT file, you’ll need to replace it with a genuine alternative by creating a new account first, then copying that user profile’s NTUSER.DAT file over to your old account profile folder.
How to Remove NTUSER.DAT in Windows 10
As we’ve just explained, removing the NTUSER.DAT file really isn’t advisable for most users, as it could lock you out of your user account. However, there is a limited use case where deleting the file can resolve certain issues with your user profile.
For instance, if the file is already corrupted in some way, deleting NTUSER.DAT and replacing it can resolve the issue. You’ll need three user accounts to make this work: one corrupted account, one account with administrator access you can make changes from, and one account with a fresh NTUSER.DAT file to copy from.
- To start, sign in to your second user account with administrator access (but not the account you’re copying NTUSER.DAT from). Once you’ve signed in, open File Explorer and use the address bar or navigation options to open the C:\Users folder.

- In the C:\Users folder, open the user folder for the account with the NTUSER.DAT file you wish to delete. If you can’t see the NTUSER.DAT file listed, you’ll need to enable access to hidden files. Select View > Hidden Files using the ribbon bar to do this.

- With hidden files enabled, you should see the NTUSER.DAT file listed. If you want to only temporarily remove the file (stopping it from working), right-click it and select Rename. Rename the file something obvious, such as NTUSER.DAT.OLD. This will allow you to recover the file later, if you face any issues.

- If you want to delete the file completely, however, right-click the NTUSER.DAT file and select the Delete option. Select any on-screen options to confirm the file deletion, if required.

- Depending on the size of the file, you may need to empty your recycle bin next. To do this, double-click the Recycle Bin icon on the desktop.

- In the Recycle Bin folder, right-click the NTUSER.DAT file and select the Delete option. Alternatively, select the Empty Recycle Bin button in the ribbon bar.

With the NTUSER.DAT file deleted or renamed, the user profile settings for that account are now missing. You’ll need to reintroduce a fresh NTUSER.DAT file by following the steps below or delete the user account entirely in Windows Settings.
Recovering a Corrupted User Profile
If you’ve deleted an NTUSER.DAT file, it’s likely that you won’t be able to sign in again to your account. If you can sign in, Windows may generate a temporary user profile, meaning that any settings or changes to your profile aren’t saved when you sign out or restart.
If your user profile is corrupted, you can copy the NTUSER.DAT file from another user profile to the C:\Users folder of the corrupted account. It’s best to copy NTUSER.DAT from an entirely fresh user account, as this will be as close to a default profile as possible.
- Assuming you have a fresh user profile ready to copy from, sign in to an administrator account (but not the account you’re copying NTUSER.DAT from). Using File Explorer, open the C:\Users folder for another account with a non-corrupted NTUSER.DAT file, then enable hidden file view by select View > Hidden Files.

- With hidden files enabled, right-click the NTUSER.DAT file and select Copy. Using the address bar or navigation menu on the left, navigate to the C:\Users folder for the user profile with the corrupted or deleted NTUSER.DAT file.

- Once you’ve moved to the user profile with the corrupted or deleted NTUSER.DAT file, right-click the white space and select Paste. This will paste a copy of the second account’s NTUSER.DAT file in the original account.

- With the copied NTUSER.DAT file in place, sign out of your existing account by right-clicking the Start menu and selecting Shut down or sign out > Sign out.

After logging out, sign in to your restored user account. Windows will read from the new NTUSER.DAT file and should allow you to sign in at this point. If successful, you can make changes to your personalization settings (including your background) to restore your original profile as much as possible.
Maintaining Windows 10
Removing the NTUSER.DAT file isn’t recommended for most users, but it can help to reset a user profile that’s become corrupted in some way. A corrupt user profile points to other issues with your PC, so it might be worth running some regular maintenance tasks, including checking for corrupt system files.
Regular maintenance is important, so remember to scan for malware and back up your hard drive regularly. If your PC isn’t working, it might be time to consider resetting Windows 10 entirely or upgrading your PC, replacing struggling hardware with more up-to-date components.