Libraries - Include a Network Folder

How to Include a Network Drive or Folder in a Library in Windows 7 and Windows 8

   Information
By default, Windows 7 and Windows 8 does not allow you to include network drives or folders in a library. This is because folders must be indexed first in order to be added to a library, and network drives cannot be indexed unless they are synchronized.

This tutorial will show you how to include network drives or folders in a library in Windows 7 and Windows 8.

   Tip
The full path to the hidden Libraries folder is below.

C:\Users\(User-Name)\AppData\Roaming\Microsoft\Windows\Libraries

OR

%AppData%\Microsoft\Windows\Libraries






OPTION ONE

Synchronize the Network Folder or Drive


:warn:WARNING: The disadvantage of this method is that it actually copies (syncs) all network files locally so that they are available offline. It actually makes networking useless since you have to bring everything on your PC. For those not interested for this approach, please use method 2. 1. Right click on the network folder or network drive you wish to include to a library (or create a new one for it) and select "Always Available Offline". A synching process will start, synchronizing your network folder.


2. Now you can add it to a library in Windows 7 or Windows 8.



OPTION TWO

Using mklink Command


NOTE: This open is good if you don't want to make the folder available offline using OPTION ONE above because you don't want to keep the folder contents on your PC. Using this option will make searching, sorting, and filtering in the whole library slow. For best results, it's recommended to create a new library for the network folder alone. 1. Create a new folder (ex: c:\shares) on your hard drive.

2. Create a new subfolder (ex: c:\shares\pictures) in the above folder.

3. Include this folder (ex: c:\shares\pictures) to a library.

4. Delete the folder (ex: c:\shares\pictures), but do not remove it from the library.

5. Use mklink in an elevated command prompt to make a symbolic link. Name the link the same as the folder you created above. i.e - mklink /d "LINK" "TARGET"

mklink /d "c:\shares\pictures" \\Server\Network Folder

6. Done. Now you have a non-indexed network path as a library.
Limneos





 

Attachments

  • Untitled.png
    Untitled.png
    9.5 KB · Views: 39
Last edited by a moderator:
I use Win7LibraryTool_v1.05 on 5 PC's, not any problem. It's easy and I can save the basic settings and individual settings with adequate icons. The NAS folders are included but the warning message is displayed the first time use of the folder.

JPB
 

My Computer

OS
Windows 7
Hi Limneos,

Can you edit your tutorial to make it clear that the user just needs to delete the \Music folder, not the \Share\Music folders? At the moment the steps imply deleting both, which cause the symbolic link not to work.

Regards,
Golden
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Golden Mk. I.4
OS
Windows 10 Pro x64 ; Xubuntu x64
CPU
Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz
Motherboard
Gigabyte P55A-UD3R Rev.1. Award BIOS F13
Memory
16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24)
Graphics Card(s)
EVGA NVidia GTX 560 1024MB
Sound Card
Realtek Integrated
Monitor(s) Displays
Dual Samsung SyncMaster 2494HS
Screen Resolution
1920*1080 and 1920*1080
Hard Drives
1*Samsung 840 EVO 120GB SSD;
1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
1*Samsung F1 SpinPoint 1TB;
2*Western Digital 1TB External USB 3.0
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0
PSU
Thermaltake ToughPower QFan 750W
Case
Thermaltake Element S VK60001W2Z
Cooling
Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans
Keyboard
Logitech G110
Mouse
Logitech MX518
I was looking for an answer to this the other day. I kept reading that this is possible in the x86 version, but not in the x64. I have one x64 machine that I have network drives listed in the libraries, but couldn't figure out how to do it on my new machine.

I just thought to try and add it in WMP to see if it would carry over, and low and behold it did. Came to post on here, and realized that a couple people had already done so.

Anyway, if you are trying to add network shares to the default Pictures, Music, and Videos libraries, if you configure these through WMP you will be able to access the folders through the library links even if they are on an un-indexed network share.
 

My Computer

