Re: What is the difference between "legacy" & "windows 2000" logon scripts



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
.



Relevant Pages

  • Re: group policy adm file to set windows explorer default view to
    ... - my German is rather shakey to say the least! ... that this entry is a Reg_Binary an the view of a folder ... The scripts, I created are deleting every saved folder state and giving ...
    (microsoft.public.windows.group_policy)
  • Re: Best Method for Exporting Group Policy?
    ... GPO, then you can work with the MTE (Migration Tabel Editor, included ... Take a look inside the GPMC\Scripts Folder you can export and import your ... whole environment with this scripts, not only GPOs if you like. ... GPMC includes menu options for Backup Restore and Import. ...
    (microsoft.public.windows.group_policy)
  • Re: Help with configuration
    ... to redirect their My Documents folder to a share on the fileserver. ... GPo, if it is already redirecting by default? ... account profile is blank, also). ... Your GPO settings do not apply to your Terminal Server. ...
    (microsoft.public.windows.terminal_services)
  • Re: User Profiles
    ... You can use Folder redirection for the Start Menu, ... Exactly what icons are you getting from the Default Domain Policy, ... and in which GPO setting are they defined? ... MCSE, CCEA, Microsoft MVP - Terminal Server ...
    (microsoft.public.windows.terminal_services)
  • Re: W2008: new location for folder redirection does not work
    ... I have just had some problems with folder redirection. ... One of the GPO setting is what to do with the redirected folder when the PC ... some settings still kept until you revert them. ...
    (microsoft.public.windows.server.general)