Link to home
Create AccountLog in
Avatar of zabac
zabac

asked on

Citrix Automatically Setting Default Save Path for Office Programs

I am running a 2 server Citrix farm running PS 4.0.  I published Micorsoft Office 2003 to run off both servers.  I am using roaming profiles.  How do I change the default save path on each Office program for each user without manually logging in as each user, going to the program (for example Excel) and manually changing the default save path?
Avatar of mgcIT
mgcIT
Flag of United States of America image

use a login script to import a registry key.

For Word the Registry key is
HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Options\DOC-PATH

Excel it is

HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Excel\Options\DefaultPath

For both, create a String Value (called either DOC-PATH or DefaultPath) and set it's value to wherever you want the default save path to be.  

Note: this key will NOT be there already so you have to create it.
Avatar of zabac
zabac

ASKER

How do you import a registry key with a login script?
create a text file and name it with a .reg extension.  The contents of the file would be something like this:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Microsoft\Office\11.0\Word\Options]
"DOC-PATH"="H:\Folder Name"


save this file somewhere on the network (can be in the same place as the login scripts) and it your login script reference it like so:

regedit /s myFile.reg
ASKER CERTIFIED SOLUTION
Avatar of oBdA
oBdA

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of zabac

ASKER

I see how to set the default file paths for Office 2003 using group policy.  Is there a way to apply the group policy to users only if they are signing in via Citrix (Terminal Server)?
You use a loopback policy so that the GPO only applies when they login to a terminal server:

http://support.microsoft.com/kb/231287

http://support.microsoft.com/kb/260370/EN-US/
Avatar of zabac

ASKER

I have created a terminal servers OU.  I have moved my terminal (Citrix) servers into this OU.  I have created a gpo with loopback replace computer settings and with the office 2003 user settings and applied the gpo to the terminal servers OU.  This does not work.  However when I move user account into the terminal servers OU it works for that user.  What am I doing wrong?  Does this mean that the OU where the user account was originally has gpos that are overriding the loopback gpo?  How can I tell if this is happening?
The terminal server(s) need to be restarted for the loopback policy to take effect.
Avatar of zabac

ASKER

Restarting the terminal servers did not help.
Avatar of zabac

ASKER

I am running a Citrix web client connection.  How can I tell which gpos are being applied?
Once you've enabled loopback, user policies will be applied to *all* users logging on to that machine, unless you're using security group filtering.
So you can, for the time being, check that with an admin account. Log on to the machine, open a command prompt, use gpresult.exe to check which policies are applied.
If you're using security group filtering, add the group "Domain Computers" (or similar, not using an English version) to the Read and Apply permissions of the GPO, or the loopback GPO won't be applied.