Re: Restricting User Access Hours

Discussion in 'Windows Vista Administration' started by Zakhary, Dec 29, 2009.

  1. Zakhary

    Zakhary Guest

    I'm not sure if I understand the steps entirely with this option...

    1) Install PsTools (which includes PsLoggedon) from
    http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx

    2) In cmd, key in all that that you entered...
    @echo off "c:\RestrictedFolder\psloggedon.exe" | find /i "xxx" || goto :eof
    shutdown.exe /s /f /t 3

    Where "xxx" is?

    ???

    "Pegasus [MVP]" wrote:

    >
    >
    > "Zakhary" <> said this in news item
    > news:...
    > > I'm not sure where to post this, so am posting it in "general"
    > >
    > > As a parent, I would like my children to not be able to use the computers
    > > during certain hours of the night. There are two computers: one operates
    > > on
    > > XP; the other on Vista
    > >
    > > I was looking through the User Account and Computer Management console to
    > > see if there was a way to establish user or group policies that restricted
    > > particular users or groups from having the ability to log on during
    > > certain
    > > hours of the day. However, I had no success finding anything. Is there
    > > any
    > > way to do this that I was not able to find? Or, would I need a separate
    > > program to be able to make these restrictions happen?
    > >
    > > Thanks,
    > > Zakhary

    >
    > You could create a scheduled task that runs under the System account once
    > every minute during the restricted hours. It would invoke the following
    > batch file (which you must store in a restricted location):
    >
    > @echo off
    > "c:\RestrictedFolder\psloggedon.exe" | find /i "xxx" || goto :eof
    > shutdown.exe /s /f /t 3
    >
    > You can get psloggedon.exe from www.sysinternals.com.
    >
    > .
    >
     
    Zakhary, Dec 29, 2009
    #1
    1. Advertising

  2. Sorry, I forgot to say that you need to replace xxx with the logon account
    name used by your children.

    The code I gave you is a batch file. You must put it into a location that is
    inaccessible to your children. The following command will create such a
    batch file, which I will call "close.bat":

    notepad "c:\documents and settings\yakhary\my documents\close.bat{Enter}

    After allowing the file to be created, you can copy & paste the code I gave
    you into the notepad session, then save and close the file.

    Remember to create a scheduled task to execute close.bat under the System
    account once every five minutes.

    Note also that many children of the current generation are very resourceful.
    It would take me about five minutes to crack any restriction you might place
    on your PC. It might take your children five days. As others have mentioned,
    there are better was to assert your parental authority than putting padlocks
    on your PC.


    "Zakhary" <> said this in news item
    news:...
    > I'm not sure if I understand the steps entirely with this option...
    >
    > 1) Install PsTools (which includes PsLoggedon) from
    > http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx
    >
    > 2) In cmd, key in all that that you entered...
    > @echo off "c:\RestrictedFolder\psloggedon.exe" | find /i "xxx" || goto
    > :eof
    > shutdown.exe /s /f /t 3
    >
    > Where "xxx" is?
    >
    > ???
    >
    > "Pegasus [MVP]" wrote:
    >
    >>
    >>
    >> "Zakhary" <> said this in news item
    >> news:...
    >> > I'm not sure where to post this, so am posting it in "general"
    >> >
    >> > As a parent, I would like my children to not be able to use the
    >> > computers
    >> > during certain hours of the night. There are two computers: one
    >> > operates
    >> > on
    >> > XP; the other on Vista
    >> >
    >> > I was looking through the User Account and Computer Management console
    >> > to
    >> > see if there was a way to establish user or group policies that
    >> > restricted
    >> > particular users or groups from having the ability to log on during
    >> > certain
    >> > hours of the day. However, I had no success finding anything. Is
    >> > there
    >> > any
    >> > way to do this that I was not able to find? Or, would I need a
    >> > separate
    >> > program to be able to make these restrictions happen?
    >> >
    >> > Thanks,
    >> > Zakhary

    >>
    >> You could create a scheduled task that runs under the System account once
    >> every minute during the restricted hours. It would invoke the following
    >> batch file (which you must store in a restricted location):
    >>
    >> @echo off
    >> "c:\RestrictedFolder\psloggedon.exe" | find /i "xxx" || goto :eof
    >> shutdown.exe /s /f /t 3
    >>
    >> You can get psloggedon.exe from www.sysinternals.com.
    >>
    >> .
    >>
     
    Pegasus [MVP], Dec 29, 2009
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Angelo

    Restricting User Access & Personalized Start Menu

    Angelo, Apr 22, 2007, in forum: Windows Vista General Discussion
    Replies:
    2
    Views:
    192
    Guy Thomas
    Apr 23, 2007
  2. Dano

    Restricting logon hours specific to a computer

    Dano, Jan 31, 2005, in forum: Windows Small Business Server
    Replies:
    1
    Views:
    910
    Charles Yang [MSFT]
    Feb 1, 2005
  3. Sean

    SBS 2003 Std Backups taking 8 hours from 4 hours

    Sean, Aug 5, 2009, in forum: Windows Small Business Server
    Replies:
    11
    Views:
    337
  4. Zakhary

    Restricting User Access Hours

    Zakhary, Dec 29, 2009, in forum: Windows Vista Administration
    Replies:
    0
    Views:
    530
    Zakhary
    Dec 29, 2009
  5. Zakhary

    RE: Restricting User Access Hours

    Zakhary, Dec 29, 2009, in forum: Windows Vista Administration
    Replies:
    3
    Views:
    699
    Shenan Stanley
    Dec 29, 2009
Loading...

Share This Page