Having the hardest time creating this script, hoping someone can help.
Is there a script to search all the “Favorites” Folders in “Documents and Settings” and create a Shortcut within the “Favorites” folder. This includes having multiple USERPROFILES. Thanks,
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
There's a user based group policy for that kind of thing which will create whatever shortcuts you like in peoples favourites.
Answered 06/22/2010 by: squeakstar
Orange Senior Belt

Please log in to comment
0
Yeah I know we could use Group Policy, but our Sys Admin team dose not want to use them.
Answered 06/22/2010 by: Kevster1983
Yellow Belt

Please log in to comment
0
Are they windows newbs or something? [;)]

Personally i will always go for group policy first before scripting, coz admittedly i'm a bit of a script kiddy when it comes to it - cut a bit out of here, change a variable there... we do have a bit of a shortcut script going on for user desktops which might set you on the right lines... I'm not saying this works outright mind coz i've cut loads of other crap out in betwen the interesting bits. using the variable %username%/favourites somewhere would probably help too.


Dim WSHShell

Set WSHShell = CreateObject("WScript.Shell")

'Create Helpdesk desktop Shortcut
SET oFSO = Wscript.CreateObject("Scripting.FileSystemObject")
strDsk = WshShell.SpecialFolders("Desktop")
' What is the label for the shortcut?
strshortcut = strDsk & "\IT Help Desk Request.url"
If Not oFSO.FileExists(strshortcut) Then
SET oUrlLink = WshShell.CreateShortcut(strshortcut)
' What is the path to the shared folder?
oUrlLink.TargetPath = "http://helpdesk"
oUrlLink.Save
End If


What have your sys admin team against group policy?
Answered 06/22/2010 by: squeakstar
Orange Senior Belt

Please log in to comment
0
Because the Sys Admin Manager is an idiot!!! I've already used the script you posted and modified. Just having a hard time looping through all the profiles and then creating a shortcut within each %USERNAME%/favorites.
Answered 06/22/2010 by: Kevster1983
Yellow Belt

Please log in to comment
0
why are those more senior than us mere minions so behind on processes in IT, or just too stubborn to try new ways? It drives me insane too!

can't you use the script or your variant as a logon script? Add it to either a GPO or the startup script of each users profile? That way it kicks in at logon and job done - or is that against your sysadmin?

You could have done all this in about 8 clicks with a GPO and have it out there already - I feel for ya guy [:(]
Answered 06/22/2010 by: squeakstar
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity