Alexander said:
Is there a way to block the "s switch" in regedit.exe
To this form avoid that spyware and trojan software corrupts the registry.
You can stop regedit /s using group policy if your computer is running
Windows XP. The following policy will work under Windows XP.
User Configuration
- Administrative Templates
- System
- Prevent access to registry editing tools
Unfortunately, under Windows 2000, the same policy stops regedit (no
switches), but not regedit /s. You'd have to use
User Configuration
- Administrative Templates
- System
- Don't run specified Windows applications
BUT...
Programs that modify the registry don't use regedit.exe anyway - they
talk to the registry directly. If you're trying to avoid trojans, there
are other more important preventative measures you need to take.
So
http://support.microsoft.com/?id=129972
www.microsoft.com/protect
and don't allow users to log into the computer with administrative rights.