Setting Time Limits on Windows 7 Pro Computer RRS feed

  • Question

  • Not sure where to put this, if this needs to go into another forum, please let me know.

    We have a computer that our Hotel Guest can use to print out their flight tickets, do some business work etc.  I have been asked to setup Time Limits for the Hotel Guest Login.  Parental Controls will not work since we all know that we can set the hours of use but NOT a Time Limit on this account. We want to set the Hotel Guest User to be only logged in for no more than 30 minutes.  However if another Guest wants to login right after the previous Guest logoffs they will be able to do so.  Is there a way to do it in Windows 7 Pro?  Is there a way to do in Group Policy? If so, how and where do I set it?  

    Thanks in advance

    Wednesday, December 13, 2017 2:31 AM

All replies

  • Hi,

    Here are some steps:

    1.Logon using Hotel Guest account

    2.Open task scheduler

    3.Create task, under trigger tab>choose Begin the task at log on

    choose Specific user as Guest

    4.Under Action tab, browser the .bat file

    5.Create a text file which contains the script:

    @echo off
    timeout /t 1800
    msg * Shutting down in two minutes, please save your work.
    timeout /t 120
    shutdown /l

    Then save it as a .bat file. (Named as ***.bat). Add it to the action tab.

    Please remember to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Thursday, December 14, 2017 7:11 AM
  • Thank you Vivian for responding.  I will give this a try this weekend when I get to the site.  I greatly appreciate this information.  I will let you know if this works they way we want it to work.  :)
    Friday, December 15, 2017 5:07 AM
  • Hi, I tried your method on my Windows7

    msg shows the message, but shutdown does nothing. What could be the reason?

    • Edited by dilukhin Sunday, December 22, 2019 8:28 PM
    Sunday, December 22, 2019 8:28 PM