Restricting access to Internet users by command in Windows XP

Source: Internet
Author: User

As a webmaster, do you want to restrict your employees from using the Web to browse inappropriate sites or copy data? What should you do if you just want to control the inability of someone to access the Internet without supervision? You can limit the logon hours of the specified account and gain greater control over the machine and Internet control in the process.

Restricting the number of logons and logon hours and enforcing restrictions in a Windows domain is not complicated by using active directories and Computer Management tools and configuration files. However, if you have a small workgroup network or just a few home computers, you can use the Net user command, and it takes only a few steps to complete.

Before you start, however, you first have to decide which users you want to limit. If you want to list all users on a single computer, follow these steps:

1. Click "Start"/"Run", enter "cmd" and click "OK".

2. Type "NET User" and enter.

This will list all the accounts on a computer. Here's what the results look like:

Microsoft Windows XP [version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\ Administrator >net user

\\35341B67CC434F6 user Account

----------------------------------------------------

Administrator Her1 Good

He1 MyUser Letgo

Tomorrowusr

Command completed successfully.

We will use the names in the list above and decide to restrict He1 and her1 access to the computer (or the Internet). To make it easier to remember, you need to keep the account just shown in the display window. Start by increasing the limit for He1. If we decide that he can use the computer only at 8 O ' 8 o'clock in the morning. You need to perform the following steps:

1. Click "Start"/"Run"/"CMD" and click "OK".

2. Type the following command:

NET user he1/time:m-th,4pm-8pm; f-su,8am-8pm

(User he1 can only be used on the computer from Monday to Thursday four o'clock in the afternoon to 8 o'clock, and 8 o'clock in the morning from Friday to Sunday to Night 8 o'clock.) )

Related Article

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.