Reply to:
> Jerold Schulman
> Windows Server MVP
> JSI, Inc.
> http://www.jsiinc.com
> http://www.jsifaq.com
I am not educated with the likes and dislikes of Group Policy running
scripts. The goal is to capture all logon.etc. "Everyone" who logs on
registers to <somewhere.txt>; via GroupPolicy
(logon),(logoff),(startup),(shutdown).[echo
%computername%...%date%...%time%...%shutdown%...%username% >>
<somewhere.txt>] Everyone includes local and domain logon.etc. I was under
the impression that Group Policy was and administrators tool and would write
to an Administrator file, It does, but when a %username% is not a
Administrator it [echo %username%]does an: "Access Deny" message in the dos
window during testing, and when logging on with Group Policy enabled for the
script refuses to write.
If it has to be a share then the batch will either copy it to the
Administrator only folder and delete the user file synchronously. Optionally
the <somewhere.txt> can reside locally (preferred) and copy to the server
administrator only folder on the server. The purpose is to take advantage of
Group Policy log/start/shut features. Offline files works with any user
just great; logging on and off, expected the same concept using Group
Policy.............Thank you for you help. Jerry