Favorites Redirect

Posted on 2006-06-06
Last Modified: 2008-09-10
Servers: w2k/w2k3
clients: win 2000/XP

Currently users are set up with roaming profiles, however 99% don't use them and they seem to be more trouble than there worth. I have set up a folder redirect for "My documents" and it is working fine but how do you set up a folder redirect for Favorites? I was hoping to do this through group policy, but the only options for folder redirection are App data, My documents, Desktop, Start Menu. So it looks like you have to use a startup script or edit the registry; How??

Question by:pcazel
    LVL 51

    Expert Comment

    by:Keith Alabaster
    My favourites is included if you redirect the profile as an entity rather than doing just individual folders.

    However, this may help;en-us;232692
    LVL 13

    Expert Comment

    I removed roaming profiles about a month ago at one of my locations.  I had the same problem with favorites.  I ended up writing a vbscript.

    put this in notepad and save it as a vbs file

    Dim Path
    Path = "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\"
    set ws = WScript.CreateObject("WScript.Shell")
    o=ws.RegWrite(Path & "Favorites", "V:\Favorites","REG_EXPAND_SZ")
    v=ws.RegRead(Path & "Favorites")
    Set WSHShell = nothing

    I set mine to go to V:\Favorites (if the folder is not there it will create it. V: is my users home folder)

    LVL 13

    Expert Comment

    I wrote another script in a batch file that looks to there roming profile and copies there exsisting favorites over to the new location.  I then renamed there roaming profile so it wouldnt re-copy down the favorites everytime they log on.

    xcopy "\\servername\Profiles\%username%\Favorites" "V:\Favorites" /E /C /H /R /Y
    Rename "\\servername\Profiles\%username%" "Done - %username%"
    LVL 104

    Accepted Solution

    The way that I do it is via a registry change deployed by a login script.
    The login script creates the folder for the favorites to be directed to and then the registry is changed.
    Works best when you are starting from scratch with a new domain. If an existing domain then I would deploy in addition to the registry change and login script, the code above to copy the existing favorites to the network location.


    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Sometimes you might need to configure routing based not only on destination IP address, but also on a combination of destination IP address (or hostname) and destination port number. I will describe a method how to accomplish this with free tools. …
    This article is in response to a question ( here at Experts Exchange. The Original Poster (OP) requires a utility that will accept a list of IP addresses …
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now