Jump to content

local Mandatory profiles and logon/logoff scripts


Recommended Posts

Guest William P
Posted

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.

  • Replies 2
  • Created
  • Last Reply
Guest Benny Tritsch [MVP]
Posted

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.

>

Guest William P
Posted

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.

> >

>

>

>


×
×
  • Create New...