Question : office 2007 settings not saved in user profile in terminal server

i have two citrix server and recently upgrade office to 2007. Now all user's try to create quick access toolbar . but when they log off and log back in it is not retail. I know when we add quich access toolbar it creates .qat file . During the session i can see this file but when user's log off and log back in it disappear.

Answer : office 2007 settings not saved in user profile in terminal server

I've attached a VBscript which should be saved *.vbs. You have execute this Script as command in your sccm program command line (best with: wscript.exe install.vbs). The script will kill processA, processB and processC and then will execute the .msi. Please just customize for your needs.
The message for the user, that a upgrade is in progress cannot be dont from within the script, as the command is executed in "local system" user context. So all message will never be visible for the logged on users.
SCCM delivers the possibiliy to display a message during installation, so why don't you use this one?
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & "." & "\root\cimv2") 
Set objShell = CreateObject("Wscript.Shell")


KillProcess("'processA.exe'")
KillProcess("'processB.exe'")
KillProcess("'processC.exe'")

strMSI = "MSI2Execute.msi"

On Error Resume Next
objShell.Run objShell.ExpandEnvironmentStrings("%WINDIR%") &"\System32\msiexec /I " &strMSI &" /qb-!",1,true
On Error Goto 0

Sub KillProcess(strProcess)
On Error Resume Next
Set colProcess = objWMIService.ExecQuery ("Select * from Win32_Process Where Name = " & strProcess)
For Each objProcess in colProcess
	objProcess.Terminate()
Next 
On Error Goto 0
End Sub
Random Solutions  
 
programming4us programming4us