Windows Vista Forums

Re: Restricting User Access Hours

  1. #1


    Zakhary Guest

    Re: Restricting User Access Hours

    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/s.../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" <Zakhary@newsgroup> said this in news item
    > news:969D388D-69E2-40C6-AC40-5790B7EFF37E@newsgroup

    > > 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.
    >
    > .
    >

      My System SpecsSystem Spec

  2. #2


    Pegasus [MVP] Guest

    Re: Restricting User Access Hours

    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" <Zakhary@newsgroup> said this in news item
    news:ACB7D8CD-21DB-40ED-AB79-BE5CCD3F40EA@newsgroup

    > 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/s.../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" <Zakhary@newsgroup> said this in news item
    >> news:969D388D-69E2-40C6-AC40-5790B7EFF37E@newsgroup

    >> > 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.
    >>
    >> .
    >>

      My System SpecsSystem Spec

Re: Restricting User Access Hours

Similar Threads
Thread Forum
Restricting VPN Access in SBS 2003
Is it possible to restrict access for VPN clients to a single directory in SBS2003? Perhaps I am using the wrong technique. We have a remote...
SBS Server
RE: Restricting User Access Hours
So far, all replies have referred either to internet-specific hour restrictions via making changes on the router or links and suggestions on...
Vista account administration
Restricting User Access Hours
I'm not sure where to post this, so have posted it a few places. As a parent, I would like my children to not be able to use the computers during...
Vista account administration
Restricting Limited User
Im the admin on my PC. There is a limited user account. I want to set permissions for certain folders such that they cannot 'cut' or 'delete' the...
General Discussion
restricting user to write in the text box
Hello Everyone, I need to restrict user not to write anythign in the text box. User can only copy and paste in the text box. is it possible to do...
.NET General
Restricting user access ?
Is there a way to turn off access to the Control Panel by secondary user accounts ? My kids keep getting in there and changing things, I'd like to...
General Discussion
Restricting User Access & Personalized Start Menu
Two questions. Is there a way to have personalized start menues for each user in Vista, if so how? I would like to restrict the Guest account,...
Vista General