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.) )