A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Vista Administration, Accounts and Passwords
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Vista Administration, Accounts and Passwords Queries, comments and issues relating to the administration of Windows Vista. (microsoft.public.windows.vista.administration_accounts_passwords)

Restricting User Access Hours



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old December 29th 09, 05:23 PM posted to microsoft.public.windowsxp.general,microsoft.public.windows.group_policy,microsoft.public.windows.vista.administration_accounts_passwords
Zakhary
external usenet poster
 
Posts: 13
Default 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" said this in news item
...
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.

.

  #2 (permalink)  
Old December 29th 09, 05:42 PM posted to microsoft.public.windowsxp.general,microsoft.public.windows.group_policy,microsoft.public.windows.vista.administration_accounts_passwords
Pegasus [MVP]
external usenet poster
 
Posts: 18
Default 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" said this in news item
...
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" said this in news item
...
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.

.

  #3 (permalink)  
Old December 29th 09, 05:42 PM posted to microsoft.public.windowsxp.general,microsoft.public.windows.group_policy,microsoft.public.windows.vista.administration_accounts_passwords
Pegasus [MVP]
external usenet poster
 
Posts: 18
Default 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" said this in news item
...
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" said this in news item
...
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.

.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 09:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2024 Vista Banter.
The comments are property of their posters.