In HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ is the list of installed programs in my machine (at least most of them).
There, there's a String Value called UninstallString which has what you need to run in order to uninstall the program.
The thing is not every installer writes the same kind of info, yet Windo...
What is the best way to read and/or set Internet Explorer options from a web page in Javascript? I know that these are in registry settings.
For example, I'm using the JavaScript Diagram Builder to dynamically generate bar charts within a web page. This uses the background color in floating DIVs to generate the bars. I would like to ...
See http://msdn.microsoft.com/en-us/library/aa767916(VS.85).aspx for Async Pluggable protocols.
We currently have it working, however it requires that we write to HKey_Class_Root. In the interest of trying to allow a non-admin install, it would be nice if we could achieve the same thing with writing to HKey_Current_User. Simply changi...
I've attempted to use the EstimatedSize value during creation of an uninstaller registry key for an app I've developed, unfortunately the value I specify does not appear in the Add/Remove Program list next to my program's entry. I've tried to find the proper procedure for using this value but to no avail. Anyone have any experience on ...
I think the title explains itself. For HKey_Class_Root\CLSID I found the equivilent to be HKey_Current_User\Software\Classes\CLSID but looking in the registry I didn't see "Record" in the same location.
...
My company has got quite a number of client laptops out in the field. These laptops are running Windows Vista Home edition.
I was recently asked if I could find a way to disable the user's ability to adjust the system time.
My first thought was to use gpedit, but as I found this is unavailable in home edition.
I then looked for reg...
I need to use a REG QUERY command to view the value of a key and set the result into a variable with this command:
FOR /F "tokens=2* delims= " %%A IN ('REG QUERY "KeyName" /v ValueName') DO SET Variable=%%B
But if the key doesnt exists i get an error shown in the console. I need to hide this error! I tried putting a 2>nul after the...
I have an application that requires .Net. I have found out how to check registry values to see if .Net is installed and whether or not it is the proper version.
What I want to know is this: Will registry values change based on the Language setting of the OS. That is, if someone in Peru installs .Net and my application calls something l...
What is the most efficient to fill a ComboBox with all the registered file types in Windows?
I want the full file type, not just the extension. I'm using VB 9 (VS2008).
Thank you.
...
Hello,
I've got most of the code for writing a value to the windows registry, however when I change the path to a dummy key and value that I've set up for testing it fails. My code is below:
HKEY hKey;
LPCTSTR sk = TEXT("SOFTWARE\TestSoftware");
LONG openRes = RegOpenKeyEx(HKEY_LOCAL_MACHINE, sk, 0, KEY_ALL_ACCESS , &hKey...
Hello,
I'm trying to create a new registry key in the windows registry using C++. Here is the code I have so far:
HKEY hKey;
LPCTSTR sk = TEXT("SOFTWARE\\OtherTestSoftware");
LONG openRes = RegCreateKeyEx(
HKEY_LOCAL_MACHINE,
sk,
0,
NULL,
REG_OPTION_BACKUP_RESTORE,
KEY_ALL_ACCESS,
NUL...
I'm looking to programmatically modify the edit verb for the shell on Vista. For example, I want right click edit (in explorer) to open a .cs file w/ Notepad++.
How do I change a file association on Windows Vista?
Thanks
...
I'm adding some custom data data to the registry during the registration of a COM object by adding it to the rgs file.
Adding a DWORD value (specified by = d '3' below) gets entered into the registry as expected.
For the binary/hex data however it does not get entered into the registry correctly.
Can anyone advise what the correct synt...
I need to access Windows registry from Java.. Also I need to copy some registry entries and may have to enter new registry variables using Java..
some one help me please...
...
So I created an Outlook Add-in and used the click-once setup to deploy it.
The setup runs fine when the user is administrator, but otherwise: no go.
Running the setup with "run as..." and logging in as admin works, but than the add-in is installed under the admin, not the current user. The addin doesn't show up in outlook.
I tried fo...
I'm developing an application that needs to write to the registry. It works fine on XP, but when I run it on Vista, from Visual Studio, I get a security exception in:
Registry.LocalMachine.OpenSubKey("SOFTWARE", true);
I'm trying to write a new key into that branch of the registry.
What's the right way to do this, firstly so that I ca...
Hi There,
Im trying to code a Visual C++ 2005 routine that checks the registry for certain keys/values.
I have no trouble in writing code using c# but I need it in C++.
Anybody know how to do this using c++ in vs2005.
Many thanks
Tony
...
Hello,
I am trying to find a way to decode the REG_BINARY value for "HKLM\Software\Microsoft\Ole\DefaultLaunchPermission" to see which users have permissions by default, and if possible, a method in which I can also append other users by their username.
At work we make use of DCOM and for the most part we always give the same users pe...
Hi,
I am trying to open regedit from run dialog on Winxp. I tried to lauch it from alternative places such as Task Manager, IE etc. I am running as admin
Forums reveal that's it's a virus. but nothing concrete to get it working
Any help?
Thanks
...
I'm attempting to read a value from a registry entry with Powershell. This is fairly simple, however, one particular registry key is giving me trouble.
If I run the following, I can't get the value of the (default) of "$setting".
C:\Program Files\PowerGUI> $setting = Get-ItemProperty -Path "HKLM:\SOFTWARE\Microsoft\Windows NT\Curren...