Log on and Log off scripts though group policy?

Hi,

I was wondering if someone could help me or guide me into why is wrong.

So I am trying to set up a log on/ off script though GPO when users logon it will show when they log on. See pictures

The bash script works because when I click it it shows me the txt document, but not working on gpo log on and off. Not sure where I went wrong.

I used this http://community.spiceworks.com/how_to/82-monitor-user-log-in-and-log-off-without-software

as the guide.

Thank you

rem The following line creates a rolling log file of usage by workstation echo Log In %Date% %TIME% %USERNAME% >> \\zeus\Logs\Computer\%COMPUTERNAME%.log rem The following line creates a rolling log file of usage by user echo Log In %Date% %TIME% %COMPUTERNAME% >> \\zeus\Logs\User\%USERNAME%.log

rem The following line creates a rolling log file of usage by workstation
echo Log Off %Date% %TIME% %USERNAME% >> \\zeus\Logs\Computer\%COMPUTERNAME%.log

rem The following line creates a rolling log file of usage by user
echo Log Off %Date% %TIME% %COMPUTERNAME% >> \\zeus\Logs\User\%USERNAME%.log


September 2nd, 2015 8:05pm

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics