Jump to content
  • 0

How to Prevent Executables/Programs from Running from Unapproved File Paths


meebers

Question

I have a Windows 11 Home Laptop, running version 23H2. I have created a second user account named "Guests" for my friends and family to use my laptop when they need to. However, I don't want them to accidentally change a setting or install something to my laptop. I already know that you can use a registry key named "DisallowRun" to prevent certain programs from opening (such as regedit.exe, cmd.exe and a few others), but I want to block programs from opening if it's not stored on an allowed file path.

For example, the guest should be able to run programs from "C:\Program Files", but I don't want them running programs from "C:\Users\Guest\Downloads".

If possible, is there also a way to also block other programs/executables using different file types? (for example, .bat files)

Thank you for your help and support.
 
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • AD
×
×
  • Create New...