[THIN] Re: outlook 2003 profiles.

  • From: "TSguy92 Lan" <tsguy92@xxxxxxxxx>
  • To: thin@xxxxxxxxxxxxx
  • Date: Wed, 20 Dec 2006 17:22:25 -0800

Login.cmd =

****begin script****

Attrib -H H:\config.ops
Copy /Y H:\config.ops "%temp%\config.ops"
C:\scripts\proflwiz.exe /r "%temp%\config.ops" /q
Attrib +H H:\config.ops

****end script****

And the Logoff.cmd =

****begin script****

Attrib -H H:\config.ops
cd\
c:\scripts\proflwiz.exe /s "%temp%\config.ops" /i c:\scripts\template.ini /q
copy /y "%temp%\config.ops" "H:\"
Attrib +H H:\config.ops

****end script***
*
Did running procmon pickup any errors either in "writing to the remote share
during logoff", or in "writing to the registry during login on server B"?

Can you confirm if when a user logs in that has an OPS file already setup,
that any of the other values (outside of the outlook regkeys) you are trying
to save are there for them? I see you have printers and Winzip flagged to
save their registry settings on logoff . .do these values make it to the
other systems on login? Or do we just have no saved settings at all
appearing?

Another thought along those same lines, how about you limit your INI on both
servers down to just the outlook settings and see how it goes, those would
be:

Version  = 11.0
Product  = Microsoft Office 11.0

# ***************************** Registry Sections
*****************************

[SubstituteEnvironmentVariables]
%USERPROFILE%
%USERNAME%

[IncludeRegistryTrees]
HKCU\Software\Microsoft\Office

HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging
Subsystem
HKCU\Software\Microsoft\Windows Messaging
Subsystem\Profiles\Outlook

I didn't see anything that looked too off in your INI, but it never hurts to
simply things just to get it working.

Lan


On 12/20/06, Jose Luis Delgado <delgadojl@xxxxxxxxx> wrote:

Thanks Lan.
yes the copying and restoring of the OPs files has the current time stamp.

How do you set the Attrib for the OPS file hiden value in the
logon/logoff scripts.

thank you.
-Jose.

