As a network administrator, do you want to restrict your employees from using the Internet to browse inappropriate sites or copy data? What if you only want to control someone who can't access the Internet without supervision? You can limit the login time for a given account and gain greater control over your machine and Internet controls in the process.
Restricting logins and logon times and implementing restrictions in a Windows domain is not too complicated by using Active Directory 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 will take only a few steps.
However, before you start, you must first decide which users you need to limit. If you want to list all the users on a computer, please perform the following steps:
1. Click "Start" /"Run", enter "cmd", click "OK".
2. Type "net user" and press Enter.
This will list all the accounts on one computer. The general results of the results are given below:
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
The command completed successfully.
We will use the names in the list above and decide to restrict access to the computer (or the Internet) by He1 and her1. In order to facilitate the memory, you need to keep the account just displayed in the display window. Start by adding a limit to He1. If we decide that he can only use the computer between 8 am and 8 pm. 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
3. Enter the button, then you should receive a message telling you that the command has been successfully completed.
C:\\Documents and Settings\\ Administrator > net user He1 m-th, 4pm-8pm; F-Su, 8am-8pm
The command completed successfully.
C:\\Documents and Settings\\ Administrator >
What if you want to set different limits for different users? For example, in our case, we allow her1 to use the computer later. So you can execute the following command:
net user her1 /time: M-Th,4pm-9pm;F-Su,8am-9pm
(User her1 can be Monday to Thursday You can use the computer from 4 pm to 9 pm and Friday to Sunday from 8 am to 9 pm.)
These two commands can be set differently for weekdays and weekends for the above two accounts. limits. If you get an error when setting up an account, or want to start over, you can use this command to clear all restrictions:
net user her1 /time: all
The actual execution is as follows:
C:\\Documents and Settings\\ Administrator >net user her1 /time: all
The command completed successfully.
C:\\Documents and Settings\\ Administrator >
Note: The system is limited to one hour increments, which means you can only use users in one hour. Limit (for example, 13:00 or 1pm instead of 13:30 or 1:30pm). You can also use a seven-day abbreviation for a week, such as M, T, W, Th, F, Sa, Su. Also, keep in mind that these restrictions do not force users to go offline, but only limit their login time.
Controlling access to computers and the Internet is not difficult. If you have not implemented this action, I recommend that you do so.
NOTE: The above command is run by
in Windows XP Professional Edition
The security features of Windows XP can be improved a lot. You can pr
The author of Windows XP system has been to use the Administrator administrator account, and no othe
to modify the login screen similarity:. ★★★★ practical degree: ★★ the software used: ReplaceUI.e
At the bottom of our computer desktop is the taskbar. It is often needed for daily operation
WinXP Tips - Move My Documents
Troubleshoot Windows XP installation problems
How Windows XP SP2 implements multi-threaded access
System time automatic proofreading Let you be on time every day (1)
System time error causes IE security certificate to be invalid
Wonderful and useful: Win XP hot tips 10 strokes
Sixteen tips hidden behind Windows XP
How to set up and cancel dial-up connection under XP to automatically dial