Questions tagged [junction]

Questions about working with NTFS junction points (somewhat similar to Linux symlinks).

Filter by
Sorted by
Tagged with
1
vote
1answer
20 views

How does Robocopy handle file system links (symbolic links, hard links and junctions)?

Is it safe to delete a Robocopy backup? I have read that some people accidentally deleted files outside of the backup because it contained links/junctions. Can I prevent this?
0
votes
1answer
26 views

What are junction points for files (instead of directories)?

According to https://ss64.com/nt/mklink.html, junctions cannot link to files. Also, when I try this nevertheless with mklink /j junction-file target\foo.txt, the command will succeed, but the junction ...
0
votes
0answers
12 views

How do I create a hard link/junction for multiple folders pointing to a single folder?

Example: D:\Comp\ this directory has these folders - Volume 1 Volume 2 Volume 3 I want to point Volume 1 and Volume 2 to one folder, and Volume 3 to another such that everything looks like this: ...
0
votes
0answers
14 views

Can `mklink /J` be used to create symbolic links to files on windows?

All the docs I found online (eg: https://ss64.com/nt/mklink.html, https://stackoverflow.com/questions/9042542/what-is-the-difference-between-ntfs-junction-points-and-symbolic-links etc) mention that ...
4
votes
1answer
126 views

Windows 10 mklink to c:/originalDirectory which preserves original files if they are deleted from the linked directory

Updated: I want to do something, but I don't know how and I suspect that it isn't possible. I'm on Windows 10. Imagine that I have a directory c:\originalDirectory and I create a link at c:\...
0
votes
0answers
39 views

How do I undo the MkLink junction I made? [duplicate]

I have no idea what I'm doing. I needed to back up my iPhone, but the storage on my computer was too low, so I followed a guideline on how to back it up directly to an external hard drive. It required ...
0
votes
1answer
58 views

Can't install software when c:\Windows\Installer is Junctioned

When I move all files from c:\Windows\Installer to E:\SymLinked\Installer and then do a mklink /J c:\Windows\Installer E:\SymLinked\Installer, reboot, and then try installing software I get errors ...
-1
votes
2answers
68 views

Writing files over network on another machine

I have the following scenario: CentOS machine which downloads files (e.g., wget, or any software that tries to save to local disk) Ubuntu machine which contains the storage for the downloaded files (...
0
votes
1answer
31 views

Windows: Get absolute path of junctioned folder

System: Windows 10x64pro I have a folder junctioned into another. However, once inside the junctioned folder, I need to be able to get its actual absolute path. How is this done? Come to think of it,...
0
votes
1answer
359 views

NTFS junction from Windows Store Gears 5 pointing to kernel device

I just installed the new Gears 5 game from Windows Store and I can't figure out where it's installed so that I whitelist it in the firewall. PS C:\Program Files\WindowsApps> Get-Item .\Microsoft....
1
vote
2answers
2k views

Can an NTFS junction point be followed over a network share?

OS: Windows Server 2016 If i have a folder X containing a junction point to another folder Y (on same machine and same volume). Then if i share X over the network, will a remote user that connects to ...
0
votes
1answer
63 views

Understanding Junction

Most games I play stores its "save" data files in either "C:\Users\ShortQuestion\My Documents" or "C:\Users\ShortQuestion\Saved Games" Since I don't want all these save files filling up my C ...
0
votes
0answers
36 views

Windows 7 Pagefile on Mounted Partition, on 1 HDD System: Folder Attributes/Permissions?

I wish to put my pagefile.sys in a separate partition on the same HDD as my boot partition, mounted on a folder in the tree of my boot partition — say "$PagePart". My question: should $PagePart ...
1
vote
0answers
198 views

How to delete a junction link where the target doesn't exist?

I have a directory junction whose target doesn't exist anymore and I want to delete said junction. Sounds easy enough but I get errors when I try: > rd Documents Access is denied. > fsutil ...
4
votes
3answers
1k views

7zip force ignore NTFS junctions

Windows 1803, 7z 18.05 Trying to archive and compress a folder structure with multiple NTFS junctions referencing parts of the said structure (i.e. no "outside" links) - any possibility to compress ...
1
vote
1answer
183 views

In Windows 10, is there a way to do a “reverse lookup” for a folder junction?

In other words, I know that someplace a junction exists that links to folder X - how can I find that junction? Or, since there could (theoretically) be more than one junction to this folder, how can I ...
2
votes
1answer
303 views

How to prevent symbolic directory links from getting deleted during Windows or Visual Studio updates?

I have created symbolic links using mklink /d for both C:\Windows\Installer and C:\ProgramData\Package Cache in order to save SSD space. From time to time, these folders get recreated locally (...
2
votes
1answer
5k views

How to properly delete a Directory Junction?

I am using multiple installations of the same game (on Windows 10 Home), in order to have easier access to various addon/user configurations. The subfolders of each installation are Directory ...
0
votes
1answer
95 views

Using junctions in PATH

I've noticed a couple of times that it looks like I can't use NTFS junctions under %SystemRoot%, put the ensuing file path in my PATH, and get it to work for DLL lookup. For example, if I put a ...
3
votes
0answers
1k views

How to delete a folder that may be a junction, and the destination using command line in Windows

I want to completely remove a 'folder' that may or may not be a junction to another folder. If the 'folder' isn't a junction rd /s /q 'folder' will do the job. But if the 'folder' is a junction to ...
1
vote
0answers
49 views

AdwCleaner finds my symlink as a threat. Why?

Malwarebytes AdwCleaner finds my hard link (aka directory junction) as a threat. Why is this? Or is it normal for this type of links to be considered a threat by such programs? And if it's not ...
0
votes
1answer
146 views

Using “broken” junction link to block writes

So I wanted to stop Spotify from caching to my SSD (I have a small 60 GB drive), but apparently it's not possible to disable caching. Spotify keeps the cache in the %LocalAppData%\Spotify\Data folder....
1
vote
1answer
132 views

Representation of junctions in Windows

I'm using a set of junctions to move my user folder tree to another drive, as my OS install is on a rather small SSD. However, the junctions still appear as if they occupy space on the SSD. Can I do ...
5
votes
2answers
5k views

Is it possible to make Windows 10 show symbolic links with a different icon in Explorer?

I would like to know when I am browsing a symbolic link folder as I have had issues with copying directories then missing the fact that symbolic links have been lost through the copy operation etc. Is ...
-1
votes
1answer
939 views

Can I move one folder from c:\ProgramData to different drive using junction?

i`m using win 10, Can I move one folder from c:\ProgramData to different drive using junction and keep software which has data in that folder fully functional? and please can you write how to write a ...
1
vote
1answer
586 views

Create junction between OneDrive Music folder and Google Drive on Windows 10

I have all of my music stored on Google Drive, which I can access on my laptop at C:\Users\{USERNAME}\Google Drive\Music I am trying to set up a junction between this folder and the OneDrive Music ...
1
vote
0answers
74 views

Start Menu, Metro apps, and other functions are broken after migrating system directories with symlinks

I've tried several times now to migrate Program Files, Program Files (x86), and AppData to my second HD with various degrees of success. (I have already migrated my User directories to the second HD ...
1
vote
1answer
2k views

Using external USB 3.0 SSD for improving performance on Windows 10

I recently got an all-in-one. Unfortunately it has a very slow 5400 RPM HDD and I can't really upgrade to internal SSD (the AiO is not really DIY upgradeable). I do have a external SSD connected via a ...
2
votes
0answers
1k views

mklink directory junctions are inaccessible on Windows 10

I created a junction with the mklink command on Windows 7 and it worked great for the past 2 years. (EDIT: I have now verified that this exact scenario/problem still exists on a brand new laptop with ...
2
votes
1answer
2k views

Creating Junction from mapped NAS

I need to create a junction "test" on J:\ (which is a Windows partition) which should refer to K:\folder1\folder2\folder3 (mapped network drive). I cd into J:\ and ran the command mklink /J k:\...
3
votes
1answer
1k views

Windows junction invalid on network share

I usually have this setup on my Windows machines: I share a single folder such as C:\share as network share. Then I use mklink /J somedir C:\somedir to create junction points to directories I want to ...
1
vote
0answers
188 views

Use Junction or symbolic link to “rename” NTFS directory

I was wondering (indeed it would be very useful) if it is possible to use NTFS Junction, symbolic link or something like that to use an alias for some directory, and at the same time to hide the ...
1
vote
1answer
2k views

make NTFS Junction system hidden on Windows

I'm trying to migrate my user profile to a separate partition an I've got to the point of adding the compatibility system Junctions to the new profile. However I don't want to see them in my profile ...
1
vote
0answers
173 views

How to FastCopy Only…? Junctions? Hard Links? etc?

I'm new to FastCopy. How can I use it to copy only a certain type of file/folder? e.g. How to copy only junctions, and nothing else?
0
votes
1answer
208 views

How to Count Hard Links, Symbolic links, and Junctions on an Ntfs Volume

I know of some programs that claim to count one or the other, but I don't know of any that can count all three. I would like to count all three and print out a list like so: Hard Links: 123 ...
0
votes
1answer
951 views

mklink /J created to “Computer”

In trying to create a junction link for my iTunes backup folder, I accidentally pointed to a directory called "Computer/MediaSync" This occurred because I forgot to use quotation marks around the ...
1
vote
0answers
193 views

Maintain duplicate files with same/ different names on a Windows NTFS drive? Use junctions, symbolic or hard links?

Maintain duplicate files with same/ different names on a Windows NTFS drive? Use junctions, symbolic or hard links? I've read junctions, symbolic links and hard links, but its unclear how the ...
7
votes
1answer
2k views

How to get directory sizes without junctions in Far Manager

By default Far Manager includes sizes junction into the directory size (F3). Is there a way to avoid counting them?
0
votes
2answers
966 views

How To Move The Windows Folder To A Different Drive?

I have two small hard drives. However, i store all my files on the boot drive. This makes the boot drive very slow. I've read before that it's possible to move a folder to a different drive and make ...
1
vote
1answer
10k views

Vudu and Spotify Download Location

Vudu and Spotify both store the offline/downloaded files in 'AppData/Roaming' and I have maxed out my 'C' Drive. I want to move it to my larger 'D' Drive. I looked up what to do and all over the ...
25
votes
5answers
37k views

Moving Windows folders around with Junction links (mklink)

Space on my SSD is running pretty low, and there seems to be a 19GB folder in Windows that sticks out (%windir%\Installer) and cannot be safely deleted (as explained here: https://serverfault.com/q/...
1
vote
1answer
151 views

How can I make alias for desktop folder on XP?

I don't want other users save file to system drive, how can I make a direct link of desktop folder to another folder?
3
votes
4answers
9k views

Windows 10 Upgrade and Junctions

I have a 465 GB SSD and a 4 TB HDD in my Windows 7 Ultimate x64 machine. I have a junction (not symlink) that points C:\Users to D:\Users. Does anyone know if the Windows 10 upgrade will still ...
2
votes
1answer
1k views

Update junction in Windows 8.1

I'm doing this: net stop wuauserv then: rename c:\windows\SoftwareDistribution SoftwareDistribution.old and then: mklink E:\windows\SoftwareDistribution \D I'm doing \d in the end because ...
3
votes
2answers
2k views

Can I create a shortcut which points to a specific drive regardless of its drive letter?

I noticed that I cannot use \\?\Volume{f993747a-5d7a-4de1-a97a-c20c1af1ba02}\path\to\target or \Device\HarddiskVolume5\path\to\target as shortcut targets—it won't work. It only works when I use drive ...
0
votes
0answers
121 views

Win 7 Create Folder Junction from Desktop to inside Dropbox Folder

I'm not asking how it can be done, I already know how to; MKLNK /j C:\Users\<username>\Desktop C:\Users\<username>\Dropbox\Desk What I want to know is whether or not I should. I know ...
1
vote
1answer
956 views

Read-only NTFS junction point or symlink

On our file server, we have a directory, let’s say S:\, that is shared out as \\server\share. This share is mounted (mapped) by our application server, as, say, M:\ = \\server\share. We use a ...
0
votes
3answers
4k views

Create Junction point for Program Files (x86) on functioning system

Recently I found that my lowly 128GB SSD was filling up to the point where I had to uninstall old games to install new games. That wasn't bad until I had to install some other applications for actual ...
1
vote
1answer
271 views

Duplicated Junction Folder

Using Cobian Backup, I backed up my home folder and neglected to deselect "Include Junctions." I now have a recursive Application Data folder filling my entire backup drive: B:\Desktop\TIMOTH~1\...
1
vote
2answers
463 views

Windows 7 User profiles not functioning after SSD > HDD move

Windows 7 x64 Home P. OEM I decided to move my Users and ProgramData folders onto my secondary disk to save SSD space. I booted into "repair" mode on the windows DVD. Both drives are NTFS. The drives ...