Link to home
Start Free TrialLog in
Avatar of tfgeorge
tfgeorgeFlag for United States of America

asked on

script to add favorites during mdt task sequence

I need a script to copy the .lnk files to C:\Users\Default\Favorites during the MDT 2010 task sequence for my images.
Avatar of RobSampson
RobSampson
Flag of Australia image

Where do you have the .lnk files stored?  If they're on a network share, try a batch file like this
xcopy /s /y \\server1\share\favorites\*.* c:\users\default\favorites\

Rob.
Avatar of tfgeorge

ASKER

C:\users\default\favorites\ does not work for favorites in windows 7. I have no idea why they did this.

What about c:\users\public\favorites\?
Rob- I just tried that and it didn't work.
Which part of it didn't work?  The file copy, or the fact that the Favorites from "All Users" didn't appear for any user account?
Sorry. When I add a favorite to c:\users\public\favorites it doesn't show up
When I add the same file to the favorites folder of a user it works fine.
I cannot figure out how to get the files there to work.  Are you on a domain? Can you use Group Policy:
http://mctexpert.blogspot.com/2011/04/use-group-policy-to-populate-ie.html

Rob.
Off domain client. GP will not do.
ASKER CERTIFIED SOLUTION
Avatar of RobSampson
RobSampson
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial