How to delete orphaned hardlinks in Windows 10

  hardlink, windows

I moved my appdata folders away from my OS Drive. I connected them back with hardlinks. These hardlinks would create an item in the original parent folder’s location. This item would have an icon of a folder with the shortcut symbol.

I later decided to reverse this. In the C drive, I deleted the shortcut looking items that the hardlinks created. I then moved back the app data folders to the C drive.

Everything works except I still have some issues that I suspect might be caused by the hardlinks still lingering about.

Does deleting the shortcut also delete the hardlink or might they still be around in the system?

Source: Windows Questions