Okay.... Say i was a computer admin at a school and access to the registry had been disabled for security reasons.

Wouldn't The following code, if executed in a batch file re-enable access to regedit?
=================================================

REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]"DisableRegistryTools"=dword:00000000

=================================================
If so how would i go about stoping users from executing such a command and gaining access to the registry?