1.    1 Week Ago #1
    Join Date : Mar 2017
    Posts : 6
    Windows 10 Enterprise

    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.    1 Week Ago #2
    Join Date : May 2015
    Central IL
    Posts : 4,214
    Mac OS Sierra

    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.    1 Week Ago #3
    Join Date : Jul 2017
    Posts : 187
    Windows 10 Home

    Quote Originally Posted by boxikg 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; 1 Week Ago at 19:15.
      My ComputerSystem Spec

 


Similar Threads
Thread Forum
How to prevent VPN connection from changing Registry entries for Proxy
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...
Network and Sharing
Solved Prevent File Explorer from starting up when I create a new file
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...
General Support
Prevent Windows SmartScreen from blocking application in Windows 10
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...
Software and Apps
Solved Does Upgrade from 7 to 10 Create a new Registry or uses old?
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?
Installation and Upgrade
Family Safety: Prevent Application Launches?
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...
User Accounts and Family Safety
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 20:27.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums