• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 973
  • Last Modified:

Copy favorites to new terminal services server

We recently replaced our windows 2003 server (terminal services) with a Windows 2008 64bit server.  I need to copy the favorites from the Windows 2003 box to the Windows 2008 box however there are a few requirements.  Obviously, the path change will need to be in the batch file.  Also, I do not want to copy user data over if the user has not logged into the new server.  For instance, if UserA has favorites on server 2003 however has never logged onto server2008 then it should not create a folder for the user.  I know I could create a simply copy/paste batch file but I only want to copy needed data. Also, we redirect users My Documents and Desktop through GPO.  Is there a way to copy favorites as well without rolling out roaming profiles?
0
cityoflafayette
Asked:
cityoflafayette
  • 5
  • 3
1 Solution
 
IanThCommented:
when the user firsts logs on to the new server thier profile will be copied from there local profile so imho their favourites will get "migrated"
0
 
cityoflafayetteAuthor Commented:
As I mentioned in the last sentence, we aren't using roaming profiles so nothing is migrated.  The only reason docs and desktop appear as if they are migrated is because we use a GPO that redirects...much different than migration.
0
 
IanThCommented:
sorry
rereading your post what your trying to do is get your users favourites on to the tarminal server yes?
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
cityoflafayetteAuthor Commented:
That is correct. We would like to copy from the old server however I only want to copy those users that have already logged into the new server.  This should eliminate the "creation" of "new user" folders.
0
 
IanThCommented:
so basically what you would need  is a script that works on logon and sees if the profile is there already if not allow user creation?
0
 
cityoflafayetteAuthor Commented:
I don't want a script at logon as we only need this to run one time.  I can run as an admin.

"I need to copy the favorites from the Windows 2003 box to the Windows 2008 box however there are a few requirements.  Obviously, the path change will need to be in the batch file.  Also, I do not want to copy user data over if the user has not logged into the new server.  For instance, if UserA has favorites on server 2003 however has never logged onto server2008 then it should not create a folder for the user.  I know I could create a simply copy/paste batch file but I only want to copy needed data. "
0
 
cityoflafayetteAuthor Commented:
I'm rewarding IanTh with the points as he led me on the right track.  I added a line to the login script however once the favorites are moved, I will not keep the line in the script.  here is the line I added

copy "\\<server_name>\c$\Documents and Settings\%username%\Favorites\*.*" C:\Users\%username%\Favorites\
0
 
cityoflafayetteAuthor Commented:
The expert led me in the right direction however was on extremely clear on the solution.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 5
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now