+ Post New Thread
Results 1 to 8 of 8
Windows Thread, Redirect Faverates Folder in Technical; Ok I have had a search an i am sure it can be done. I need to be able to ...
  1. #1
    alonebfg's Avatar
    Join Date
    Aug 2006
    Location
    south west some of the time
    Posts
    834
    Thank Post
    12
    Thanked 34 Times in 21 Posts
    Blog Entries
    5
    Rep Power
    24

    Redirect Faverates Folder

    Ok I have had a search an i am sure it can be done. I need to be able to rediret the faverates folder. The reason being the teachers are getting annoyed at students deleting and messing with faverates when they shoud be going to the addres they gave them. I know the reg key is [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\User Shell Folders]
    "Favorites"=hex(2):25,00,55,00,53,00,45,00,52,00,5 0,00,52,00,4f,00,46,00,49,00,\
    4c,00,45,00,25,00,5c,00,46,00,61,00,76,00,6f,00,72 ,00,69,00,74,00,65,00,73,\
    00,00,00
    is it possable to change it via a vbs at login to something like this
    [HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\User Shell Folders]
    "Favorites"=hex(2):5c,00,5c,00,73,00,65,00,72,00,7 6,00,65,00,72,00,5c,00,63,00,\
    6c,00,61,00,73,00,73,00,6f,00,6e,00,65,00,20,00,66 ,00,61,00,76,00,65,00,72,\
    00,61,00,74,00,65,00,73,00,00,00

    this changes the key from %USERPROFILE%\Favorites to \\server\class faverates.
    any idears
    I am sure there is a way to do it with a vbs or such like

  2. #2

    Join Date
    Aug 2005
    Location
    London
    Posts
    3,154
    Thank Post
    114
    Thanked 527 Times in 450 Posts
    Blog Entries
    2
    Rep Power
    123

    Re: Redirect Faverates Folder

    set oShell=createobject("wscript.shell")

    oShell.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Ex plorer\User Shell Folders\Favorites","\\server\class\favorites","REG _EXPAND_SZ"

    oShell.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Ex plorer\Shell Folders\Favorites" , "\\server\class\favorites","REG_SZ"

    should work.

    Note that you should only need to set the first value; the "shell folders" is there for compatibilty with some obscure and obsolete programs -see http://blogs.msdn.com/oldnewthing/ar.../03/55532.aspx for more info (which also points out that you shouldn't use either key directly but from vbscript it's hard not to!)

  3. #3
    alonebfg's Avatar
    Join Date
    Aug 2006
    Location
    south west some of the time
    Posts
    834
    Thank Post
    12
    Thanked 34 Times in 21 Posts
    Blog Entries
    5
    Rep Power
    24

    Re: Redirect Faverates Folder

    That is cool thank you. Have saved me about 7 days work if we ever meet i owe you about 5 pints am a man of my word. By the ay read the blog this will work with xp/2003 if i run at login

  4. #4
    pooley's Avatar
    Join Date
    Sep 2005
    Location
    S Wales
    Posts
    1,129
    Thank Post
    77
    Thanked 118 Times in 99 Posts
    Rep Power
    66

    Re: Redirect Faverates Folder

    You could use GPO to assign favourites to specific OU's etc too

  5. #5
    alonebfg's Avatar
    Join Date
    Aug 2006
    Location
    south west some of the time
    Posts
    834
    Thank Post
    12
    Thanked 34 Times in 21 Posts
    Blog Entries
    5
    Rep Power
    24

    Re: Redirect Faverates Folder

    thats what i was thinking but for some reason trying to do the keyedit in gpo dont work i hope it will if i run it as part of a logon vbs

  6. #6
    Andie's Avatar
    Join Date
    Sep 2006
    Location
    Cambridgeshire
    Posts
    794
    Thank Post
    167
    Thanked 66 Times in 49 Posts
    Rep Power
    29

    Re: Redirect Faverates Folder

    Posted about the issue of Favourites redirection a while ago myself and got some excellent help. Follow this link:

    http://www.edugeek.net/index.php?nam...ewtopic&t=6155

    Intention was to put together something for the wiki, but haven't managed to find time yet!

  7. #7

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,802
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Redirect Faverates Folder

    There is actually an ADM template you can get that will allow you to use folder redirection with the Favourites folder. You can get it here:

    http://blogs.microsoft.co.il/blogs/g...s-via-GPO.aspx

  8. #8
    Andie's Avatar
    Join Date
    Sep 2006
    Location
    Cambridgeshire
    Posts
    794
    Thank Post
    167
    Thanked 66 Times in 49 Posts
    Rep Power
    29

    Re: Redirect Faverates Folder

    I've used the ADM template, and it appears to be working a treat. I was advised to set this up as a separate GPO (called IE Favourites Redirection) and then link it to where I wanted it, which is what I did. We are redirecting Favourites to within our redirected My Docs, and after a bit of experimenting I found that %HOMESHARE%\My Documents\Favourites worked as the setting. Hope this helps someone.

SHARE:
+ Post New Thread

Similar Threads

  1. wierd redirect
    By Scotmk in forum Web Development
    Replies: 7
    Last Post: 21st November 2007, 04:39 PM
  2. Squid Webpage redirect
    By Stese in forum *nix
    Replies: 18
    Last Post: 14th June 2007, 10:57 AM
  3. Redirect Favourites Bug??
    By SwedishChef in forum Windows
    Replies: 4
    Last Post: 23rd February 2007, 03:56 PM
  4. Replies: 4
    Last Post: 21st January 2007, 09:48 PM
  5. Is it possible to redirect a share?
    By ChrisH in forum Windows
    Replies: 6
    Last Post: 29th March 2006, 08:16 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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