logon/logoff scripts and runas
- From: "Lars Nyman" <larsnyman@xxxxxxxxxxxxx>
- Date: Thu, 23 Jun 2005 17:52:56 -0700
Windows Server 2003.
I have a GPO that specifies a logon script in User Configuration/Windows
Setting/Scripts (Logon/Logoff)/Logon (and similarly a logoff script). The
GPO is linked to a OU that contains a user mydomain\userA.
When logging on as mydomain\userA the logon script is executed and when
logging off the logoff script is executed as expected.
However, if I am logged on as another user, mydomain\userB and use "runas
/user:mydomain\userA cmd.exe"
to start a command prompt as userA then the logon script for userA is not
executed (and the logoff script for userA is not executed when the command
prompt is exit-ed). Is this the expected behavior? If so, is there any
documentation and/or helpfile that describes the differences between a
"full" logon from ctrl-alt-del and a "logon" using runas.
.
- Follow-Ups:
- Re: logon/logoff scripts and runas
- From: Bruce Sanderson
- Re: logon/logoff scripts and runas
- From: lee_mre
- Re: logon/logoff scripts and runas
- Prev by Date: Complex GPO Design Question
- Next by Date: Re: Complex GPO Design Question
- Previous by thread: Complex GPO Design Question
- Next by thread: Re: logon/logoff scripts and runas
- Index(es):
Relevant Pages
|
Loading