OS
Windows 7 Professional x64
CPU
i7-950
Motherboard
Asus Sabertooth X58
Memory
OCZ3G1600LV6GK
Graphics Card(s)
MSI N460GTX Cyclone 1GB
Hard Drives
Seagate Barracuda 7200RPM
PSU
Corsair HX650W
Case
Antec Nine Hundred
Libraries - What is the point?

Amazing isn't it? - the only workaround for a totally unbelievable piece of Operating System vandalism is to utilise Windows Media Player. Come on Microsoft - GET A GRIP!!!!! :cry::cry::cry:
 

My Computer

Computer Manufacturer/Model Number
Dell Optiplex GX620
OS
Windows 7
CPU
Pentium 4
Memory
3Gb
Sound Card
yes
Amazing isn't it? - the only workaround for a totally unbelievable piece of Operating System vandalism is to utilise Windows Media Player. Come on Microsoft - GET A GRIP!!!!! :cry::cry::cry:

Peter, send your complaint directly to Microsoft - it won't help complaining about it here.

Regards,
Golden
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Golden Mk. I.4
OS
Windows 10 Pro x64 ; Xubuntu x64
CPU
Intel i7 860 @ 2.80 GHz O/C'ed to 4.0GHz
Motherboard
Gigabyte P55A-UD3R Rev.1. Award BIOS F13
Memory
16GB Corsair Vengance DDR3 @ 661 MHz Dual Channel (9-9-9-24)
Graphics Card(s)
EVGA NVidia GTX 560 1024MB
Sound Card
Realtek Integrated
Monitor(s) Displays
Dual Samsung SyncMaster 2494HS
Screen Resolution
1920*1080 and 1920*1080
Hard Drives
1*Samsung 840 EVO 120GB SSD;
1*OCZ Vertex 2 60GB SSD;
2*Samsung F3 SpinPoint 1TB in RAID0;
1*Samsung F1 SpinPoint 1TB;
2*Western Digital 1TB External USB 3.0
1*Western Digital 500GB External USB 3.0
1*Seagate 500GB External USB 2.0
PSU
Thermaltake ToughPower QFan 750W
Case
Thermaltake Element S VK60001W2Z
Cooling
Corsair H60 Water Cooling, 2*230mm and 2*80mm case fans
Keyboard
Logitech G110
Mouse
Logitech MX518
Windows 7 Libraries

"Peter, send your complaint directly to Microsoft - it won't help complaining about it here.
Regards,
Golden"

Yeah - like they are going to take notice!
 

My Computer

Computer Manufacturer/Model Number
Dell Optiplex GX620
OS
Windows 7
CPU
Pentium 4
Memory
3Gb
Sound Card
yes

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Hewlett-Packard/G62-107SA Notebook
OS
Microsoft Windows 7 Home Premium 64-bit Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
Motherboard
Hewlett-Packard 1425
Memory
8 GB DDR3
Graphics Card(s)
Intel(R) HD Graphics
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
Builtin
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
250 GB SATA Hard Disk Drive 7200 rpm
2TB Seagate GoFlex USB 2 Drive
1TB Iomega Prestige USB 2 Drive
1.5TB Iomega Prestige USB 2 Drive (Samsung)
2TB WD MyBook Live NAS.
Mouse
Logitech Anywhere MX
Internet Speed
152 Mbs download 10 Mbs upload
Antivirus
Norton 360
Browser
Chrome
Jesus Christ!

I signed up for this post, because what you are doing there with simlinks and apps and stuff ist just ... :cry:

Step 1.)
Visit the computer, running the desired Folder you've shared and want to add in your library on another computer.

Step 2.)
Activate Indexing for the folder on THAT Computer (let's call it Server)

Step 3.)
Include your folder on EVERY Client Computer Library you like... Without doing any dirty workarrounds.

Picture-Line:
1.) Fail! http://dog.kraffner.de/easyshare/pictures/20110817172754.jpg
2.) Add Index on SERVER: http://dog.kraffner.de/easyshare/pictures/20110817173100.jpg
3.) Win! http://dog.kraffner.de/easyshare/pictures/20110817173126.jpg

best regards,
dognose
 

My Computer

