Solved

Configure standard windows 2003 terminal services desktop and startmenu

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Suggested Solutions

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…
Know what services you can and cannot, should and should not combine on your server.
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

749 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