some questions about login script

W

Walter

Hi,

1) Where is the default login script path?
2) And how can i change it?
3) Can i put an EXE file instead of a CMD or BAT file?

Thanks
Walter
 
A

Ace Fekay [MVP]

In
Walter said:
Hi,

1) Where is the default login script path?
2) And how can i change it?
3) Can i put an EXE file instead of a CMD or BAT file?

Thanks
Walter

For AD and AD clients (W2k or newer), there is no "default" path anymore.
But if you do have legacy clients, use the user account properties to
indicate a bat, cmd, vbs, etc file to run as a 'logon' script, which you
place in this folder below (which is shared out as "NETLOGON"):

c:\WINNT\SYSVOL\sysvol\domain.com\scripts

The idea with AD and using W2k or newer clients, is to use GPOs for startup,
logon, logoff, and shutdown scripts. If you have a mix of clients, you need
to keep in mind, any scripts or files you put in the above folder will
effect all of them and you may get mixed results using GPOs and the Netlogon
folder.

--
Regards,
Ace

Please direct all replies ONLY to the Microsoft public newsgroups
so all can benefit.

This posting is provided "AS-IS" with no warranties or guarantees
and confers no rights.

Ace Fekay, MCSE 2003 & 2000, MCSA 2003 & 2000, MCSE+I, MCT, MVP
Microsoft Windows MVP - Windows Server - Directory Services

Security Is Like An Onion, It Has Layers
HAM AND EGGS: A day's work for a chicken;
A lifetime commitment for a pig.
 
H

Herb Martin

Ace is correct.

I also maintain the BEST way to place the logon scripts
(or relatives: logoff, startup, shutdown) is to use the
GPOEditor and let it SHOW you where they go.

Even if you have the script already, it is better to "create"
it in the GPOEditor and paste the one you have there.
 
L

Laura A. Robinson [MVP]

circa Sat, 11 Sep 2004 11:59:38 -0500, in
microsoft.public.win2000.active_directory, Herb Martin
([email protected]) said,
Even if you have the script already, it is better to "create"
it in the GPOEditor and paste the one you have there.
Why?

Laura
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top