Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

System: Windows 7 64-bit

I need to stop programs from running, or ever running again. If I try to start the program, it'll be corrupted and unable to start.

How can I corrupt the program? Do I mess with the registry? The Program files?

edit: how about deleting the .dll's inside of the programs folder?

share|improve this question
2  
Can you just delete the program, or some critical component of it? –  pavium Jun 15 '11 at 2:54
    
do you want to prevent SOME programs to run or ALL programs to run? –  kokbira Jun 15 '11 at 3:02
    
It seems like there are lots of possible ways to accomplish this. Perhaps there is some additional detail you can provide? –  Kirk Jun 15 '11 at 3:04
    
I want to stop SOME programs from RUNNING ever again. maybe remove a component or whatever. –  kb67 Jun 15 '11 at 3:15
1  
If it were antivirus, why don't you just disable it in services or uninstall it? Why go though this crap? –  KCotreau Jun 15 '11 at 10:44

4 Answers 4

up vote 0 down vote accepted

Rename the executable file, it will be called something.exe, if you rename it to something.bak the operating system will not be able to execute it as an application. It will only be able to be run if it is renamed back to something.exe.

share|improve this answer
    
I think this is the perfect choice, thanks. –  kb67 Jun 15 '11 at 6:09
3  
Technically, this answer is incorrect – while you won't be able to execute a non-.exe file from GUI, you can do it just fine from Command Prompt (cmd.exe) or through any other program that uses CreateProcess(). (Memories of hiding a SSH client in Desktop.ini at school...) –  grawity Jun 15 '11 at 7:40
    
This also assumes the program is an executable. –  KCotreau Jun 15 '11 at 10:42
1  
Considering he said in his comment above he wants to disable AV, this is not even remotely a good way to do it. –  KCotreau Jun 15 '11 at 10:45
    
@KCotreau, it's a perfectly cromulent way, any program, even AV will not run if the OS can't find the executable. –  Hydaral Jun 20 '11 at 6:08

Open the .exe file in notepad and just add few characters here and there before saving again. Program busted.

share|improve this answer
    
Haha great idea! –  kb67 Jun 15 '11 at 6:09

There's no hard and fast way to totally disable a program - every program is different, and in any case, reinstalling it probably 'fix' whatever you did to disable it.

On the other hand you COULD set up the computer as you like it, and use a standard account (disabling what you don't want with autoruns )and use 'guest mode' to prevent changes from happening. You can also remove execute privileges to the folders with the software you want (rightclock, properties, security tab), to this account.

Unlike messing with things at a low level, should you need to undo these changes, it should be trivial, and a guest moded user account will be able to do almost nothing.

share|improve this answer

well, you can use security options for that EXE or for its folder and uncheck "read and execute" for all users.

share|improve this answer
    
does only "REEAD ONLY" work –  kb67 Jun 15 '11 at 3:44
2  
No. Read only still allows access to and execution of the files. You need to actually change the permissions on the files so that all access is denied; use the Security tab on the Properties page of the files in question. –  DragonLord Jun 15 '11 at 4:03
    
This is a good way, one can actually restrict permission from the program's folder itself. –  Relm May 1 at 5:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.