Wednesday 10 August 2011

Disable all executables on a pc

disable all executables on a pc
In command prompt type..
assoc .exe=txtfile

.
now all the exe files on the system will not be executed.. but will open in notepad ..
.
Reversing it(bringing it back):
.
Since executables are disabled.. now even command prompt will not open..
solution--
type command.com in run dialogue box.
enter this command..
assoc .exe=exefile
DONE !

No comments:

Post a Comment