How can i remove the NTUSER.dat file from my System?

Solution 1:

NTUSER.DAT is the user registry hive which should not be deleted. Moreover it can't be deleted when you're logged on to your account.

Solution 2:

NTUSER.DAT contains all the registry settings for your account. This file gets loaded into HK_Current_user when you log in, hence why it is locked by the system when you are logged in.

This contains settings such as your printers, Document history for office and holds operating system information for your account. This file should not be deleted. If you do decide to delete the file, your user profile may become corrupt and you will be unable to log back in properly.

Solution 3:

I had this too. To get rid go to file explorer, select view - options - change folder and search options. Then select view - don't show hidden files and folders. I had selected show hidden files and folders when trying to delete a recycle bin file from an external hdd and that is what caused it to show the user dat.