Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

time clock

Status
Not open for further replies.

kitnba

MIS
Jul 31, 2000
132
HK
How can I disable the clock in windows and dos command.
I don't want user can type TIME in dos command to change the computer clock.

any suggest?

Thanks
 
Disable the DOS command prompt. Open regedit and find this key:

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\WinOldApp]

Create it if it doesn't exist. Create a new DWORD value named 'Disabled' and set it's value to 1. Then reboot the computer.

This is the only way to disable the TIME command at the Win9x DOS prompt. Now, how do you propose to prevent the user from changing the time from the Control Panel?

The usual severe warnings about nodifying the registry apply here. Don't try it unless you are quite experienced.
VCA.gif

Alt255@Vorpalcom.Intranets.com
 
In DOS you can edit the command.com to rename the time command to something else. Requires norton utilities and diskedit. Or you could point it to some other function.

Ed Fair
efair@atlnet.com

Any advice I give is my best judgement based on my interpretation of the facts you supply.

Help increase my knowledge by providing some feedback, good or bad, on any advice I have given.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top