Solved

Configure standard windows 2003 terminal services desktop and startmenu

Posted on 2011-09-18
5
429 Views
Last Modified: 2013-11-21
We want to configure same desktop and start menu for all the windows 2003 terminal services users.
We are using the romaing profiles.
Can any one suggest how this is normally implemented.
I don't want to use folder redirection
0
Comment
Question by:Malli Boppe
  • 3
  • 2
5 Comments
 
LVL 9

Accepted Solution

by:
Lester_Clayton earned 500 total points
ID: 36558387
Without using a management system like SCOM to deploy the icons, the way it can be done is as follows:

Option 1: Set the Default User to have these settings.

On each terminal server, configure one user to have the settings one desires - including shortcuts, icons, screensaver, IE favorites, whatever you like.  Then, log in as an administrator, and copy the configured user's profile over the default profile.  Any NEW profiles created will inherit all these configurations.  This would mean you would have to start with new profiles for everybody.

This is not a good option, because it means if there are changes to be made, you cannot make them without resettting everybody's profile.  This makes people really really angry.

Option 2 : Scripts.

Create VBScripts to run at user login to create the shortcuts in the desired areas.  This is better because you can always modify the script at a later stage.  Here is an example of a shortcut copying script.

Place icons in your \\domain.name\NETLOGON\Shortcuts and let this program copy it to the desktop location.

 
Option Explicit
On Error Resume Next

Dim objShell, objEnvironment, objFSO
Dim TargetPath,ServerPath

'Initialise Objects
Set objFSO = WScript.CreateObject("Scripting.FileSystemObject")
Set objShell = WScript.CreateObject("WScript.Shell")
Set objEnvironment = objShell.Environment("Process")

ServerPath = "\\your.domain\NETLOGON\Shortcuts\"

If (objEnvironment("CLIENTNAME") = "") Then								' This is a Desktop
	TargetPath = objEnvironment("USERPROFILE") & "\Desktop\"
	CopyItem "Desktop.lnk"
Else																	' This is a Terminal Server Session
	TargetPath = objEnvironment("USERPROFILE") & "\Desktop\"
	CopyItem "Microsoft Office Excel 2010.lnk"
	CopyItem "Microsoft Office Outlook 2010.lnk"
	CopyItem "Microsoft Office Powerpoint 2010.lnk"
	CopyItem "Microsoft Office Word 2010.lnk"
End IF

Sub DeleteDesktopItem(FileName)
	If objFSO.FileExists(TargetPath & FileName) Then
		objFSO.DeleteFile(TargetPath & FileName)
	End If
End Sub

Sub CopyDesktopItem(FileName)
	if objFSO.FileExists(ServerPath & FileName) Then
		objFSO.CopyFile ServerPath & FileName, TargetPath + FileName, true 
	End If
End Sub

Open in new window

0
 
LVL 9

Expert Comment

by:Lester_Clayton
ID: 36558390
Sorry I meant SCCM - not SCOM.  System Center Configuration Manager (Also known as MOM (Microsoft Office Manager)).
0
 
LVL 23

Author Comment

by:Malli Boppe
ID: 36558417
Thanks Laster

What about the startmenu. Is it possible to include in the script.
0
 
LVL 9

Assisted Solution

by:Lester_Clayton
Lester_Clayton earned 500 total points
ID: 36561972
Absolutely, you just need to specify a different path for the target location.

The start menu would be a minor addition/modification

TargetPath = objEnvironment("USERPROFILE") & "\AppData\Roaming\Microsoft\Windows\Start Menu\"

:)
0
 
LVL 23

Author Closing Comment

by:Malli Boppe
ID: 36564058
Thanks
0

Featured Post

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.

Question has a verified solution.

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

Suggested Solutions

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found here: http://www.experts-exchang…
Remote Apps is a feature in server 2008 which allows users to run applications off Remote Desktop Servers without having to log into them to run the applications.  The user can either have a desktop shortcut installed or go through the web portal to…

825 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