Re: What is the difference between "legacy" & "windows 2000" logon scripts
- From: "Mark Heitbrink [MVP]" <spam-only@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 20 May 2007 21:28:53 +0200
Hi,
roga schrieb:
I am looking at "run logon scripts visible" and don't understand the
difference between "NT4 legacy" and "windows 2000" scripts.
Legacy:
Entry in the properties of the Userobjekt on Tab "Profile"
-> "login script". File _must_be_ saved inside NETLOGON
"Windows 2000" scripts (or XP/2003/Vista) can be defined in a GPO
(logon/logoff = User, startup/shutdown = computer) and are not
user specific. They should be saved inside the folder, thats opened
by default, when adding a script to the GPO.
In both ways, you only define the name of the script, not the path
because the path to it is "hardcoded", it is expected in the NETLOGON
(legacy) or the logon/logoff (startup/shutdown) folder of the GPO.
To have a "single" store for all scripts, you can store GPO based scripts
in the NETLOGON aswell, but if you do, you have to use the DFS sharename
inside the GPO, not only the name of the file.
e.g. your script is called "logon.bat" (can be .vbs aswell ...) and you
copy it to the NETLOGON, you create a GPO. The name of your domain is:
mydom.local
Entry inside the GPO: \\mydom.local\netlogon\logon.bat
Thats the only option to give a path. All other pathes are not allowed
and it´s the only way to have a single store for all scripts.
Mark
--
Mark Heitbrink - MVP Windows Server - Group Policy
Homepage: www.gruppenrichtlinien.de - deutsch
Blog: gpupdate.spaces.live.com - english
.
- References:
- Prev by Date: What is the difference between "legacy" & "windows 2000" logon scripts
- Next by Date: Re: XP SP2 vs W2k3 SP2 for GPO editing
- Previous by thread: What is the difference between "legacy" & "windows 2000" logon scripts
- Next by thread: Re: XP SP2 vs W2k3 SP2 for GPO editing
- Index(es):
Relevant Pages
|