Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Windows Search yielding No Results after changing Users Location


03 Feb 2013   #1

Windows 7 Home Premium x64
 
 
Windows Search yielding No Results after changing Users Location

Windows Search yielding No Results after changing Users Location-evidence.png Windows Search yielding No Results after changing Users Location-problem.png

Hello there.

I wanted to have my documents, music, pictures and all my personal stuff in a different partition, other than the system core partition (e.g. C:/), so I followed a tutorial on this site to achieve that.

I was happy with the results until some day I noticed that when using the top right search bar on windows explorer it would yield no results at all even though the files were there. I didn't work for any kind of file nor for folders. However, the search function always worked normally on the system partition (C:/)

I created another administrator user account and the same thing happened. Search function within user folders wasn't yielding results, except for the C:/ partition, where it worked normally.

I concluded the search function doesn't work if the user accounts are stored on a different partition, other than the C:/ (Local disk)

I used the indexing and search troubleshooter but it didn't find any problem, therefore it didn't solve anything.

I restarted the windows search service... didn't help.
I set it to Automatic... didn't help either.

I rebuilt the index for the Users folder in the partition... nothing.

I deleted and recreated the libraries... nothing.

I re-indexed them... still nothing.

Now I don't know what to do next and that's why I joined this forum (with the hope of finding an answer)

Please help me! Any help will be welcome!




My System SpecsSystem Spec
.

03 Feb 2013   #2

Windows 7 Home Premium 64bit
 
 

Did you attempt your search again in "Libraries"? as was offered below the lack of search results?
I will dig more to try and help you out. Do you have a link to the Tutorial that you used?
My System SpecsSystem Spec
03 Feb 2013   #3

Windows 7 Home Premium x64
 
 

Quote   Quote: Originally Posted by ydylan77 View Post
Did you attempt your search again in "Libraries"? as was offered below the lack of search results?
I will dig more to try and help you out. Do you have a link to the Tutorial that you used?
Yes, of course I tried that, and again, no results were yielded!
This is the tutorial I followed to change the users location, OPTION TWO

Thanks for being interested on my problem!
My System SpecsSystem Spec
.


03 Feb 2013   #4

Windows 7 Home Premium 64bit
 
 

hmmmm... Well since I haven't done this myself I don't have any way of doing some guess and check work, or to play with different options. It may be that you have successfully moved the default location for the User accounts but the search function is still looking in the default file path. So your user account is in [X]:\User Account.... and when you perform a query the explorer is looking in C:\default location. I will let you know if I come across any other ideas, but this seems like a reasonable assumption to me.

In the event that you don't want to deal with, or cannot correct this issue, do you have a system image to restore to?
My System SpecsSystem Spec
03 Feb 2013   #5

Windows 7 Professional x64
 
 

Quote   Quote: Originally Posted by Rookie2 View Post
Attachment 253503 Attachment 253504

Hello there.

I wanted to have my documents, music, pictures and all my personal stuff in a different partition, other than the system core partition (e.g. C:/), so I followed a tutorial on this site to achieve that.

I was happy with the results until some day I noticed that when using the top right search bar on windows explorer it would yield no results at all even though the files were there. I didn't work for any kind of file nor for folders. However, the search function always worked normally on the system partition (C:/)

I created another administrator user account and the same thing happened. Search function within user folders wasn't yielding results, except for the C:/ partition, where it worked normally.

I concluded the search function doesn't work if the user accounts are stored on a different partition, other than the C:/ (Local disk)

I used the indexing and search troubleshooter but it didn't find any problem, therefore it didn't solve anything.

I restarted the windows search service... didn't help.
I set it to Automatic... didn't help either.

I rebuilt the index for the Users folder in the partition... nothing.

I deleted and recreated the libraries... nothing.

I re-indexed them... still nothing.

Now I don't know what to do next and that's why I joined this forum (with the hope of finding an answer)

Please help me! Any help will be welcome!
You state you wanted all your stuff in a different partition, what did you name the partition? Post an image of your Disk Management;

Start Orb
Type diskmgmt.msc in the caption box
Expand the resulting screen to include; Volume, Layout, Type, File System, Status (lengthen the column to dispaly all data) as shown below.

Windows Search yielding No Results after changing Users Location-disk-mgmt.jpg


My System SpecsSystem Spec
03 Feb 2013   #6

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

I have moved the Users folder complete with all user profiles, existing and future, with all their subfolders by changing the Windows internal environment variable ProfilesDirectory (ProfilesFolder) as told in this tutorial. My search finds everything I am looking for, no issues.

The tutorial you have used tells how to revert the changes made if needed, move user folders back to their original location. You could try this and see if the search now finds your files and folders.

However before you try this you could try a bit modified search. I noticed that the thing you used as an example is a folder. Try to search folders by typing this to Explorer search field:
Code:
type:="File folder" name:Axialis
If you still can't find it you could try to move user folders back to their original location.

Another thing that might work is to create junctions for each folder you have moved. Example below creates a junction between My Documents in its default location C:\Users\Your_Username\Documents and its new location in X:\MyStuff\Docs:
Code:
mklink /j C:\Users\Your_Username\Documents X:\MyStuff\Docs
If a path statement has spaces you need to put it in between quotation marks. Following example creates a junction between My Documents in its default location and its new location in X:\My Stuff\My Documents:
Code:
mklink /j C:\Users\Your_Username\Documents "X:\My Stuff\My Documents"
The target (new location) has spaces ergo the path must be in between quotation marks.

Syntax using Make Link command with a Junction switch: mklink /j link target, where link is the folder that should send all queries made to it to new actual location target.

Notice that the link folder can't exist when creating a junction so in order to create a link between C:\Users\Your_Username\Documents and X:\MyStuff\Docs, the link folder C:\Users\Your_Username\Documents must not exist. It has to be removed before the junction can be created. As we are talking about system folders here I recommend playing with this only for more experienced geeks. See screenshot here for more explanations:

Windows Search yielding No Results after changing Users Location-mklink_2.png

Use elevated Command Prompt (Run as administrator) with mklink command.

Kari


My System SpecsSystem Spec
03 Feb 2013   #7

Windows 7 Home Premium x64
 
 

Quote:
In the event that you don't want to deal with, or cannot correct this issue, do you have a system image to restore to?
No, I don't have such an image.

Quote:
You state you wanted all your stuff in a different partition, what did you name the partition? Post an image of your Disk Management
Here's my disk management, the partition in which the user accounts are located is (A: ) Data

Windows Search yielding No Results after changing Users Location-clipboard01.jpg


My System SpecsSystem Spec
03 Feb 2013   #8

Windows 7 Home Premium x64
 
 

Quote:
However before you try this you could try a bit modified search. I noticed that the thing you used as an example is a folder.
The modified search didn't work

Quote:
Another thing that might work is to create junctions for each folder you have moved.
I'm trying to do this but I'm doing something wrong. CMD returns that the system cannot find the path specified.
My user name is "Edwar Cifuentes" so I typed in this:

Name:  Clipboard03.jpg
Views: 72
Size:  10.2 KB

Quote:
I have moved the Users folder complete with all user profiles, existing and future, with all their subfolders by changing the Windows internal environment variable ProfilesDirectory (ProfilesFolder) as told in this tutorial. My search finds everything I am looking for, no issues.
After I try this I'll follow the tutorial you mentioned. Thanks for the info!


My System SpecsSystem Spec
04 Feb 2013   #9

Microsoft Community Contributor Award Recipient

Windows 8.1 Pro with Media Center
 
 

Your screenshot reveals two issues.



First, My Documents on Seven is just a link, not a real folder. If you check the dir listing of your user folder using command prompt, you will notice that although Windows Explorer shows folders like My Documents, My Music, My Pictures and My Videos, the real folders are stored without the prefix My.

Screenshot below shows what I mean:

Windows Search yielding No Results after changing Users Location-my_folders.png
(Click to enlarge.)

So if you try the mklink workaround, your link folder should be C:\Users\Your_username\Documents, not ...\My Documents.

Second issue is more like a personal recommendation than a fact: Drive letters A and B should not be used for hard disk partitions. In DOS and earlier Windows versions they were reserved for floppy drives and although most computers today do not have floppy drives thus releasing those drive letters for other use they should only be used for removable media (CD/DVD or USB Flash drives).

I have had enough unexplainable issues when experiencing with A or B as a drive letter for HD partition. Of course I am first to admit that this might have been just a coincidence, something else went wrong and I misjudged it to be due wrong drive letters but as an old school geek those letters always remain reserved in my mind .

Shortly: Use drive letters A and B only for removable media, not for HD partitions.

Kari


My System SpecsSystem Spec
04 Feb 2013   #10

Windows 7 Pro. 64/SP-1
 
 

Thanks Kari. I will remember this. Makes sense.
Use drive letters A and B only for removable media, not for HD partitions.
My System SpecsSystem Spec
Reply

 Windows Search yielding No Results after changing Users Location




Thread Tools



Similar help and support threads for2: Windows Search yielding No Results after changing Users Location
Thread Forum
Solved Windows 7 Search Results Not Opening? General Discussion
Windows search button not returning results Performance & Maintenance
Windows Button Search NOT Returning Results BSOD Help and Support
Need help with Windows 7 Search Results Viewing Customization
Google Users Can Block Search Results to Cut Spam Browsers & Mail
Search results take me to windows media center General Discussion
Google Desktop Search Results from Start menu search Software

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 07:51 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33