[Win7] Only allow a user to execute a program via another


Recommended Posts

So, I want to prevent a user from executing a program via explorer, start menu shortcuts or desktop shortcuts.

BUT, they must be able to launch the program from within another app which executes the one I wish to block.

Is there any way to do this?

Have never heard of wanting to do something like this.

So you have 2 exe's for example

abc.exe

dfg.exe

You want user to be able to start abc.exe but not dfg.exe -- but abc.exe starts dfg.exe?

Why would you need to do this? So details of what your trying to prevent would be helpful in coming up with the correct solution to the problem.

You've got the gist of it yes, the app I want to block has no user logging capability so I want users to only launch the app through this other app which has custom username and passwords and logs the login and logout time against username

so you wrote the apps? Or someone in the company did? Are these apps available to everyone - can I look up the company, or download them?

Why would the users know to launch dfg.exe vs abc.exe?? Users are dumb!! You give them an icon to abc, and then don't say anything about dfg, how would they know to run dfg so nothing is logged?

You've got the gist of it yes, the app I want to block has no user logging capability so I want users to only launch the app through this other app which has custom username and passwords and logs the login and logout time against username

You could always have some sort of background app that checks to see if that process is running. If the launcher process isn't running then kill it, otherwise it's good.

@budman

It's a factory system based on windows logins but the terminal at which the users run this program from will always be logged into the same windows account - therefore not actually logging who did what. It's impractical to set all of these users up with their own domain account so I have made my own program that asks for a username and pin then launches the program.

Yes I could set up an icon on desktop to the launcher but it's still not going to stop the 'above average intelligence' user from browsing to c:\program files\xxxi and manually starting it

@firey

I like that idea, will have to try it

OK - here is an out of the box idea. Why cant you use a program like Kido'z (which is free) and basically lets you control what they can and cant do, like what what files they can access. Ya I know that Kido'z is a "kids" program but my end users act more like kids then some kids I know. That's how I control who can get to what on my terminals.

http://kidoz.net/

PS - I don't work for Kido'z , Im just a satisfied customer.

Alex

Head of TechGeekandMore.com

It's impractical to set all of these users up with their own domain account so I have made my own program that asks for a username and pin then launches the program.

When you spend more time on the work around than it would take to create the user accounts, it isn't "impractical". ;)

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Microsoft is busy. Lots of changes to be released imminently for Windows server or soon. Also, lots happening for next version as well. Third party virus scanning software is being moved out of Kernel mode to avoid repeat of Crowdstrike incident. Windows Protected Mode and Windows Ready Print no longer require third party print drivers to be installed. New storage stack being developed. New NVME drivers now available for Windows Server 2025 to improve local NVME drive performance by 60+ percent. NVME-Of of fabric being worked on for next release to improve network access to NVME drives. ReFs (next file system) now has ability to boot and will become default file system in next release of Windows Server. ReFs improves on NTFS in several areas including resiliency and reliability and scalability. New update stack is being worked on to unify Windows updates, and updates for drivers and first party/3rd party application software. A stricter and more robust third-party driver certification program (ODI) is being worked on to improve performance, thermals, battery life, and reliability on modern Windows hardware by tightening how OEMs and IHVs (Intel, AMD, Qualcomm, NVIDIA, etc.) build and ship drivers. There is a tone more but too numerous to mention.
    • Now disable that stupid OneDrive backup request when Windows starts please. So unbelievably frustrating to only have “remind me later” instead of “no and never ask me again”
    • Hello, The Media Creation Tool is still at v10.0.26100.7019 from October 2025. Just looks like the backend has been updated. Regards, Aryeh Goretsky
    • Since they open sourced the calculator in Win 10/11 it is much better and can do a lot, I love it.
    • That's just silly imo. The lengths that man goes to just to avoid W11 is just nuts. Very, very few home users would do that. I will say this though, he is committed. Btw, I note on askwoody that Woody Leonhard passed away March, 2025 aged 73. His site was one of my favorites back in the day. Belated yes but RIP Woody.
  • Recent Achievements

    • One Month Later
      Markus94287 earned a badge
      One Month Later
    • Week One Done
      Markus94287 earned a badge
      Week One Done
    • One Year In
      Markus94287 earned a badge
      One Year In
    • Dedicated
      truespursfan earned a badge
      Dedicated
    • Rookie
      restore went up a rank
      Rookie
  • Popular Contributors

    1. 1
      +primortal
      508
    2. 2
      +Edouard
      168
    3. 3
      PsYcHoKiLLa
      154
    4. 4
      ATLien_0
      90
    5. 5
      Steven P.
      79
  • Tell a friend

    Love Neowin? Tell a friend!