Questions tagged [reparsepoint]

an NTFS file system object containing data that is processed by the file system filter when the associated file or directory is accessed, generally used for references to data stored elsewhere. Used by Windows to implement symbolic links, junctions points, volume mount points, and Microsoft Remote Storage Server (RSS). Application-specific file system filters can implement reparse points that extend the functionality of the file system in other ways.

28 questions
18
votes
1 answer

NTFS Junctions vs. Symbolic Links (for directories)

From a high-level standpoint (meaning only worrying about the results and the interface, not the implementation), what is the difference in behavior, if any, between an NTFS reparse point that points to a directory and a symbolic link that points to…
user541686
  • 205,094
  • 128
  • 528
  • 886
17
votes
2 answers

Why does Java application fail to run on Windows if jar file has L-attribute/reparse point

I'm really hoping that the following rings a bell with someone as we're running out of ideas. Answers or suggestions on how to further diagnose would be much appreciated. We have a Java app that has been running with no problems for 18 months. It…
Grayman
  • 629
  • 4
  • 14
13
votes
3 answers

Detect Symbolic Links, Junction Points, Mount Points and Hard Links

does anyone know how to check if a file or directory is either a Symbolic Link, Junction Point, Mount Point or Hard Link? As far as I know a symbolic links are detected by checking a file for its "ReparsePoint" attribute. Junction points are…
Alexander
  • 3,724
  • 8
  • 42
  • 50
5
votes
2 answers

follow hard links (reparsepoints?) to files (windows terminal)?

How do you follow a hard link (reparse point?) to a file? Piping to format-list doesn't show the target. At least in powershell 7, you get a little ascii arrow. That folder is in the $env:path. MicrosoftEdge.exe is linked in the same folder, if…
js2010
  • 23,033
  • 6
  • 64
  • 66
5
votes
1 answer

Getting full file attributes for files managed by Microsoft OneDrive

Microsoft OneDrive allows file to be stored either locally, remotely or in the both ways. This is determined by new file attributes which appeared in the Windows 10: FILE_ATTRIBUTE_PINNED 0x00080000 FILE_ATTRIBUTE_UNPINNED …
Mikhail Kupchik
  • 308
  • 2
  • 8
4
votes
1 answer

Can't Get Reparse Point Information for the OneDrive Folder

I'm using the code below to retrieve reparse point information in my application. This works great for symbolic links and junctions, but fails with 'Not a reparse point' for the OneDrive folder and all it's child items. using (SafeFileHandle…
Randall Deetz
  • 512
  • 4
  • 25
4
votes
1 answer

NTFS Junctions, trouble understanding the API

Update: This question has evolved into a question about the NTFS filesystem filter driver how to use the Win32 API in backup applications and other programs that need to know what a file really is on disk? Junctions and reparse points are key…
unixman83
  • 9,421
  • 10
  • 68
  • 102
4
votes
3 answers

What is the best way to check for reparse point in .net (c#)?

My function is pretty much a standard search function... I've included it below. In the function I have 1 line of code responsible for weeding out Repart NTFS points. if (attributes.ToString().IndexOf("ReparsePoint") == -1) The problem is now I am…
Michael L
  • 5,560
  • 7
  • 29
  • 32
4
votes
1 answer

How to retrieve the target of a Junction or Symlink with a standard user

I am trying to get the target of a junction in my program, but the only way I managed do it is: Requesting Backup privileges p-invoke CreateFile with special parameters to get a handle to the file/dir. DeviceIoControl call to the get the…
Zolka
  • 221
  • 1
  • 3
  • 8
4
votes
1 answer

Identifying bad ReparsePoints with GetDirectories() in .Net 3.5?

I am using Directory.GetDirectories() with a Linq statement to loop through all directories in a folder that aren't system folders, however I am discovering a bunch of bad ReparsePoints in the folder, which is causing the method to take a long time…
Rachel
  • 130,264
  • 66
  • 304
  • 490
2
votes
1 answer

What are WCI reparse points (tag 0x80000018)?

The reparse point tag 0x80000018 has the "Microsoft" bit set, but is not documented on MSDN. This tag is new to Windows 10 and is defined in the SDK as IO_REPARSE_TAG_WCI. Information on this is very scarce and the most I could find on it is that it…
Roman Starkov
  • 59,298
  • 38
  • 251
  • 324
2
votes
0 answers

I corrupted OneDrive for all my coworkers

I wanted to backup my OneDrive for Business folder to an external HD (I use Veeam) and that has not been possible for a while, after some update by Microsoft. This morning I did some research and I stumbled upon this:…
Fr Pesca
  • 37
  • 2
2
votes
1 answer

BackupWrite: access denied on reparse points

I am using BackupRead and BackupWrite to implement a file synchronization between 2 folders. I can use them on files and folders without any issue. But when I want to use them on a reparse point, BackupWrite fails with an access denied error. The…
v77
  • 216
  • 1
  • 14
2
votes
2 answers

Does the "SubstituteName" string in the PathBuffer of a REPARSE_DATA_BUFFER structure always start with the prefix "\??\", and if so, why?

I am trying to use Windows API functions compatible with Windows XP and up to find the target of a junction or symbolic link. I am using CreateFile to get a handle to the reparse point, then DeviceIoControl with the FSCTL_GET_REPARSE_POINT flag to…
qdet
  • 115
  • 3
1
vote
0 answers

Get FinalPath for any given UNC folder path (including NAS) and any per-user redirects

I need to figure out if a given (UNC) path actually points/ends/is the given path (directory). Example: "\?\UNC\machine1\shared1". GetFinalPathNameByHandle will result in "\?\UNC\machine1\shared1". However, if there's a symlink "sym" inside shared1…
1
2