OS
Windows 7 Professional 64bit
Hello dognose and welcome to Seven Forums.

Interesting suggestion, may work with a networked computer but I don't see how that could work with a NAS some of the other suggestions do.
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Hewlett-Packard/G62-107SA Notebook
OS
Microsoft Windows 7 Home Premium 64-bit Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
Motherboard
Hewlett-Packard 1425
Memory
8 GB DDR3
Graphics Card(s)
Intel(R) HD Graphics
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
Builtin
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
250 GB SATA Hard Disk Drive 7200 rpm
2TB Seagate GoFlex USB 2 Drive
1TB Iomega Prestige USB 2 Drive
1.5TB Iomega Prestige USB 2 Drive (Samsung)
2TB WD MyBook Live NAS.
Mouse
Logitech Anywhere MX
Internet Speed
152 Mbs download 10 Mbs upload
Antivirus
Norton 360
Browser
Chrome
Hello dognose and welcome to Seven Forums.

Interesting suggestion, may work with a networked computer but I don't see how that could work with a NAS some of the other suggestions do.

In this situation you are right. Since a NAS isnt windows based most the time, THERE you need another way.

IIRC, it will work (without any tools), if you map the destination folder as a network drive, and then include the network drive to the library.

(Well this ofc. is similar to using simlinks then.)

dognose
 

My Computer

OS
Windows 7 Professional 64bit
Hi all,

There is an official "Microsoft" way of making Libraries behave better with non-indexed network locations. Here's how.

Log in using an administrative account.
Run "gpedit.msc". This will open the Local Group Policy Editor.
Drill down to User Configuration, Windows Components, Windows Explorer
Look in the right-hand pane and find the Line "Turn off Windows Libraries features that rely on indexed file data"
Double-click on that line, read the explanation, then set it to "Enabled".
Restart

Now you should be able to add NAS and other non-indexed locations without Windows complaining!
To set things back the way they were, just repeat the above, setting the same policy to "Not configured".

Here's the description of this policy setting from MS:


Requirements:
At least Windows 7 or Windows Server2008 R2
Description:
This policy setting allows you to turn off Windows Libraries features that need indexed file metadata to Function properly. If you enable this policy, some Windows Libraries Features will be turned off to better handle included folders that have been redirected to non-indexed network locations.
Setting this policy will:
* Disable all Arrangement views except for “By Folder”
* Disable all Search filter suggestions other than “Date Modified” and “Size”
* Disable view of file content snippets in Content mode when search results are returned
* Disable ability to stack in the Context menu and Column headers
* Exclude Libraries from the scope of Start search
This policy will not enable users to add unsupported locations to Libraries.
If you enable this policy, Windows Libraries features that rely on indexed File data will be disabled.
If you disable or do not configure this policy, all default Windows Libraries Features will be enabled.

Hope this helps.

Richard
 

My Computer

OS
W7 Ultimate x64
Network files can be indexed without synchronisation

"By default, Windows 7 does not allow you to include network drives or folders in a library. This is because folders must be indexed first in order to be added to a library, and network drives cannot be indexed unless they are synchronized. This will show you how to do that and add them to a library."

This is somewhat less than a complete statement. If the network location has an acceptable indexing service running locally, Windows 7 will in fact allow you to add the network drive to the library. So in a typical MS shop where the server is running a recent version of Windows Server and the indexing is enabled on the drive concerned, it will work.

Since most NAS run some version of Linux for obvious reasons of economy, such NAS devices cannot unfortunately be added to libraries. No reason why the Linux guys could not write something that would meet the specs, but getting the NAS manufacturers to include that would be quite a step.

This is one small advantage of using a NAS based on the OEM version of Windows Server, Windows Storage Server. The licensing costs for that OS version are much lower, but it's not free like Linux, so these are premium devices, but they do exist! Windows Home Server also has the service.

If this facility is vitally important to you, you could do worse than deploy a cheap Atom-based PC running Windows 7 as a network server. Still not as cheap as most NAS though.

Richard
 

My Computer

OS
W7 Ultimate x64
Hi all,

