[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now


commit touch mouse pad registry setting

Posted on 2009-12-25
Medium Priority
Last Modified: 2012-05-08
I try to change the behaviour of the touchpad from python.
I found (with registry workshop) the right key (current user...software...synaptics..)
However when I change the setting from python OR directly with regedit nothing happens.
When I change the setting on the appropiate tab with main.cpl it works like expected.
I need to tell windows 7 something like reread this part of the registry and apply the values,but how?
I only things I found so far (sorry exact syntax not at hand) is
1) put values in reg file and invoke regine from prompt 2) invoke from prompt rundll32, userdll...
Both did not work (no error messages).

Any idears.

Question by:miauw
LVL 29

Expert Comment

ID: 26189352
This can possibly be related to virtualization of some folders, files, and registry keys.  The main reason probably is to make older application working somehow and protect the real information (here keys) when you do not have sufficient rights or when you use tools that are not trusted.  All this is done the transparent way (you do not know as a normal user that it happened).  It started from Windows Vista, as far as I know.

See http://www.thewindowsclub.com/file-registry-virtualization-in-windows-7 for brief description.  You will find possibly some sound references at http://en.wikipedia.org/wiki/Windows_Registry.

See also official Microsoft documentation:
    Registry Virtualization in Windows Vista  http://msdn.microsoft.com/en-us/library/bb530198.aspx
    Registry Virtualization http://msdn.microsoft.com/en-us/library/aa965884%28VS.85%29.aspx

Accepted Solution

miauw earned 0 total points
ID: 26273448
By now I already have found a working solution. It seems like some processes read the values from registry at startup and only reread the changed values when they are changed by themselves. The solution is to kill these processes (taskkill ... /f) then apply the registry changes. Then force Windows to reread them, then restart these processes.
Currently I am on holliday and I do not have the exact commands at hand. Ask me again in two weeks if you want details.
I consider this question solved..

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Less strange, but still introduction This introduction was added (1st August, 2011) to reflect some reactions.  Firstly, the term basics in the title of the article...  As any other word, it is a symbol with meaning attached to the word by some a…
When we want to run, execute or repeat a statement multiple times, a loop is necessary. This article covers the two types of loops in Python: the while loop and the for loop.
Learn the basics of strings in Python: declaration, operations, indices, and slicing. Strings are declared with quotations; for example: s = "string": Strings are immutable.: Strings may be concatenated or multiplied using the addition and multiplic…
Learn the basics of while and for loops in Python.  while loops are used for testing while, or until, a condition is met: The structure of a while loop is as follows:     while <condition>:         do something         repeate: The break statement m…
Suggested Courses

873 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question