Solved

Copy favorites to new terminal services server

Posted on 2009-04-09
8
968 Views
Last Modified: 2013-11-21
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
Comment
Question by:cityoflafayette
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 3
8 Comments
 
LVL 30

Expert Comment

by:IanTh
ID: 24121350
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
 

Author Comment

by:cityoflafayette
ID: 24137714
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
 
LVL 30

Expert Comment

by:IanTh
ID: 24138449
sorry
rereading your post what your trying to do is get your users favourites on to the tarminal server yes?
0
Forrester Webinar: xMatters Delivers 261% ROI

Guest speaker Dean Davison, Forrester Principal Consultant, explains how a Fortune 500 communication company using xMatters found these results: Achieved a 261% ROI, Experienced $753,280 in net present value benefits over 3 years and Reduced MTTR by 91% for tier 1 incidents.

 

Author Comment

by:cityoflafayette
ID: 24138546
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
 
LVL 30

Accepted Solution

by:
IanTh earned 500 total points
ID: 24138613
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
 

Author Comment

by:cityoflafayette
ID: 24138647
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
 

Author Comment

by:cityoflafayette
ID: 24160182
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
 

Author Closing Comment

by:cityoflafayette
ID: 31568482
The expert led me in the right direction however was on extremely clear on the solution.
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question