tried this vbs, it redirects the desktop like a beaut. instead of redirecting the documents folder it just creates another folder called %username% (e.g. testuser) and then the documents are in there. pictures doesnt redirect either.
Code:
On Error Resume Next
' Set user redirect
Set WshShell = WScript.CreateObject("WScript.Shell")
wshshell.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Favorites", "\\curriculum\Staffhome\%username%\Favorites", "REG_EXPAND_SZ"
Set WshShell = Wscript.CreateObject("Wscript.Shell")
wshshell.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\personal", "\\curriculum\Staffhome\%username%\" , "REG_EXPAND_SZ"
wshshell.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\personal", "\\curriculum\Staffhome\%username%\" ,"REG_EXPAND_SZ"
wshshell.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Desktop", "\\curriculum\Staffhome\%username%\Desktop" , "REG_EXPAND_SZ"
wshshell.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\Desktop", "\\curriculum\Staffhome\%username%\Desktop" , "REG_EXPAND_SZ"
wshshell.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\My pictures", "\\curriculum\Staffhome\%username%\Pictures" , "REG_EXPAND_SZ"
wshshell.regwrite "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders\My pictures", "\\curriculum\Staffhome\%username%\Pictures" , "REG_EXPAND_SZ"