Although in most cases you should not migrate these items, this behavior can cause a discrepancy when you compare the file count in Windows with the file count in your Migration report or Source analysis report.
How to get a more precise item count
To validate your migration with a more precise file count at the source , you can use the Command Prompt in Windows to generate 2 reports that will provide you with information about these hidden and system items in your file share.
With these reports, you can substract the number of hidden and system items from the total number of items in your file share.
To generate the files, follow these steps:
- In Windows, open the Command Prompt app.
- Select the drive or folder you want to find the hidden or system items on.
- To select the root of a drive, type the letter of the drive followed by a colon (:) and press enter.
- To select the root of a folder, type cd (for change directory), drag and drop the wanted folder next to the command or type the path manually, and press enter.
- Type the following code for your system files:
dir /S /A:S > systemfiles.txt
- Press enter.
- Type the following code for your hidden files:
dir /S /A:H > hiddenfiles.txt
- Press enter.
- In Windows open the File Explorer, go to the root of the drive or folder you selected at step (2), and you will find the two reports you generated at steps (3) and (5).
Manage hidden items
You can hide and unhide items in the View tab of the File Explorer in Windows.
To see your hidden items, checkmark Hidden items in the View menu.
To hide or unhide an item, select Hide selected items in the menu (the button is blue when an item is hidden).