请在系统设置中为输入比率_如何在Windows 10中为普通帐户设置时间限制

请在系统设置中为输入比率

请在系统设置中为输入比率

top

Parental controls in Windows 10 are pretty solid, but to use them you have to set the whole family up with Microsoft accounts and you have to create specific child accounts for your kids. If you prefer to use regular local accounts, you can still set time limits for how long any non-administrative user can use a computer.

Windows 10中的家长控制功能非常强大,但是要使用它们,您必须使用Microsoft帐户来建立整个家庭,并且必须为孩子创建特定的孩子帐户。 如果您更喜欢使用常规本地帐户,则仍可以设置时间限制,以限制任何非管理用户可以使用计算机的时间。

In Windows 10, Parental controls offer some nice features for monitoring kids’ accounts. They let you limit web browsing, which apps kids can use, and the times kids can use the computer. The downside is that to use these controls, all members of the family must have Microsoft accounts. You also have to set the kids up with child accounts, which can impose some limits you may not want. The good news is that you can still use local accounts and impose some of these same limits. If you’re comfortable working with Group Policy, it’s not hard to restrict users to running specified programs. You can filter web sites at the router level. And, as we’ll talk about here, you can even impose time restrictions for local user accounts.

在Windows 10中,家长控制功能提供了一些不错的功能来监视孩子的帐户 。 它们使您可以限制网络浏览,孩子可以使用哪些应用以及孩子可以使用计算机的时间。 缺点是要使用这些控件,家族的所有成员都必须拥有Microsoft帐户。 您还必须为孩子设置孩子帐户,这可能会施加一些您可能不需要的限制。 好消息是您仍然可以使用本地帐户并施加一些相同的限制。 如果您习惯使用组策略,则不难限制用户运行指定的程序 。 您可以在路由器级别过滤网站 。 而且,正如我们在这里将要讨论的,您甚至可以对本地用户帐户施加时间限制。

You’ll set time restrictions for a user at the Command Prompt. To open Command Prompt, right-click the Start menu (or press Windows+X), choose “Command Prompt (Admin)”, and then click Yes to allow it to run with administrative privileges.

您将在命令提示符处为用户设置时间限制。 要打开命令提示符,请右键单击“开始”菜单(或按Windows + X),选择“命令提示符(管理员)”,然后单击“是”以使其以管理权限运行。

tl_start

The command for setting time limits for a user follows this syntax:

用于为用户设置时间限制的命令遵循以下语法:

net user <username> /time:<day>,<time>

Here’s how each part of the command works:

这是命令各部分的工作方式:

  • Replace <username> with the name of the user account you want to limit.

    <username>替换为您要限制的用户帐户的名称。

  • Replace <day> with the day you want to set limits on. You can spell out the full names of the days or use the initials Su, M, T, W, Th, F, Sa.

    <day>替换为要设置限制的日期。 您可以拼写日期的全名或使用缩写Su,M,T,W,Th,F,Sa。

  • Replace <time> with a time range using either a 12-hour (3am, 1pm, etc.) or 24-hour (03:00, 13:00, etc.) format. You can only use times in one-hour increments, so don’t add any minutes to the times.

    用12小时(凌晨3点,下午1点等)或24小时(03:00、13:00等)格式的时间范围替换<time> 。 您只能以一小时为增量使用时间,因此请勿在时间中增加任何分钟。

So, for example, say you wanted to restrict a user account named Simon to using the computer only from 8:00 am to 4:00 pm on Saturday. You would use the command:

因此,举例来说,假设您想限制一个名为Simon的用户帐户,使其只能在星期六的上午8:00至下午4:00使用计算机。 您将使用以下命令:

net user simon /time:Sa,8am-4pm
tl_cmd1

You can also specify a range of days with the same time limits by separating the days with a hyphen. So, to limit the user to using the computer only on weekdays from 4:00 pm to 8:00 pm, you could use the command:

您还可以通过用连字符分隔天数来指定具有相同时间限制的天数范围。 因此,要限制用户仅在工作日从4:00 pm到8:00 pm使用计算机,可以使用以下命令:

net user simon /time:M-F,4pm-8pm
tl_cmd2

Furthermore, you can string multiple day/time limits together by separating them with a semicolon. Let’s put those two time limits we imposed before together in the same command:

此外,您可以使用分号将多个日期/时间限制连在一起。 让我们将之前强加的两个时间限制放到同一命令中:

net user simon /time:Sa,8am-4pm;M-F,4pm-8pm
tl_cmd3

Using this same format, you can also specify multiple time ranges on the same day. For example, this command limits the user to 6:00 am to 8:00 am and 4:00 pm to 10:00 pm on all weekdays:

使用这种相同的格式,您还可以在同一天指定多个时间范围。 例如,此命令在所有工作日将用户限制为上午6:00至上午8:00,以及下午4:00至下午10:00。

net user simon /time:M-F,6am-8am;M-F,4pm-10pm
tl_cmd4

You can also remove restrictions from a user by specifying all times:

您还可以通过指定所有时间来消除对用户的限制:

net user simon /time:all
tl_cmd5

Finally, if you use the command but leave the time blank (enter nothing after the time: part), the user will never be able to log on. That might be useful if you want to lock out an account temporarily, but be careful you don’t leave it blank by accident. Also, if you ever need to display what times you’ve set for a user, you can just type the net user command followed by the account name:

最后,如果使用命令但将时间留空(在time: part之后不输入任何内容),则用户将永远无法登录。 如果您想暂时锁定帐户,这可能会很有用,但是请小心不要将其留空。 另外,如果您需要显示为用户设置的时间,则只需键入net user命令,然后输入帐户名即可:

net user simon
tl_cmd6

And that’s it. You don’t have to use parental controls or Microsoft accounts to set time limits for users. You just have spend a few minutes in the Command Prompt.

就是这样。 您不必使用家长控制或Microsoft帐户来为用户设置时间限制。 您仅在命令提示符中花了几分钟。

翻译自: https://www.howtogeek.com/250224/how-to-set-time-limits-for-a-regular-account-in-windows-10/

请在系统设置中为输入比率

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值