Results 1 to 13 of 13

Thread: 'My Documents' link always gets invalidated.

  1. #1

    Thread Starter
    Frenzied Member oceanebelle's Avatar
    Join Date
    Jun 2005
    Location
    my n00k.
    Posts
    1,064

    'My Documents' link always gets invalidated.

    I'm running Windows XP Pro XP3

    and I'm having an issue where My 'My Documents' link is changed by some program to 'H:\My Documents'.

    I can resolve this fine however, it always gets invalidated when I logoff/logon and restart.

    Has anybody encountered this and is there a way to know which application does this change or is this some virus?

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: 'My Documents' link always gets invalidated.

    Check msconfig and the registry to see if there is a script (wsf... bat... vbs) that's running, have a look at the code inside to see if it's changing it on startup.

  3. #3
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: 'My Documents' link always gets invalidated.

    Hi Ocean

    Check this key for me...

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal

    Where is it leading to???

    Also It seems like your pc is using roaming profiles. Check this for me....

    Under control panel, system, advanced, user profiles does it say they are local profiles or roaming profiles? If it says roaming, delete the profile off the server first then delete the local profile for the user. Have them log on again and it will rebuild their profile, hopefully as a local profile. (Caution: Save the users documents someplace else before you delete all copies of their profile)

    Hope this helps...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  4. #4
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: 'My Documents' link always gets invalidated.

    how are you fixing it? my documents is one of the folders that the location is automatically tracked if you move it with a drag-drop.

  5. #5

    Thread Starter
    Frenzied Member oceanebelle's Avatar
    Join Date
    Jun 2005
    Location
    my n00k.
    Posts
    1,064

    Re: 'My Documents' link always gets invalidated.

    Quote Originally Posted by koolsid View Post
    Hi Ocean

    Check this key for me...

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Personal

    Where is it leading to???

    Also It seems like your pc is using roaming profiles. Check this for me....

    Under control panel, system, advanced, user profiles does it say they are local profiles or roaming profiles? If it says roaming, delete the profile off the server first then delete the local profile for the user. Have them log on again and it will rebuild their profile, hopefully as a local profile. (Caution: Save the users documents someplace else before you delete all copies of their profile)

    Hope this helps...

    All settings are using Local settings



    HKEY_CURRENT_USER\...\Personal is set to c:\documents and settings\..\My documents

    Do I need to look at other keys as well?

    I couldn't find anything in HKEY_LOCAL_MACHINE

  6. #6

    Thread Starter
    Frenzied Member oceanebelle's Avatar
    Join Date
    Jun 2005
    Location
    my n00k.
    Posts
    1,064

    Re: 'My Documents' link always gets invalidated.

    Quote Originally Posted by Lord Orwell View Post
    how are you fixing it? my documents is one of the folders that the location is automatically tracked if you move it with a drag-drop.

    right click 'my documents' icon and move the link to the correct location.

  7. #7

    Thread Starter
    Frenzied Member oceanebelle's Avatar
    Join Date
    Jun 2005
    Location
    my n00k.
    Posts
    1,064

    Re: 'My Documents' link always gets invalidated.

    Quote Originally Posted by mendhak View Post
    Check msconfig and the registry to see if there is a script (wsf... bat... vbs) that's running, have a look at the code inside to see if it's changing it on startup.

    can I do regex searches on the registry?

    nothing on msconfig.

    edit: guess not.
    Last edited by oceanebelle; Jun 12th, 2009 at 09:13 AM.

  8. #8
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: 'My Documents' link always gets invalidated.

    Ok, Navigate to

    HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell
    Folders, value Personal

    You will see that the value of Personal is

    %USERPROFILE%\My Documents

    Seems like your user profile is saved on H: and hence it is navigating back to h:

    Simply edit that value and try again now...

    Hope this helps...
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  9. #9
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: 'My Documents' link always gets invalidated.

    Quote Originally Posted by oceanebelle View Post
    right click 'my documents' icon and move the link to the correct location.
    windows is funny about these files. I think you have to do an actual drag and drop or it creates a link. Not 100% on that one though.

  10. #10
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: 'My Documents' link always gets invalidated.

    Quote Originally Posted by Lord Orwell View Post
    windows is funny about these files. I think you have to do an actual drag and drop or it creates a link. Not 100% on that one though.
    I think he means right clicking and going to properties (as that allows you to edit the target location that My Documents points to)
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  11. #11
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: 'My Documents' link always gets invalidated.

    no i didn't. changing the shortcut doesn't change where windows wants to put it. That's stored in the registry. If you don't do the drag method, it doesn't automatically fix the registry location pointer. Therefore the next time you try to browse my documents from your start menu for example, windows will send you to the old location, creating a new folder where the old one was.

  12. #12
    Pro Grammar chris128's Avatar
    Join Date
    Jun 2007
    Location
    England
    Posts
    7,604

    Re: 'My Documents' link always gets invalidated.

    Quote Originally Posted by Lord Orwell View Post
    no i didn't. changing the shortcut doesn't change where windows wants to put it. That's stored in the registry. If you don't do the drag method, it doesn't automatically fix the registry location pointer. Therefore the next time you try to browse my documents from your start menu for example, windows will send you to the old location, creating a new folder where the old one was.
    I didnt mean that was what you meant, I was saying it to you.

    The My Documents icon is not a shortcut. If you change the target properties of the My Documents icon on your desktop or Start Menu it redirects your My Documents folder to that location no matter how you access it... I do this almost on a weekly basis at work when setting up new PCs etc so it definitely works.
    My free .NET Windows API library (Version 2.2 Released 12/06/2011)

    Blog: cjwdev.wordpress.com
    Web: www.cjwdev.co.uk


  13. #13
    coder. Lord Orwell's Avatar
    Join Date
    Feb 2001
    Location
    Elberfeld, IN
    Posts
    7,628

    Re: 'My Documents' link always gets invalidated.

    Quote Originally Posted by chris128 View Post
    I didnt mean that was what you meant, I was saying it to you.

    The My Documents icon is not a shortcut. If you change the target properties of the My Documents icon on your desktop or Start Menu it redirects your My Documents folder to that location no matter how you access it... I do this almost on a weekly basis at work when setting up new PCs etc so it definitely works.
    that's interesting. I will give that a shot myself. I am getting ready to move all my documents onto a common drive due to the number of OSes i have installed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width