There is an official "Microsoft" way of making Libraries behave better with non-indexed network locations. Here's how.

Log in using an administrative account.
Run "gpedit.msc". This will open the Local Group Policy Editor.
Drill down to User Configuration, Windows Components, Windows Explorer
Look in the right-hand pane and find the Line "Turn off Windows Libraries features that rely on indexed file data"
Double-click on that line, read the explanation, then set it to "Enabled".
Restart

Now you should be able to add NAS and other non-indexed locations without Windows complaining!
To set things back the way they were, just repeat the above, setting the same policy to "Not configured".

Here's the description of this policy setting from MS:


Requirements:
At least Windows 7 or Windows Server2008 R2
Description:
This policy setting allows you to turn off Windows Libraries features that need indexed file metadata to Function properly. If you enable this policy, some Windows Libraries Features will be turned off to better handle included folders that have been redirected to non-indexed network locations.
Setting this policy will:
* Disable all Arrangement views except for “By Folder”
* Disable all Search filter suggestions other than “Date Modified” and “Size”
* Disable view of file content snippets in Content mode when search results are returned
* Disable ability to stack in the Context menu and Column headers
* Exclude Libraries from the scope of Start search
This policy will not enable users to add unsupported locations to Libraries.
If you enable this policy, Windows Libraries features that rely on indexed File data will be disabled.
If you disable or do not configure this policy, all default Windows Libraries Features will be enabled.

Hope this helps.

Richard

Unfortunately for those of us using Home Premium we don't have gpedit.msc
 

My Computer

Computer type
Laptop
Computer Manufacturer/Model Number
Hewlett-Packard/G62-107SA Notebook
OS
Microsoft Windows 7 Home Premium 64-bit Service Pack 1
CPU
Intel(R) Core(TM) i3 CPU M 330 @ 2.13GHz
Motherboard
Hewlett-Packard 1425
Memory
8 GB DDR3
Graphics Card(s)
Intel(R) HD Graphics
Sound Card
Realtek High Definition Audio
Monitor(s) Displays
Builtin
Screen Resolution
1366 x 768 x 32 bits (4294967296 colors) @ 60 Hz
Hard Drives
250 GB SATA Hard Disk Drive 7200 rpm
2TB Seagate GoFlex USB 2 Drive
1TB Iomega Prestige USB 2 Drive
1.5TB Iomega Prestige USB 2 Drive (Samsung)
2TB WD MyBook Live NAS.
Mouse
Logitech Anywhere MX
Internet Speed
152 Mbs download 10 Mbs upload
Antivirus
Norton 360
Browser
Chrome
Simplest solution

I've read through this forum and I've got a much simpler solution.

I myself have a Server (running R2 2008) with 16TB of storage space (8x2TB).

One of these 2TB drives has my Music/Pictures/Video on it. The drive is shared via Group Policy automatically between all machines joined to the domain. This is not necessary, just sayin' this is my setup. All you really need is to map the network share to a drive on your computer.

Caveat, I use this method because the server is my central storage location.

Step by step:

1. Right-click the "My Music" folder in your Music Library.
2. Under location, select the folder on the mapped drive or if you are using an entire mapped drive, just the drive itself.
3. It will ask you if you want to move the files, the local library was empty so I say yes.
4. Hit OK, and you're done.

Easy right?

Hope you enjoy this solution.
 

My Computer

OS
Windows 7 Ultimate x64
CPU
AMD Phenom X6 1100T @ 4GHz
Motherboard
ASUS Crosshair IV Formula
Memory
Mushkin RedLine DDR 1600 (6-8-6-24)
Graphics Card(s)
Sapphire ATI 5670 VGA
Sound Card
SoundBlaster X-FI
Monitor(s) Displays
Samsung P2570 + 931C
Hard Drives
WD 1TB Black Edition
PSU
OCZ Game-X-Tream
Case
Coolermaster Elite 310
Cooling
Arctic Cooler Freezer 13
I've read through this forum and I've got a much simpler solution.

...

Easy right?

Hope you enjoy this solution.

Thanks for your contribution WraithLunati. However you've totally missed the fact that the problem being discussed here deals with connecting to a share via DFS (Distributed File System) rather than directly to a share as you are describing.

What we are attempting is a connection to \\AD_domain_name\Mount_name.
What you describe is a connection to \\Server_name\Share_name.

Thanks anyway!

RS
 

My Computer

OS
W7 Ultimate x64
SUCCESS!

I was not planning on having a duplicate of my 450GB+ video library on my server.

Option #2 worked like a charm! :D
 

My Computer

OS
Win 8 RP
CPU
C2D - OC 4.2Ghz
Memory
4GB
Graphics Card(s)
GeForce 210 - 1GB
Hard Drives
1X 128GB Vertex 4
1X 1.5TB WD Black
I ran the command from Option 2 (Step 5) what happened ? I want to reverse it.
I still can't add a Network Drive / Folder to the Library, even after following each step, thoroughly.
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
Core2Quad (2.6 Ghz)
Motherboard
nVidia 775
Memory
8 Gigs DDR2
Graphics Card(s)
Geforce Titan Black
Sound Card
Motherboard Audio
Monitor(s) Displays
25" Asus LCD
Screen Resolution
1680x1050
Hard Drives
120 Gig SSD
60 Gig SSD
750 Gig HDD
PSU
850 Watts
Case
Mid-Size
Keyboard
Logitech
Mouse
Logitech - I love logitech mouses
Internet Speed
DSL 25Mbps - Although extremely expensive
Antivirus
Microsoft Anti-Virus
Browser
FireFox 36.x
Hello Jerome,

I've just updated OPTION TWO to help make it more clear and easier to use. You might see if that may help. :)
 

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Self built custom
OS
64-bit Windows 11 Pro for Workstations
CPU
Intel i7-8700K OC'd to 5 GHz
Motherboard
ASUS ROG Maximus XI Formula Z390
Memory
64 GB (4x16GB) G.SKILL TridentZ RGB DDR4 3600 MHz
Graphics Card(s)
ASUS ROG-STRIX-GTX1080TI-O11G-GAMING
Sound Card
Integrated
Monitor(s) Displays
2 x Samsung Odyssey G7 27"
Screen Resolution
2560x1440
Hard Drives
1TB Samsung 990 PRO M.2,
4TB Samsung 990 PRO PRO M.2,
TerraMaster F8 SSD Plus NAS
PSU
Seasonic Prime Titanium 850W
Case
Thermaltake Core P3
Cooling
Corsair Hydro H115i
Keyboard
Logitech wireless K800
Mouse
Logitech MX Master 4
Internet Speed
2 Gb/s Download and 100 Mb/s Upload
Antivirus
Malwarebyte Anti-Malware Premium
Browser
Google Chrome
Other Info
Logitech Z625 speaker system,
Logitech BRIO 4K Pro webcam,
HP Color LaserJet Pro MFP M477fdn,
APC SMART-UPS RT 1000 XL - SURT1000XLI,
Galaxy S23 Plus phone
Hello Jerome,

I've just updated OPTION TWO to help make it more clear and easier to use. You might see if that may help. :)

When I try to access a Library that I created that was suppose to link to a Network drive, everything works except I get an error. The symbolic link works, when I go to access the Library folder, "The Network cannot be found" ?
 
Last edited:

My Computer

Computer type
PC/Desktop
Computer Manufacturer/Model Number
Custom Built
OS
Windows 10 Pro
CPU
Core2Quad (2.6 Ghz)
Motherboard
nVidia 775
Memory
8 Gigs DDR2
Graphics Card(s)
Geforce Titan Black
Sound Card
Motherboard Audio
Monitor(s) Displays
25" Asus LCD
Screen Resolution
1680x1050
Hard Drives
120 Gig SSD
60 Gig SSD
750 Gig HDD
PSU
850 Watts
Case
Mid-Size
Keyboard
Logitech
Mouse
Logitech - I love logitech mouses
Internet Speed
DSL 25Mbps - Although extremely expensive
Antivirus
Microsoft Anti-Virus
Browser
FireFox 36.x
Back
Top