Windows 10: Prevent application to create a registry key


  1. Posts : 6
    Windows 10 Enterprise
       06 Nov 2017 #1

    Prevent application to create a registry key


    Hi, is it possible to prevent certain application to create a registry key in Computer\HKEY_CURRENT_USER\Software registry location? That registry key causes some problems - when I delete it manually problems are solved but every so often key gets created as soon as application is started.
      My ComputerSystem Spec

  2. bro67's Avatar
    Posts : 4,887
    Mac OS High Sierra 10.13.5
       06 Nov 2017 #2

    What purpose would that serve. The program would never run, because there would be nothing in the registry to tell Windows where to find it to show you it, what it needs to do to find the folder, list it in the start menu, etc. If you have problems with some program, then stop trying to install it.
      My ComputerSystem Spec

  3.    06 Nov 2017 #3

    boxikg said: View Post
    Hi, is it possible to prevent certain application to create a registry key in Computer\HKEY_CURRENT_USER\Software registry location? That registry key causes some problems - when I delete it manually problems are solved but every so often key gets created as soon as application is started.
    If you dont mind installing a program, you can use Sandboxie for that. When you run an application under the supervision of Sandboxie, all changes are redirected to the Sandbox folder in C drive, registry changes included. If you want, you can block access to Computer\HKEY_CURRENT_USER\Software to prevent the application from creating key there. You can read how Sandboxie handles the Registry in the link below, and I quote:

    "The KeyRootPath setting specifies a path to the root of a particular sandbox. If omitted, it defaults to HKEY_USERS\Sandbox_(user name)_(sandbox name). For example, if the user joe is using the sandbox DefaultBox, the default KeyRootPath is HKEY_USERS\Sandbox_joe_DefaultBox.

    As sandboxed programs create new registry keys or modify existing keys, Sandboxie redirects these operations to act on paths that lead into the sandbox. If the sandboxed program was trying to create the key HKEY_LOCAL_MACHINE\Software\NewKey, it will be redirected to create instead (KeyRootPath)\machine\Software\NewKey."

    Sandboxie - Sandbox Hierarchy

    With the free version of Sandboxie, you can run the application in the sandbox by right clicking its icon and choosing Run sandboxed. You should look at Sandbox settings, there you can set what to allow and what not to allow the application to do. Like no internet access, etc. You can also set the sandbox and its contents to delete on closing the sandboxed application, or save contents. According to what you said, it ll probably be better to have contents deleted automatically.

    Sandboxie - Sandbox software for application isolation and secure Web browsing

    Bo
    Last edited by bo elam; 06 Nov 2017 at 19:15.
      My ComputerSystem Spec


 

Related Threads
Greetings, Every time I connect to a particular VPN that I use on a regular basis, many of my PC setting are changed including Proxy settings and a number of other things in the registry. It seems that I can manually edit my registry and search for...
Using Total Commander mostly. Example: Downloaded a zip file, right clicked on it and selected Extract All from context menu. A new folder was created and Explorer started immediately with the new folder. I don't harbor a grudge against File...
I wrote a program for my personal use in Visual Studio 2013 and am trying to get it to run without Windows SmartScreen popping up every time I run the executable. I've been searching for about two hours now and have tried a number of different...
I will upgrade to Win 10 during Christmas. Would like to know if an upgrade from 7 creates a fresh/clean new registry, or does it use the existing win7 one?
Family Safety: Prevent Application Launches? in User Accounts and Family Safety
Clue me in..... Does the windows 10 family Safety, actually allow you to block all apps except for the ones you allow your child to run? It's not clear from their site verbiage on whether you can only block apps that show in the "recent...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 02:05.
Find Us