How do I restrict a User's Logon hours?
You can only restrict when a user can log on to the system. On a stand alone computer, there is no way,
currently, to force a user to log off when their hours expire.
1) Open Help and Support and type "logon hours" (without the quotes) in the search box.
2) Go to Full text matches and click on "Net user". See the examples for setting a user's logon hours.
Some examples would be:
net user johnsw /time:M-F,08:00-17:00
net user johnsw /time:M-F,8am-5pm
net user marysl /time:M,4am-5pm;T,1pm-3pm;W-F,8:00-17:00
net user johnsw /time:all (this one means this user can always log on)
3) Open a Command Prompt window.
4) Enter the appropriate "net user" command for the user(s) you wish to restrict access for.
xp_sysrestorepoint.vbs -
VB Script to run unattended Restore Point Creation as a Scheduled Task
This code may be freely distributed/modified.
This script is only intended for Windows® XP.
This
VB Script can be run as a Scheduled Task to create an unattended System Restore Point.
The Restore point will be identified as Automatic Restore Point with the date and time the script was run.
Usage: Download: xp_sysrestorepoint.vbs and save this file to your hard drive.
Create a new Scheduled Task and point it to the VBS file. After the script runs, it will leave a dialog
telling you whether or not the Restore Point was successfully created. This script can be viewed in
Notepad or any text editor, as to the specific Registry key and value that are updated. For an EXE
version of this utility, click HERE