AFAIK, Outlook has never supported environment variables in profile names.
In fact, it is much more useful to have a static profile name, so that you
know the name of the profile that each user is using.
Imagine a call to tech support where the user is having problems: You walk
the user through the steps to check in COntrol Panel | Mail what profile
they're using. They tell you it's something other than "Default Outlook
Settings." YOu know they monkeyed with it. You can tell them to change it
back to "Default Outlook Settings." That's a much shorter call than trying
to figure out which profile might be the expected default.
I don't see what the issue with a PDA might be. A PDA should be able to sync
with whatever the default profile might be, regardless of its name.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
Jim Bud said:
OK that is what I thought you meant. The problem there is if I put for
example "ProfileName=Default Outlook Settings" in the PRF when the
newprof.prf runs when outlook 2003 opens for first time in the profile
name
in Mail in control panel it will show up as "Default Outlook Settings"
whereas in Outlook 2000 you could put a variable like %username% and it
would
pull their username and show it as their username instead of "Default
Outlook
Settings" Hope that makes sense. There is not way for it to resolve as
their username for pC?
More concerned with clients with a PDA and outlook profile name is their
username then when reimaged newprof will be "Default Outlook Settings" or
whatever you put after "ProfileName="
Sue Mosher said:
ProfileName=Default Outlook Settings
-or-
ProfileName=My Company Profile
-or just-
ProfileName=Outlook
whatever you want to call it.
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
Forgive me but I am not sure what you mean, what would the
"PROFILENAME="
look like then? These are brand new profiles.
:
You cannot set the profile name with an environment variable. Use a
static
name, such as Default Outlook Settings, instead.
We are having a problem our PRF profile generator in Outlook 2003,
everything
else works perfect except when a brand new Outlook 2003 profile is
created
the mail account name shows up as whatever you put under
"PROFILENAME"
under
section 1 in the PRF, see below.
As it has below "ProfileName=%username%" in the mail account name it
shows
up as "%username%" or whatever we put in that field after the =
sign.
Help!
Thanks.
; Section 1 - Profile Defaults
;
************************************************************[General]
Custom=1
BackupProfile=NO
ProfileName=%username%
DefaultProfile=Yes
OverwriteProfile=Yes
ModifyDefaultProfileIfPresent=TRUE