I am also looking for a way to do the exact thing that you are doing.
If you can guarantee that each machine that you are running on will already
have some Group Policy running on them, then you should be able to make a
copy of the c:\WINNT\System32\GroupPolicies\USER\Scripts\Scripts.ini off of a
system in which this policy has been hand created via the GPEdit tool and
copy it to the machines that you want to configure to have that same
logon/logoff policy(You can't write to the file with >> due to security
reasons, but I think you can copy a new one over it).
The big problem I am having, is that I can't guarantee that the group policy
logon/logoff has been initialized on the machines that I will be running my
script on.
I am currently trying to do various things with the registry so that the
script that I'm creating will not only setup my logon/logoff script policies,
but also initialize any windows 2k machine to use logon/logoff policies if
they haven't already been configured to do so.
If I figure it out(Fingers are crossed), i'll Post how to do it.