Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8533487
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T09:58:27+00:00 2026-06-11T09:58:27+00:00

Is there any way to make a program that cannot be interrupted (an uninterrupted

  • 0

Is there any way to make a program that cannot be interrupted (an uninterrupted program)? By that, I mean a process that can't be terminated by any signal, kill command, or any other key combinations in any System: Linux, windows etc.

First, I am interested to know whether it’s possible or not. And if yes, upto what extend it is possible?

I mostly write code in C, C++, and python; but I don’t know any of such command(s) available in these programming languages.

Is it possible with assembly language, & how ? Or in high level language c with embedded assembly code(inline assembly)?

I know some signals are catchable some are not like SIGKILL and SIGSTOP.

I remember, when I was use to work on Windows-XP, some viruses couldn't be terminated even from Task Manager. So I guess some solution is possible in low level languages. maybe by overriding Interrupt Vector Table.

Can we write an uninterrupted program using TSRs(Hooking)? Because TSR can only removed when the computer is rebooted or if the TSR is explicitly removed from memory. Am I correct?

I couldn’t find any thing on Google.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T09:58:28+00:00Added an answer on June 11, 2026 at 9:58 am

    Well, possibly one can write a program which doesn’t respond for most signals like SIGQUIT, SIGHUP etc. – each kind of “kill” is actually a kind of signal sent to program by kernel, some signals means for the kernel that program is stuck and should be killed.
    Actually the only unkillable program is kernel itself, even init ( PID 1 ) can be “killed” with HUP ( which means reload ).

    Learn more about signal handling, starting with kill -l ( list signals ) command.

    Regarding Windows ( basing on “antivirus” tag ) – which actually applies to linux too – if you just need to run some antivirus user is unable to skip/close, it’s permission problem, I mean program started by system, and non-administrative user without permission to kill it, won’t be able to close/exit it anyway. I guess lameusers on Windows all over the world would start “solving” any problems they have by trying to close antivirus first, just if it would be possible 🙂

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is there any way to make the program sleep until an event occurs, but
Is there any way to make two controls that are in different containers the
Is there any way to make the text align left and justify as same
Is there any way to make a DataTemplate reference itself just from XAML? In
Is there any way to make the form semi-transparent while it is being moved
Is there any way to make this work in Java? public static void change(List<?
Is there any way to make the background of the google charts transparent. Google
Is there any way to make a list of classes behave like a set
Is there any way to make only a non-transparent portion of an image to
Is there any way to make extension to pop up when event occurs? Let's

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.