local Mandatory profiles and logon/logoff scripts

  • Thread starter Thread starter William P
  • Start date Start date
W

William P

Guest
Having issues with logon/logoff scripts not running

Situation:
---------
'Default User' profile -> renamed NTUSER.DAT to NTUSER.MAN
Local Policy contains both a logon & logoff script.
User logs on, C:\Documents & Settings\<USERNAME> profile folder is created.
Contains both NTUSER.DAT and NTUSER.MAN files.
Checked in 'User profiles' and new profile is listed as Manadatory.

*** Logon and logoff scripts don't run anymore. ***
Any reason why?

It appears that as soon as I switch a profile from local to mandatory my
scripts don't run.

Any help would greatly be appreciated.
 
Re: local Mandatory profiles and logon/logoff scripts

Where are your logon and logoff scripts located? Local policies run at a
different time (t1) in the logon sequence as compared to centrally managed
policies (t2, eg. via AD). The mapping of a drive, such as the TS homedrive,
may be in between t1 and t2. This means that probably a mapped drive with
the logon script is not available depending of the fact is it was launched
from the local profile or from the mandatory profile.

Benny

--
Bernhard Tritsch
MVP Windows Server - Terminal Server
Author of "Windows Server 2003 Terminal Services", Microsoft Press
http://www.wtstek.com


"William P" <WilliamP@discussions.microsoft.com> wrote in message
news:C6977161-24F2-4981-80D0-DA67D838D6AF@microsoft.com...
> Having issues with logon/logoff scripts not running
>
> Situation:
> ---------
> 'Default User' profile -> renamed NTUSER.DAT to NTUSER.MAN
> Local Policy contains both a logon & logoff script.
> User logs on, C:\Documents & Settings\<USERNAME> profile folder is
> created.
> Contains both NTUSER.DAT and NTUSER.MAN files.
> Checked in 'User profiles' and new profile is listed as Manadatory.
>
> *** Logon and logoff scripts don't run anymore. ***
> Any reason why?
>
> It appears that as soon as I switch a profile from local to mandatory my
> scripts don't run.
>
> Any help would greatly be appreciated.
>
 
Re: local Mandatory profiles and logon/logoff scripts

My logon/logoff scripts are in the local policy on the terminal server. The
logon/logoff scripts only run proflwiz.exe, to secure the Office
environmental changes and then a COPY command ot copy a file from one place
to another.

I even added a pause int he logoon.cmd file to see what is going on and it
doesn't run.

"Benny Tritsch [MVP]" wrote:

> Where are your logon and logoff scripts located? Local policies run at a
> different time (t1) in the logon sequence as compared to centrally managed
> policies (t2, eg. via AD). The mapping of a drive, such as the TS homedrive,
> may be in between t1 and t2. This means that probably a mapped drive with
> the logon script is not available depending of the fact is it was launched
> from the local profile or from the mandatory profile.
>
> Benny
>
> --
> Bernhard Tritsch
> MVP Windows Server - Terminal Server
> Author of "Windows Server 2003 Terminal Services", Microsoft Press
> http://www.wtstek.com
>
>
> "William P" <WilliamP@discussions.microsoft.com> wrote in message
> news:C6977161-24F2-4981-80D0-DA67D838D6AF@microsoft.com...
> > Having issues with logon/logoff scripts not running
> >
> > Situation:
> > ---------
> > 'Default User' profile -> renamed NTUSER.DAT to NTUSER.MAN
> > Local Policy contains both a logon & logoff script.
> > User logs on, C:\Documents & Settings\<USERNAME> profile folder is
> > created.
> > Contains both NTUSER.DAT and NTUSER.MAN files.
> > Checked in 'User profiles' and new profile is listed as Manadatory.
> >
> > *** Logon and logoff scripts don't run anymore. ***
> > Any reason why?
> >
> > It appears that as soon as I switch a profile from local to mandatory my
> > scripts don't run.
> >
> > Any help would greatly be appreciated.
> >

>
>
>
 
Back
Top