Help - Search - Members - Calendar
Full Version: unable to add network location in Libraries
Neowin Forums > Windows Support > Windows Beta Discussion > Windows 7 Beta
mukati
I've been struggling with this for real long, and as i skimmed through some posts, others seem to be as well. When i try to add a folder which is on my NAS drive in any of the 4 default libraries, i get the following error message:

'This folder cannot be included because it is on a share that is not indexed'

Anyone figure out how to get by this, as i remember Microsoft has said, you can add network locations in Libraries.
HawkMan
online helps says ou can but searches wil be slow asince it can't be indexed so it might be a bug.. or not added as a fucntion yet.

otherwise you coudl try mounting the network folder and try to add that...
mukati
Quote - (HawkMan @ Jan 12 2009, 09:46) *
online helps says ou can but searches wil be slow asince it can't be indexed so it might be a bug.. or not added as a fucntion yet.

otherwise you coudl try mounting the network folder and try to add that...


Mounting the network folder, you mean mapping it as a drive?

i've already done that
jakem1
My situation is a bit different to yours but I've had no problems adding shares on my WHS to my libraries. The difference is that the server is running Windows and the shares are all indexed.

I've really been looking forward to Libraries because I typically keep all my documents, music, videos, etc. on the WHS and Vista didn't handle replacing the default documents locations with network shares that elegantly. The new setup works perfectly for me.
bagpus
I to tired to use the libs with my network shares and got the same message about indexing.

I am running Server 2008 and Win 7.
mad_onion
yep i have the same issue plus removable storage devices don't work either
HawkMan
Quote - (jakem1 @ Jan 12 2009, 15:08) *
My situation is a bit different to yours but I've had no problems adding shares on my WHS to my libraries. The difference is that the server is running Windows and the shares are all indexed.

I've really been looking forward to Libraries because I typically keep all my documents, music, videos, etc. on the WHS and Vista didn't handle replacing the default documents locations with network shares that elegantly. The new setup works perfectly for me.


They're indexed on the server. They're not indexed for your win7 computer, it doesn't have access to the serves index database,
TogaForComfort
Yep same here trying to add Home Server shares. Feedback sent
stromo
Am having the same issues, in the end I mapped the network share then created a shortcut to the desktop lol!
jakem1
Quote - (HawkMan @ Jan 12 2009, 16:51) *
They're indexed on the server. They're not indexed for your win7 computer, it doesn't have access to the serves index database,


That's not true actually. With Desktop Search 4.0 Windows can use indexes across the network. As a result Windows7 can use the index on the server to improve local search results.
burnblue
I have a wireless NAS plugged into my router. I can map the drive fine, but it won't show up in the list of locations you can choose to index. Since you can't index it, Explorer won't let me add it to any Library. According to BrandonLive, there are no plans in place to implement indexing of network locations, which is pretty depressing. The workaround offered is to add these locations to your Library from within Windows Media Player.. just do the regular "Manage Libraries" and it won't complain when you pick the network drive.

The problems here are that the locations are still not indexed, so browsing in Explorer doesn't work as well as it should, and also this method only makes sense if you're dealing with Pictures, Music and Video. I can't add my Documents on the external drive to the Library.

BrandonLive also said that if the networked location is on a Vista PC you can index it and Windows 7 will pick it up (why it works on jakem1's WHS), but this useless for a simple networked hard drive.
burnblue
The relevant quotes, for those interested:
Quote - (Brandon Live @ Dec 30 2008, 16:26) *
The help text hasn't yet been finished. At this point, libraries only support indexed locations. There are ways around this (if you add it via WMP it will get added to your library, but it will severely degrade the Explorer libaries experience).

If the network share is on a Windows PC, you can install Windows Search 4 on it and index the share on the server side. Then your Win7 machine will be able to remotely query that index to provide the full rich libraries experience.

Another option that works for any network share is to use the Offline Files feature, which creates a local cache of the files that will always be indexed.



Quote - (Brandon Live @ Dec 30 2008, 16:31) *
It's not planned to change at this time but we know it's a common concern. If you'd like to create one of those Win7 Taskforce pages for it (if there isn't one already) and give me the link, that may help track how many people want to use such functionality (basically, being able to index network shares).

At this point my recommendation would be to get a USB, Firewire, or eSATA drive.

In my case, I use a Windows Home Server PC that has its content indexed with WS4.

mukati
I can confirm that adding network location in Libraries for Music, Video and Pictures works through Windows Media Player. But still no luck for Documents library, which in my case is the most important!

Am sure there must be some workaround for Documents Library as well, just need to dig around!
Alvine
I have a NAS using local network too. I have the same problem.
Since Windows Desktop Search 4 (for XP), it is possible to add remote locations to indexation list. However, Vista's default indexation engine does not allow that anymore.

Microsoft released an update for Windows Vista, allowing network indexation. It makes Windows Desktop Search look like XP's, with a UNC option.
This patch has no equivalent for Windows 7 yet. However, you shall be able to install it over official beta 1, as I did.
Evidence:
Click to view attachment

Afterwoods, my indexed places look like:
Click to view attachment

So that solves one part of the problem, but not all of it: even if you index your network shares, windows won't realize it, and you still won't be able to add them to any library...

One more thing: network indexation used to run smoothly over XP, but seems to be a little bit buggy over 7. Explorer.exe is likely to crash if you use the start menu real-time search.
burnblue
I got so excited when you said the Vista patch worked for you... until you said "Windows won't realize it". Regardless, since I already added stuff to my Libraries via WMP, I'll try it and see what happens.
mukati
Quote - (burnblue @ Jan 16 2009, 22:30) *
I got so excited when you said the Vista patch worked for you... until you said "Windows won't realize it". Regardless, since I already added stuff to my Libraries via WMP, I'll try it and see what happens.


Were you able to add a network location in your Documents Library?
burnblue
Quote - (mukati @ Jan 17 2009, 13:43) *
Were you able to add a network location in your Documents Library?


No.

I downloaded the patch and it installed, then my mapped drive showed up in the index locations list. It looked nothing like Alvine's; I just got an extra checkbox. See:

Click to view attachment

However I'm not sure that indexing is actually occuring at all. You can see the screenshot says 'indexing complete', and I'm not sure if the network stuff was ever done. I don't have a way to see when it's actually indexing; I'd try that desktop gadget but 1) gadgets won't work for me and 2) I had to turn off my video driver and Aero.

Back to your question, when I try to add one of these locations to the Library, I get the same error as always (not indexed location). Also, when I try to do things with the WMP-added folders (Pictures, for eg.) like Arrange by Tag, it still tells me that the location is slow.

I dunno what to do man. Here's a thread on Channel 9 that seems to give evidence of what Microsoft was thinking when they left this out: http://channel9.msdn.com/forums/Coffeehous...ommentID=453315
Brandon Live
That update is not supported on Windows 7, and it doesn't work at all on 64-bit systems.
dizman67
To add a non-indexed UNC as a library to Windows 7 Beta:

1. Create a folder on your hard drive for shares. i.e. c:\share
2. Create another folder in the above share. i.e. c:\share\music
2. Link the Library to this folder.
3. Delete the folder.
4. Use the mklink in a command window(administrator access needed) to make a symbolic link. Name the link the same as the folder you created above. i.e - mklink c:\share\music \\server\music
5. Done. Now you have non-indexed UNC path as a library.
Examinus
I have a load of stuff on my NAS that I'd like in Libraries, but I don't want to go installing unsupported updates or slowing my system down by adding non-indexed locations. I hope this is fixed!
premier69
for me the problem was that the host computer over the network (vista) i had disabled the indexing service and turned off indexing of the drive I tried adding in libraries on my client computer.
Computermensch
If you use symbolic links at a local folder and have the local indexing service work that ... you will increase network traffic possibly in an unefficient way.

Thnik like having your av-shield traversing local folders which are really remote.

But may be it can work if the indexer is optimized to understand that its working a networked and not local file system.

Usually it will not be so.

Mapped network drives are working as local volumes thus network traffic not optimized. So thats why mapped drives have performance issues and shares (networked file system) should be used instead (dynamic performance and can be configured in several ways for better performance either way).

Anyway - use process monitor to find out if indexer scans the network like it was local (if so you need to disable the links - or put those links on a local volume excluded from local indexer)


Quote - (dizman67 @ Jan 26 2009, 19:57) *
To add a non-indexed UNC as a library to Windows 7 Beta:

1. Create a folder on your hard drive for shares. i.e. c:\share
2. Create another folder in the above share. i.e. c:\share\music
2. Link the Library to this folder.
3. Delete the folder.
4. Use the mklink in a command window(administrator access needed) to make a symbolic link. Name the link the same as the folder you created above. i.e - mklink c:\share\music \\server\music
5. Done. Now you have non-indexed UNC path as a library.

Computermensch
FYI

About Windows Search 4.0 network performance (so the search services can be configured and are optimized for network traffic) ...
However, Windows Search services work client/server - and if you use symbolic links you make trick it into local file system performance behaviour and pay a penalty.

However, it would be smart if such services would discover using the network redirector across the link and go to network mode. I don't if they do that somehow - but know that last year my kaspersky Antivirus definitely did not do so when it walked the symbolic links to remote shares as if were local file system.

Anyone knows for sure?

Ref. Admin Guide 4.0:
http://technet.microsoft.com/en-us/library/cc770334.aspx

Network Performance
Enabling users to index network shares may temporarily increase the network traffic to these locations. The greatest impact on servers is seen building the initial index, and less impact is seen during subsequent incremental updates. Windows Search uses back-off logic to mitigate network traffic, and Group Policy further controls what Windows Search can index. For example, you can set a policy that disables indexing network paths to high volume servers.
abatishchev
Quote - (dizman67 @ Jan 26 2009, 21:57) *
4. Use the mklink in a command window(administrator access needed) to make a symbolic link. Name the link the same as the folder you created above. i.e - mklink c:\share\music \\server\music

Hi.
Have you tried do that yourself?
I have the same problem, and unfortunately mklink cannot works with shares.
Quote -
cmd> mklink C:\Users\Godfather\Libraries\Music \\Server\Music
The syntax of the command is incorrect.

The same said here, for example.
mikeyakagod
Quote - (abatishchev @ Feb 20 2009, 08:20) *
Hi.
Have you tried do that yourself?
I have the same problem, and unfortunately mklink cannot works with shares.

The same said here, for example.


Have you tried

mklink /d <target> <source>

?

default para is symbolic file link. you need to specify symbolic directory link with /d.

abatishchev
yea, of course! My mistake - I forget to indicate switch /d in my previous post
Quote -
C:\>mklink /D C:\Users\Godfather\Libraries\Music \\Server\E$\My Music
The syntax of the command is incorrect.
tigermain
Sorry to bring up this old topic, but it is exactly what I am looking for. I have tried using mklink (with the /d and cmd running as administrator) but I get Access Denied error message.

Do I need write permission on the network folder?!?!
walkerz
Quote - (dizman67 @ Jan 27 2009, 05:57) *
To add a non-indexed UNC as a library to Windows 7 Beta:

1. Create a folder on your hard drive for shares. i.e. c:\share
2. Create another folder in the above share. i.e. c:\share\music
2. Link the Library to this folder.
3. Delete the folder.
4. Use the mklink in a command window(administrator access needed) to make a symbolic link. Name the link the same as the folder you created above. i.e - mklink c:\share\music \\server\music
5. Done. Now you have non-indexed UNC path as a library.



You da man!

Works a treat with my Freenas (freebsd based NAS) smile.gif

Stuart
tuxplorer
Simple just use Media Center to add your network location to your library and then they appear in Explorer as well.
Mr. Bungle
This was the very first thing I tried to do when I discovered libraries in Windows 7. Luckily Microsoft have provided a programatic way to add network locations, so I wrote a tool to make this easy. It also provides some additional features like backup/restore of library sets. You can download it for free (+ WPF source) here:

Win7 Library Tool
tuxplorer
Quote - (Mr. Bungle @ Nov 5 2009, 18:23) *
This was the very first thing I tried to do when I discovered libraries in Windows 7. Luckily Microsoft have provided a programatic way to add network locations, so I wrote a tool to make this easy. It also provides some additional features like backup/restore of library sets. You can download it for free (+ WPF source) here:

Win7 Library Tool


Thanks. GUI is so simple.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.