Results 1 to 3 of 3

Thread: Help please...need a solution when users logging off

  1. #1
    JC_LHL is offline Getting Started on GPanswers.com
    Join Date
    Dec 1969
    Posts
    2

    Default

    We have a time management system that employees have to login to via their web browser when they start their shift and logout when they finish for the day.

    My problem is that employees forget to logout before they go home. They used to forget to login, however I have created a batch file (as below) which reminds them they have to login.

    Could anyone help me with a solution when they logout or shutdown their machine? A webpage would need to open and they would need to login and clockout, then when the IE window is closed the machine could then logoff or shutdown.

    I was thinking of using a scheduled task to run the bat file at the end of the day, but this will cause problems as most employees have different shifts.

    Any help would be gratefully received.

    Many thanks

    Joe

    PS. The logon bat file, which gives them the option to clock in.

    @ECHO off
    cls
    :start
    ECHO.
    ECHO Do you want to clock in?
    ECHO.
    ECHO 1. Yes
    ECHO 2. No
    ECHO.
    set choice=
    set /p choice=Please select choice 1 or 2 and press ENTER
    if not '%choice%'=='' set choice=%choice:~0,1%
    if '%choice%'=='1' goto clock
    if '%choice%'=='2' goto exit
    ECHO "%choice%" is not valid please try again
    ECHO.
    goto start
    :clock
    START http://webaddress.goes.here.com/
    goto end
    :exit
    exit
    :end

  2. #2
    AdamV is offline 100+ Helpful Posts! 50+ Helpful Posts
    Join Date
    Dec 1969
    Posts
    669

    Default

    Maybe you could policy to take away Shut Down from start menu and then provide a shortcut on their desktop (or Start or both) to a script which prompts "do you want to clock off or just shutdown?" then go to the web page using a call statement to iexplore, or jump straight to a shutdown (using a rundll32 command or maybe starting psshutdown (<IIRC) from SysInternals)

  3. #3
    JC_LHL is offline Getting Started on GPanswers.com
    Join Date
    Dec 1969
    Posts
    2

    Default

    Quote Originally Posted by AdamV
    Maybe you could policy to take away Shut Down from start menu and then provide a shortcut on their desktop (or Start or both) to a script which prompts "do you want to clock off or just shutdown?" then go to the web page using a call statement to iexplore, or jump straight to a shutdown (using a rundll32 command or maybe starting psshutdown (<IIRC) from SysInternals)
    Thanks for that adam - I could do that, however I wouldn't be able to for users that log off instead of shutting down. I don't really want to go down the route of removing the shutdown option either - our employees fear change! Thanks anyway though - any other suggestions?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Search Engine Friendly URLs by vBSEO