If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
getting kids to log off win xp home
Is there any way using win xp home that I can get my pc to remind my son that it's time to log off the pc and go to bed. He has his own user account on win xp (limited). He'd sit up all night playing games if he could get away with it.
Many thanks. |
Ads |
#2
|
|||
|
|||
getting kids to log off win xp home
Yes "at" command works on Home and I am quite sure the UI for "at" is also
available: Start-All programs-Accessories-System Tools-Schedule Tasks Rehan "Steven L Umbach" wrote in message ... Does AT work on Home such as [ AT 22:30 /interactive /every:m,t,w,th,f,s,su logoff ] ?? it would not be very subtle but may get the job done and prevent him from logging back on if time restrictions were in place. --- Steve "Roger Abell" wrote in message ... These settings will only control when the account may log in. In order to force the account off when outside of these times one needs to be in a domain. -- Roger Abell Microsoft MVP (Windows Server System: Security) MCSE (W2k3,W2k,Nt4) MCDBA "Rehan" wrote in message ... No utility or computer restriction can compensate for lack of self descipline in children. This requires good parenting. However to complement your parental guidance here is what you can do: Use the net user command within XP to create these login times profiles for a user... Syntax: net user [UserName [Password | *] [options]] [/domain] For more information check out the link http://www.microsoft.com/technet/tre...chnet/prodtech nol/winxppro/proddocs/net_user.asp Example: net user steveg /TIMES:monday-friday,5pm-9pm;saturday,9am-12am;sunday,12am-9pm The above command restricts steveg use of the pc to evenings (5pm-9pm) on weekdays and allow all day use on weekends (9am sat to 9pm sunday). Hope this helps. Rehan "Steve G" wrote in message ... Is there any way using win xp home that I can get my pc to remind my son that it's time to log off the pc and go to bed. He has his own user account on win xp (limited). He'd sit up all night playing games if he could get away with it. Many thanks. |
#3
|
|||
|
|||
getting kids to log off win xp home
Xref: kermit microsoft.public.windowsxp.security_admin:130668
"Roger Abell" wrote in message ... These settings will only control when the account may log in. In order to force the account off when outside of these times one needs to be in a domain. Roger, Thanks for mentioning this. I forgot to mention about this in my message. You are right that by default this is the behaviour: if the user is already logged on the system does not log him off. However this can be fixed by using: net accounts /forcelogoff:0 The above command once executed will change the default behaviour. From then on all users will be logged out automatically once their logon time (as specified using "net user /times:..." command) expires. Rehan ----------------- NET ACCOUNTS [/FORCELOGOFF:{minutes | NO}] [/MINPWLEN:length] [/MAXPWAGE:{days | UNLIMITED}] [/MINPWAGE:days] [/UNIQUEPW:number] [/DOMAIN] NET ACCOUNTS updates the user accounts database and modifies password and logon requirements for all accounts. When used without options, NET ACCOUNTS displays the current settings for password, logon limitations, and domain information. Two conditions are required in order for options used with NET ACCOUNTS to take effect: _ The password and logon requirements are only effective if user accounts have been set up (use User Manager or the NET USER command). _ The Net Logon service must be running on all servers in the domain that verify logon. Net Logon is started automatically when Windows starts. /FORCELOGOFF:{minutes | NO} Sets the number of minutes a user has before being forced to log off when the account expires or valid logon hours expire. NO, the default, prevents forced logoff. /MINPWLEN:length Sets the minimum number of characters for a password. The range is 0-14 characters; the default is 6 characters. /MAXPWAGE:{days | UNLIMITED} Sets the maximum number of days that a password is valid. No limit is specified by using UNLIMITED. /MAXPWAGE can't be less than /MINPWAGE. The range is 1-999; the default is 90 days. /MINPWAGE:days Sets the minimum number of days that must pass before a user can change a password. A value of 0 sets no minimum time. The range is 0-999; the default is 0 days. /MINPWAGE can't be more than /MAXPWAGE. /UNIQUEPW:number Requires that a user's passwords be unique through the specified number of password changes. The maximum value is 24. /DOMAIN Performs the operation on a domain controller of the current domain. Otherwise, the operation is performed on the local computer. |
#4
|
|||
|
|||
getting kids to log off win xp home
No utility or computer restriction can compensate for lack of self
descipline in children. This requires good parenting. However to complement your parental guidance here is what you can do: Use the net user command within XP to create these login times profiles for a user... Syntax: net user [UserName [Password | *] [options]] [/domain] For more information check out the link http://www.microsoft.com/technet/tre...chnet/prodtech nol/winxppro/proddocs/net_user.asp Example: net user steveg /TIMES:monday-friday,5pm-9pm;saturday,9am-12am;sunday,12am-9pm The above command restricts steveg use of the pc to evenings (5pm-9pm) on weekdays and allow all day use on weekends (9am sat to 9pm sunday). Hope this helps. Rehan "Steve G" wrote in message ... Is there any way using win xp home that I can get my pc to remind my son that it's time to log off the pc and go to bed. He has his own user account on win xp (limited). He'd sit up all night playing games if he could get away with it. Many thanks. |
#5
|
|||
|
|||
getting kids to log off win xp home
Rehan wrote:
(snip) You are right that by default this is the behaviour: if the user is already logged on the system does not log him off. However this can be fixed by using: net accounts /forcelogoff:0 The above command once executed will change the default behaviour. From then on all users will be logged out automatically once their logon time (as specified using "net user /times:..." command) expires. Hi Have you actually been able to make that work (logoff the user from the local computer he is logged into, as a console user)? If you do a Google newsgroup search for this, you will see that many have tried, but not succeeded. And this because as I understand it, this forced logoff policy is a policy for SMB server, i.e. the computer which has a network share accessible from a network. This policy, if enabled on a server, ends the users session with the server when their logon hours expire. Here is a quote from the documentation for Windows XP's "Net accounts" found at http://www.microsoft.com/technet/tre...t_accounts.asp quote /forcelogoff:{minutes | no} Sets the number of minutes to wait before ending a user's session with a server when the user account or valid logon time expires. The default value, no, prevents users from being forced to log off. /quote -- torgeir Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter |
#6
|
|||
|
|||
getting kids to log off win xp home
That is my experience, it will not logoff a user from the local console. To
do that takes a logoff screensaver or using logoff, shutdown -l, or PsShutdown -o [SysInternals freeware] via the AT command or Scheduled Tasks. I only have been able to get PsShutdown to work for all users on a computer as a Scheduled Task created with administrator credentials. Logoff or shutdown may already be in the \system32 folder on a W2K/XP Pro omputer. --- Steve "Torgeir Bakken (MVP)" wrote in message ... Rehan wrote: (snip) You are right that by default this is the behaviour: if the user is already logged on the system does not log him off. However this can be fixed by using: net accounts /forcelogoff:0 The above command once executed will change the default behaviour. From then on all users will be logged out automatically once their logon time (as specified using "net user /times:..." command) expires. Hi Have you actually been able to make that work (logoff the user from the local computer he is logged into, as a console user)? If you do a Google newsgroup search for this, you will see that many have tried, but not succeeded. And this because as I understand it, this forced logoff policy is a policy for SMB server, i.e. the computer which has a network share accessible from a network. This policy, if enabled on a server, ends the users session with the server when their logon hours expire. Here is a quote from the documentation for Windows XP's "Net accounts" found at http://www.microsoft.com/technet/tre...t_accounts.asp quote /forcelogoff:{minutes | no} Sets the number of minutes to wait before ending a user's session with a server when the user account or valid logon time expires. The default value, no, prevents users from being forced to log off. /quote -- torgeir Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter |
#7
|
|||
|
|||
getting kids to log off win xp home
These settings will only control when the account
may log in. In order to force the account off when outside of these times one needs to be in a domain. -- Roger Abell Microsoft MVP (Windows Server System: Security) MCSE (W2k3,W2k,Nt4) MCDBA "Rehan" wrote in message ... No utility or computer restriction can compensate for lack of self descipline in children. This requires good parenting. However to complement your parental guidance here is what you can do: Use the net user command within XP to create these login times profiles for a user... Syntax: net user [UserName [Password | *] [options]] [/domain] For more information check out the link http://www.microsoft.com/technet/tre...chnet/prodtech nol/winxppro/proddocs/net_user.asp Example: net user steveg /TIMES:monday-friday,5pm-9pm;saturday,9am-12am;sunday,12am-9pm The above command restricts steveg use of the pc to evenings (5pm-9pm) on weekdays and allow all day use on weekends (9am sat to 9pm sunday). Hope this helps. Rehan "Steve G" wrote in message ... Is there any way using win xp home that I can get my pc to remind my son that it's time to log off the pc and go to bed. He has his own user account on win xp (limited). He'd sit up all night playing games if he could get away with it. Many thanks. |
#8
|
|||
|
|||
getting kids to log off win xp home
Does AT work on Home such as [ AT 22:30 /interactive /every:m,t,w,th,f,s,su
logoff ] ?? it would not be very subtle but may get the job done and prevent him from logging back on if time restrictions were in place. --- Steve "Roger Abell" wrote in message ... These settings will only control when the account may log in. In order to force the account off when outside of these times one needs to be in a domain. -- Roger Abell Microsoft MVP (Windows Server System: Security) MCSE (W2k3,W2k,Nt4) MCDBA "Rehan" wrote in message ... No utility or computer restriction can compensate for lack of self descipline in children. This requires good parenting. However to complement your parental guidance here is what you can do: Use the net user command within XP to create these login times profiles for a user... Syntax: net user [UserName [Password | *] [options]] [/domain] For more information check out the link http://www.microsoft.com/technet/tre...chnet/prodtech nol/winxppro/proddocs/net_user.asp Example: net user steveg /TIMES:monday-friday,5pm-9pm;saturday,9am-12am;sunday,12am-9pm The above command restricts steveg use of the pc to evenings (5pm-9pm) on weekdays and allow all day use on weekends (9am sat to 9pm sunday). Hope this helps. Rehan "Steve G" wrote in message ... Is there any way using win xp home that I can get my pc to remind my son that it's time to log off the pc and go to bed. He has his own user account on win xp (limited). He'd sit up all night playing games if he could get away with it. Many thanks. |
#9
|
|||
|
|||
getting kids to log off win xp home
Roger Abell wrote:
These settings will only control when the account may log in. In order to force the account off when outside of these times one needs to be in a domain. Hi If you are thinking about the GPO setting "Network security: Force logoff when logon hours expire", that has nothing to do with a logoff of the user at his local computer, this setting affects only the Server Message Block (SMB) component of the server, to remove (or "logoff") connections that the user has on the server. -- torgeir Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter |
#10
|
|||
|
|||
getting kids to log off win xp home
Steve G wrote:
Is there any way using win xp home that I can get my pc to remind my son that it's time to log off the pc and go to bed. He has his own user account on win xp (limited). He'd sit up all night playing games if he could get away with it. Many thanks. Hi It looks like this one might be able to help you with this: Aye Shutdown http://www.ayesoftware.com/asd/ -- torgeir Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter |
#11
|
|||
|
|||
getting kids to log off win xp home
Yes "at" command works on Home and I am quite sure the UI for "at" is also
available: Start-All programs-Accessories-System Tools-Schedule Tasks Rehan "Steven L Umbach" wrote in message ... Does AT work on Home such as [ AT 22:30 /interactive /every:m,t,w,th,f,s,su logoff ] ?? it would not be very subtle but may get the job done and prevent him from logging back on if time restrictions were in place. --- Steve "Roger Abell" wrote in message ... These settings will only control when the account may log in. In order to force the account off when outside of these times one needs to be in a domain. -- Roger Abell Microsoft MVP (Windows Server System: Security) MCSE (W2k3,W2k,Nt4) MCDBA "Rehan" wrote in message ... No utility or computer restriction can compensate for lack of self descipline in children. This requires good parenting. However to complement your parental guidance here is what you can do: Use the net user command within XP to create these login times profiles for a user... Syntax: net user [UserName [Password | *] [options]] [/domain] For more information check out the link http://www.microsoft.com/technet/tre...chnet/prodtech nol/winxppro/proddocs/net_user.asp Example: net user steveg /TIMES:monday-friday,5pm-9pm;saturday,9am-12am;sunday,12am-9pm The above command restricts steveg use of the pc to evenings (5pm-9pm) on weekdays and allow all day use on weekends (9am sat to 9pm sunday). Hope this helps. Rehan "Steve G" wrote in message ... Is there any way using win xp home that I can get my pc to remind my son that it's time to log off the pc and go to bed. He has his own user account on win xp (limited). He'd sit up all night playing games if he could get away with it. Many thanks. |
#12
|
|||
|
|||
getting kids to log off win xp home
Xref: kermit microsoft.public.windowsxp.security_admin:130668
"Roger Abell" wrote in message ... These settings will only control when the account may log in. In order to force the account off when outside of these times one needs to be in a domain. Roger, Thanks for mentioning this. I forgot to mention about this in my message. You are right that by default this is the behaviour: if the user is already logged on the system does not log him off. However this can be fixed by using: net accounts /forcelogoff:0 The above command once executed will change the default behaviour. From then on all users will be logged out automatically once their logon time (as specified using "net user /times:..." command) expires. Rehan ----------------- NET ACCOUNTS [/FORCELOGOFF:{minutes | NO}] [/MINPWLEN:length] [/MAXPWAGE:{days | UNLIMITED}] [/MINPWAGE:days] [/UNIQUEPW:number] [/DOMAIN] NET ACCOUNTS updates the user accounts database and modifies password and logon requirements for all accounts. When used without options, NET ACCOUNTS displays the current settings for password, logon limitations, and domain information. Two conditions are required in order for options used with NET ACCOUNTS to take effect: _ The password and logon requirements are only effective if user accounts have been set up (use User Manager or the NET USER command). _ The Net Logon service must be running on all servers in the domain that verify logon. Net Logon is started automatically when Windows starts. /FORCELOGOFF:{minutes | NO} Sets the number of minutes a user has before being forced to log off when the account expires or valid logon hours expire. NO, the default, prevents forced logoff. /MINPWLEN:length Sets the minimum number of characters for a password. The range is 0-14 characters; the default is 6 characters. /MAXPWAGE:{days | UNLIMITED} Sets the maximum number of days that a password is valid. No limit is specified by using UNLIMITED. /MAXPWAGE can't be less than /MINPWAGE. The range is 1-999; the default is 90 days. /MINPWAGE:days Sets the minimum number of days that must pass before a user can change a password. A value of 0 sets no minimum time. The range is 0-999; the default is 0 days. /MINPWAGE can't be more than /MAXPWAGE. /UNIQUEPW:number Requires that a user's passwords be unique through the specified number of password changes. The maximum value is 24. /DOMAIN Performs the operation on a domain controller of the current domain. Otherwise, the operation is performed on the local computer. |
#13
|
|||
|
|||
getting kids to log off win xp home
Rehan wrote:
(snip) You are right that by default this is the behaviour: if the user is already logged on the system does not log him off. However this can be fixed by using: net accounts /forcelogoff:0 The above command once executed will change the default behaviour. From then on all users will be logged out automatically once their logon time (as specified using "net user /times:..." command) expires. Hi Have you actually been able to make that work (logoff the user from the local computer he is logged into, as a console user)? If you do a Google newsgroup search for this, you will see that many have tried, but not succeeded. And this because as I understand it, this forced logoff policy is a policy for SMB server, i.e. the computer which has a network share accessible from a network. This policy, if enabled on a server, ends the users session with the server when their logon hours expire. Here is a quote from the documentation for Windows XP's "Net accounts" found at http://www.microsoft.com/technet/tre...t_accounts.asp quote /forcelogoff:{minutes | no} Sets the number of minutes to wait before ending a user's session with a server when the user account or valid logon time expires. The default value, no, prevents users from being forced to log off. /quote -- torgeir Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter |
#14
|
|||
|
|||
getting kids to log off win xp home
That is my experience, it will not logoff a user from the local console. To
do that takes a logoff screensaver or using logoff, shutdown -l, or PsShutdown -o [SysInternals freeware] via the AT command or Scheduled Tasks. I only have been able to get PsShutdown to work for all users on a computer as a Scheduled Task created with administrator credentials. Logoff or shutdown may already be in the \system32 folder on a W2K/XP Pro omputer. --- Steve "Torgeir Bakken (MVP)" wrote in message ... Rehan wrote: (snip) You are right that by default this is the behaviour: if the user is already logged on the system does not log him off. However this can be fixed by using: net accounts /forcelogoff:0 The above command once executed will change the default behaviour. From then on all users will be logged out automatically once their logon time (as specified using "net user /times:..." command) expires. Hi Have you actually been able to make that work (logoff the user from the local computer he is logged into, as a console user)? If you do a Google newsgroup search for this, you will see that many have tried, but not succeeded. And this because as I understand it, this forced logoff policy is a policy for SMB server, i.e. the computer which has a network share accessible from a network. This policy, if enabled on a server, ends the users session with the server when their logon hours expire. Here is a quote from the documentation for Windows XP's "Net accounts" found at http://www.microsoft.com/technet/tre...t_accounts.asp quote /forcelogoff:{minutes | no} Sets the number of minutes to wait before ending a user's session with a server when the user account or valid logon time expires. The default value, no, prevents users from being forced to log off. /quote -- torgeir Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter |
#15
|
|||
|
|||
getting kids to log off win xp home
OK I admit I havent tried it for local accounts. I presumed it works as
stated in the help. Bummer... None of the other solution such as "at"/scheduled task would work according to the requirement of this issue since these will blindly log off the current user whoever he/she is without looking his/her logon hours profile. Ideally one wants to logoff only those users whose logon hours have expired. Hmmm.... Rehan "Steven L Umbach" wrote in message ... That is my experience, it will not logoff a user from the local console. To do that takes a logoff screensaver or using logoff, shutdown -l, or PsShutdown -o [SysInternals freeware] via the AT command or Scheduled Tasks. I only have been able to get PsShutdown to work for all users on a computer as a Scheduled Task created with administrator credentials. Logoff or shutdown may already be in the \system32 folder on a W2K/XP Pro omputer. --- Steve "Torgeir Bakken (MVP)" wrote in message ... Rehan wrote: (snip) You are right that by default this is the behaviour: if the user is already logged on the system does not log him off. However this can be fixed by using: net accounts /forcelogoff:0 The above command once executed will change the default behaviour. From then on all users will be logged out automatically once their logon time (as specified using "net user /times:..." command) expires. Hi Have you actually been able to make that work (logoff the user from the local computer he is logged into, as a console user)? If you do a Google newsgroup search for this, you will see that many have tried, but not succeeded. And this because as I understand it, this forced logoff policy is a policy for SMB server, i.e. the computer which has a network share accessible from a network. This policy, if enabled on a server, ends the users session with the server when their logon hours expire. Here is a quote from the documentation for Windows XP's "Net accounts" found at http://www.microsoft.com/technet/tre...t_accounts.asp quote /forcelogoff:{minutes | no} Sets the number of minutes to wait before ending a user's session with a server when the user account or valid logon time expires. The default value, no, prevents users from being forced to log off. /quote -- torgeir Microsoft MVP Scripting and WMI, Porsgrunn Norway Administration scripting examples and an ONLINE version of the 1328 page Scripting Guide: http://www.microsoft.com/technet/scriptcenter |
|
Thread Tools | |
Display Modes | |
|
|