On 12/20/06, TSguy92 Lan <tsguy92@xxxxxxxxx> wrote:
> From the looks of it, I don't think the issue is with your INI file.
>
> Outside of the progress bar. Can you confirm that the network location
being
> written too by the login script creates an updated *.OPS file with a
current
> time stamp on user logoff?
>
> Are you doing any trickery like setting a "hide" file attribute on the
*.OPS
> file after it's written? I've found the flex kit doesn't handle hidden
> files, so in my login / logoff I'm using Attrib to remove the hidden
value
> so that the OPS file can be read it on log on, and again on logoff so
that
> it can be written too.
>
> You may also want to consider running Process mon from the console of
the TS
> server during user logoff of Server A, and again during the logon to
Server
> B -
>
http://www.microsoft.com/technet/sysinternals/FileAndDisk/processmonitor.mspx
>
> HTH
>
> Lan
>
>
> On 12/20/06, Jose Luis Delgado <delgadojl@xxxxxxxxx> wrote:
> > Thank you for your reply.
> > this is my current  .INI file:
> >
> > [Header]
> > Version  = 11.0
> > Product  = Microsoft Office 11.0
> >
> > [ExcludeFiles]
> > %username%\Local Settings\Application
> Data\Microsoft\Windows\UsrClass.dat
> > %username%\Local Settings\Application
> Data\Microsoft\Windows\UsrClass.dat.LOG
> >
> > [IncludeRegistryTrees]
> > HKCU\Software\Microsoft\Office\11.0\Outlook
> > HKCU\Software\Microsoft\Office\Outlook
> > HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging
> Subsystem
> > HKCU\Software\Microsoft\Windows Messaging Subsystem\Profiles\Outlook
> > HKCU\Software\Niko Mak Computing
> > HKCU\Software\Adobe\Acrobat
> > HKCU\Printers
> >
> > [IncludeIndividualRegistryKeys]
> >
> > [IncludeIndividualRegistryValues]
> > HKCU\Software\Microsoft\Windows
> NT\CurrentVersion\Windows\Device
> >
> >
> >
> > [ExcludeRegistryTrees]
> >
> > [ExcludeIndividualRegistryKeys]
> >
> >
> > [ExcludeIndividualRegistryValues]
> >
> HKCU\Software\Microsoft\Office\11.0\PowerPoint\Options\Background
> spell checking
> >
> HKCU\Software\Microsoft\Office\11.0\Word\Options\AutoSpell
> >
> HKCU\Software\Microsoft\Office\11.0\Word\Options\AutoGrammar
> >
> > [RegistryTreesToRemoveToResetToDefaults]
> >
> > [IndividualRegistryValuesToRemoveToResetToDefaults]
> >
> > [RegistryTreesToExcludeToResetToDefaults]
> >
> > [RegistryKeysToExcludeToResetToDefaults]
> >
> > [RegistryValuesToExcludeToResetToDefaults]
> >
> > is there any entries that I should removed or edit as for your
suggestion.
> > and in answer to your question, Yes user is logged off server A and
> > then logs in into server B. I also I have profile wizard to display
> > the progress bar and it seems that it is re-storing and saving
> > settings during the logon and logoff.
> >
> > Thank you again.
> > -Jose.
> >
> >
> > On 12/20/06, TSguy92 Lan <tsguy92@xxxxxxxxx> wrote:
> > > Hi Jose,
> > >
> > > You'll want to double check that you have the following entries in
your
> INI
> > > for the flex profiles:
> > >
> > > Under - [IncludeRegistryTrees]
> > >
> > > HKCU\Software\Microsoft\Office
> > >
> > > HKCU\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging
> > > Subsystem
> > > HKCU\Software\Microsoft\Windows Messaging Subsystem\Profiles\Outlook
> > >
> > >
> > > I was going to ask you to check your login / logoff scripts too but
then
> the
> > > following thought just occured to me, regarding the info you've
> provided:
> > >
> > > User A logs into Server A - outlook profile gets setup.
> > >
> > > User A logs into Server B - ***Are you doing this before logging
this
> user
> > > off server A?***
> > >
> > > The general concept with flex profiles being that you have
combination
> of:
> > >   - login scripts to restore user settings
> > >   - logoff scripts to save user settings.
> > >
> > > Without that initial logoff . .you have no settings to be restored
when
> they
> > > connect to another TS server.
> > >
> > > HTH
> > >
> > > Lan
> > >
> > >
> > >
> > >
> > > On 12/20/06, Jose Luis Delgado <delgadojl@xxxxxxxxx> wrote:
> > > >
> > > > Hello, Everyone. (Happy Holidays)
> > > >
> > > > We are running Windows 2003 server, Office 2003, we have a scripts
> > > > that is creating the outlook profiles automatically when the user
logs
> > > > in for the first time using a PRF file, we are also using flex
> > > > profiles with our custom .ini file to restore user settings, Well,
my
> > > > issue is that when the user logs in for the first time the user's
> > > > outlook profile gets created, then the same user logs in for the
> > > > second time on the same server and  all the preferences changes
for
> > > > outlook are still there, same user logs in to a second server, it
acts
> > > > as the user profile was never created.
> > > > Is anybody having a similar problem or can someone give me any
> > > > suggestions on what to look for, because should the .ini file when
it
> > > > re-stores the user settings should the outlook profiles be created
on
> > > > the second server.
> > > >
> > > >
> > > > thank you in advance, any suggestions will be appreciated.
> > > >
> > > > -Jose.
> > > > SBC SITES ONLY GOOGLE SEARCH: http://www.F1U.com
> > > > ************************************************
> > > > For Archives, RSS, to Unsubscribe, Subscribe or
> > > > set Digest or Vacation mode use the below link:
> > > > //www.freelists.org/list/thin
> > > > ************************************************
> > > >
> > >
> > >
> > SBC SITES ONLY GOOGLE SEARCH: http://www.F1U.com
> > ************************************************
> > For Archives, RSS, to Unsubscribe, Subscribe or
> > set Digest or Vacation mode use the below link:
> > //www.freelists.org/list/thin
> > ************************************************
> >
>
>
SBC SITES ONLY GOOGLE SEARCH: http://www.F1U.com
************************************************
For Archives, RSS, to Unsubscribe, Subscribe or
set Digest or Vacation mode use the below link:
//www.freelists.org/list/thin
************************************************

Other related posts: