Solved

Configure standard windows 2003 terminal services desktop and startmenu

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

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

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 is around source server preparation. No migration is an easy migration, there is a…
On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

743 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

12 Experts available now in Live!

Get 1:1 Help Now