Solved

Configure standard windows 2003 terminal services desktop and startmenu

Posted on 2011-09-18
5
428 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Scenerio: You have a server running Server 2003 and have applied a retail pack of Terminal Server Licenses.  You want to change servers or your server has crashed and you need to reapply the Terminal Server Licenses. When you enter the 16-digit lic…
My previous article  (http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Windows_Server_2008/A_4466-A-beginners-guide-to-installing-SCCM2007-on-Windows-2008-R2-Server.html)detailed one possible method to get SCCM 2007 installed an…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

912 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now