Run programs at user logon

  • Thread starter Thread starter Scott Elgram
  • Start date Start date
S

Scott Elgram

Hello,
For Windows 2000 Server with Windows 2000 in a Group Policy under "User
Configuration | Administrative Templates | System | Logon/Logoff" there is a
policy called "Run these programs at user logon". When are these programs
actually executed? Assuming the user is new to a particular machine will
the programs execute before or after all profile entries are completed.

Thanks,
 
It appears to run after the local profile is built.

I made a new user in the OU, enabled the User policy setting to launch
notepad.

Logged on with the new user and Notepad opened after the user was fully
logged on.
 
David,
My concern is really with a script. I have a need to delete the quick
launch and programs folders from a users profile. I created a script that
did this and stuck it in "logon scripts" It worked fine for the programs
folder but the quick launch was never deleted. After much investigation I
determined that the script was run before a profile was completed.

--
-Scott Elgram

David Everett said:
It appears to run after the local profile is built.

I made a new user in the OU, enabled the User policy setting to launch
notepad.

Logged on with the new user and Notepad opened after the user was fully
logged on.
--
David Everett
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

Scott Elgram said:
Hello,
For Windows 2000 Server with Windows 2000 in a Group Policy under "User
Configuration | Administrative Templates | System | Logon/Logoff" there
is
 
Hi Scott,

Have you looked at enabling the "Run logon scripts synchronously" under User
Configuration\Administrative Templates\System\Logon

This setting directs the system to wait for logon scripts to finish running
before it starts the Windows Explorer interface program and creates the
desktop.
--
David Everett
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.

Scott Elgram said:
David,
My concern is really with a script. I have a need to delete the quick
launch and programs folders from a users profile. I created a script that
did this and stuck it in "logon scripts" It worked fine for the programs
folder but the quick launch was never deleted. After much investigation I
determined that the script was run before a profile was completed.

--
-Scott Elgram

David Everett said:
It appears to run after the local profile is built.

I made a new user in the OU, enabled the User policy setting to launch
notepad.

Logged on with the new user and Notepad opened after the user was fully
logged on.
--
David Everett
Microsoft Corporation

This posting is provided "AS IS" with no warranties, and confers no rights.
there
 
David,
Yes, I looked at that and use it in another instance where a large
access app is downloaded on to the users desktop. However I am unsure if it
creates the "Programs" and "Quick Launch" folders and then runs the scripts
or visa-versa.
 
I just ran a test of my own with a batch file that deletes the folders in
question. It would appear the batch file was executed after the "Start
Menu" folder is created but before the Startup folder is created in it and
the IE, Outlook and Media player links are place in "Start Menu". Also
before the Quick Launch folder is created.
 
Back
Top