Teach you three strokes to make the computer "self-waste martial arts" good setting method _dos/bat

Source: Internet
Author: User
Many families have bought computers, but parents are also afraid of children addicted to computers. In fact, a flexible limit to the computer, you can find a balance between indulgence and restrictions.
One command limits usage time
The simplest way is to limit the use of time, many friends do not know, in fact, as long as a command can be completed.
Click start → run to enter "net user boy 123/add/times:sa-su,8:00-22:00" so that a user account named Boy is added to the system, and his allowed logon period is 8:00~22:00 for every Saturday and Sunday.
If you do not have a limited time, such as a login system in Monday will be rejected, the account later as a child-specific account. Enter "NET User Boy" at the command prompt to see details of the Account logon period (Figure 1).

Figure 1 Account login time limit "Scrap" off the camera
In order to facilitate contact with old classmates, friends bought a camera. But he did not want the child to use the camera and unfamiliar users chat, so with "hardware profile" to the camera "waste" off.
Click "Start → run" and enter "Net user ABC 123456/add" to establish a limited user named ABC as a child's dedicated account.
Log on with the system administrator account, right-click My computer on the desktop, select Properties, click the Hardware tab, select Hardware profile, and select Copy in the pop-up window.
Enter "Profile 2" in the text box after "from Profile 1 to:" To create a hardware configuration named Profile 2. Click OK to return to the configuration window and set the time to wait for the user to select a profile to 1 seconds (Figure 2).

Figure 2 Restricting hardware functionality with configuration files
Click start → run, enter compmgmt.msc to open Computer Management, click Device Manager, and expand image processing devices. Open the Properties window for the camera and set the device usage to "Do not use this device in the current hardware profile (deactivate)", which means that the camera is disabled (Figure 3) in Profiles 1.

Figure 3 Scrap the camera when you start Windows, the hardware configuration selection menu appears, but the wait time is only 1 seconds. After starting the system, the default load is profile 1, the camera is not available. If your parent wants to use the camera, you can choose to load Profile 2 or re-enable it in Device Manager.
The network of six-veined Excalibur
Start the Notepad program to enter the following code, save as C:\stop.bat. This code uses the Rasphone command to automatically disconnect the broadband connection, where "ADSL" is the user's own set of broadband connection name.
Start the system's task plan, create a new one every 2 hours from Saturday, Sunday 8:00, perform a scheduled task every once, the user is a child-specific account, the command is C:\stop.bat (Figure 4).

Figure 4 Limit the time to access the Internet to establish a daily starting 10:00, every 1 minutes to perform the task until 10:30, the implementation of the program is also C:\stop.bat.
So every week in Six Sunday Internet to 10:00, the system will automatically break the network, if he again networking, automatically disconnect every 1 minutes. Until the rest of the 30 minutes before the normal access to the Internet, as the six-veined God-like spirit of the network.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.