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 ...
-
14th June 2007, 06:42 PM #1 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
-
-
IDG Tech News
-
14th June 2007, 07:47 PM #2 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!)
-
-
14th June 2007, 08:39 PM #3 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
-
-
14th June 2007, 09:11 PM #4 Re: Redirect Faverates Folder
You could use GPO to assign favourites to specific OU's etc too
-
-
14th June 2007, 09:29 PM #5 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
-
-
15th June 2007, 03:03 PM #6 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!
-
-
15th June 2007, 03:49 PM #7 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
-
-
21st June 2007, 07:10 PM #8 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: 
Similar Threads
-
By Scotmk in forum Web Development
Replies: 7
Last Post: 21st November 2007, 04:39 PM
-
Replies: 18
Last Post: 14th June 2007, 10:57 AM
-
By SwedishChef in forum Windows
Replies: 4
Last Post: 23rd February 2007, 03:56 PM
-
By netadmin in forum Windows
Replies: 4
Last Post: 21st January 2007, 09:48 PM
-
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
-
Forum Rules