How to Create and Manipulate NTFS Junction Points
ID: Q205524
|
The information in this article applies to:
-
Microsoft Windows 2000 Professional
-
Microsoft Windows 2000 Server
-
Microsoft Windows 2000 Advanced Server
-
Microsoft Windows 2000 Datacenter Server
SUMMARY
With NTFS junction points you can surpass the 26 drive letter limitation. By using junction points, you can graft a target folder onto another NTFS folder or "mount" a volume onto an NTFS junction point. Junction points are transparent to programs.
Preview Tools for NTFS Junction Points
Microsoft offers three utilities for creating and manipulating NTFS junction points:
Linkd.exe
- Grafts any target folder onto a Windows 2000 version of NTFS folder
- Displays the target of an NTFS junction point
- Deletes NTFS junction points created with Linkd.exe
- Location: Microsoft Windows 2000 Resource Kit
Mountvol.exe
- Grafts the root folder of a local volume onto a Windows 2000 version of NTFS folder (or "mounts" the volume)
- Displays the target of an NTFS junction point used for mounting a volume
- Lists local file system volumes available for use
- Deletes volume mount points created with mountvol.exe
- Location: Windows 2000 CD-ROM in the I386 folder
Delrp.exe
- This tool deletes NTFS junction points. It also deletes other types of reparse points, which are the entities underlying junction points
- Delrp.exe is aimed primarily at developers creating reparse points
- Location: Microsoft Windows 2000 Resource Kit
MORE INFORMATIONSample Usage
Usage Recommendations
NOTE: Microsoft recommends you follow these recommendations closely when using junction points.
- Use NTFS ACLs to protect junction points from inadvertent deletion.
- Use NTFS ACLs to protect files and directories targeted by junction points from inadvertent deletion or other file system operations.
- Never delete a junction point using Explorer, a del /s command, or other file system utilities that walk recursively into directory trees. These utilities will affect the target directory and all subdirectories. Instead, use the utilities described below to delete junction points.
- Use caution when applying ACLs or changing file compression in a directory tree that includes NTFS junction points.
- Do not create namespace cycles with NTFS or DFS junction points.
- Place all your junction points at a secure location in a namespace where you can test them out in safety, and other users will not mistakenly delete them or walk through them.
Feature Comparison to DFS:
NTFS junction points are similar in to the junction points in DFS as both are tools for grafting storage namespaces together. However, DFS typically has more features than NTFS junction points. The following table lists some differences between DFS and NTFS junction points.
Feature |
DFS Junction Points |
NTFS Junction Points |
Junction point origin |
Local network share |
Local NTFS directory |
Junction point target |
Any network share |
Any valid Windows 2000 local path |
Recoverable |
Yes |
Yes (ChkDsk) |
Persistable/portable state |
Yes (Save as File) |
Yes (explicit/copy/move/backup) |
Multi-targeting |
Yes |
No |
Clustering Support |
Yes |
No |
API |
Yes |
Yes |
Graphical Tools |
Yes |
Minimal |
Availability |
NT Server 4.0 and Above |
Windows 2000 w/NTFS |
|
|
|
Additional query words:
5.00
Keywords : kbtool winnt
Version : WINDOWS:2000
Platform : WINDOWS
Issue type : kbhowto
|