Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to prevent Windows from running applications???

How to prevent Windows from running applications???

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
4 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • V Offline
    V Offline
    Vladimir Georgiev
    wrote on last edited by
    #1

    Can anyone give me an idea of some ways to prevent Windows from running applications - all executables??? Thank you in advance... "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

    B A P 3 Replies Last reply
    0
    • V Vladimir Georgiev

      Can anyone give me an idea of some ways to prevent Windows from running applications - all executables??? Thank you in advance... "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

      B Offline
      B Offline
      BlackSmith
      wrote on last edited by
      #2

      Which Windows, what EXEs, WTF do you mean man??!!:cool: Details baby, details....**

      --BlackSmith--

      **/*The roof is on fire, we don't need no water, let the MF burn*/. BHG.

      1 Reply Last reply
      0
      • V Vladimir Georgiev

        Can anyone give me an idea of some ways to prevent Windows from running applications - all executables??? Thank you in advance... "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

        A Offline
        A Offline
        alex barylski
        wrote on last edited by
        #3

        I have wondered this myself and although I have never tried to implement anything I have considered the following as options. 1) Inject some machine code inside each exe calling PostQuitMessage(0) 2) Iterate the processes currently running using a timer and determine which should run or not. 3) You might be able to prevent users from running applications by clicking desktop icons, I think you would wanna read up on shell extensions for more info on how to do this... Cheers! "An expert is someone who has made all the mistakes in his or her field" - Niels Bohr

        1 Reply Last reply
        0
        • V Vladimir Georgiev

          Can anyone give me an idea of some ways to prevent Windows from running applications - all executables??? Thank you in advance... "Needless redundancy is the hobgoblin of software engineering." - Peter Darnell

          P Offline
          P Offline
          Paul M Watt
          wrote on last edited by
          #4

          I would look into replacing the windows loader. That way you can decide who gets loaded, from EXE to DLLs.


          Build a man a fire, and he will be warm for a day
          Light a man on fire, and he will be warm for the rest of his life!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups