After calling RegConnectRegistry(...) to open the registry on a remote machine, is it not possible to expand environment variables? I have looked at ExpandEnvironmentStrings and ExpandEnvironmentStringsForUser, but that only appears to be useful on the local machine. I think it must be possible considering that RegistryKey.GetValue() in ...
just as this link says : http://untidy.net/blog/2009/11/03/replacing-notepad-with-pn-via-image-file-execution-options/
I wanna replace Notepad.exe to Notepad2.exe using "Image File Execution Options" function by run this command
reg add "HKLM\Software\Microsoft\Windows NT\CurrentVersion\Image File Execution Options\notepad.exe" /v "Deb...
Context
I am migrating an installer for an ActiveX control from Per-Machine to Per-User. I did this by programming the installer write to HKCU\Software\Classes instead of HKLM\Software\Classes.
Problem
On my machine (Windows 7 with UAC Enabled), the ActiveX control successfully loads. On the other windows 7 test machines (one with ...
Hi all,
I have some clients that use my software, however they are having some issues with registry access, they are running Windows Server 2008, I was wondering if it is possible to use the RSOP tool to determine the individuals registry privileges? or am I barking up the completely wrong tree?
cheers
...
I am trying to set up a package template in SSIS, following the Wrox Programmer to Programmer book, SQL Server 2008 Integration Services: Problem - Design - Solution. I'm really liking this book even though it is 2008 and we're using SQL Server 2005. I've got a working package template that uses an Indirect XML package configuration to i...
I've already figured out how to add a menu item to the right click context menu of the windows explorer using the registry. I currently have it set to launch my application when my menu item is clicked.
However, I want to know if there is a way to know what file is was right clicked on. I thought it would have been sent as a command li...
if i change hkey_current_user/environment/path in registry, get-env "PATH" doesn't reflect the new value unless I close rebol console and re_open it.
...
I want to create a registry key in local machine hive in windows 7. I used the following code in order to do so:
RegistryKey regKey = Registry.LocalMachine.CreateSubKey(@"Software\Test", RegistryKeyPermissionCheck.ReadWriteSubTree);
the code runs fine without any error. but when I looked at my registy using regedit.exe I don't see...
We have a Windows app that installs for all users in the Program Files folder, and writes registry keys in HKEY_LOCAL_MACHINE.
When a user runs the application, user configurable stuff is copied into %APPDATA%\MyCompany\MyProduct\Version\ and also written to the HKEY_CURRENT_USER registry hive. This happens for each user that installs a...
Where can I create/modify/delete registry keys to share data between users in the Windows 7 registry? Both of the users are non administrators and it shouldn't require admin privileges.
The application I'm working on uses the registry to write a key from userA and then userB can read/modify/delete it. Neither user has admin privileges ...
VS 2010 becomes unresponsive randomly. A look into process monitor shows it waits in a loop on RegQueryValue operation on HKLM\SOFTWARE\Microsoft\Cryptography\Defaults\Provider Types\Type 001\Name key. Why does Visual Studio need to do this? Is there a way to get around this?
Have tried resetting devenv and stopping Windows Cryptography ...
I've a setup project in Visual Studio 2005 that writes a couple dozen registry entries. These entries store user configuration data which the user populates through use of the installed application.
I've now released an updated version of the application, and generated a new setup package accordingly. Unfortunately, when I run this ...
I'm using Java Preferences API to store window position and size of Swing application. At this moment, I'm listening to window resize/reposition events and storing the position and size every time they change. However, that means that if user slowly resizes window which is 200px wide to 400px wide, I'll probably write new window size abo...
As you know, Windows has a "Add/Remove Programs" system in the Control Panel.
Let's say I am preparing an installer and I want to register my program to list of installed programs and want it to be uninstallable from "Add/Remove Programs"?
Which protocols should I use. Any tutorials or docs about registering programs to that list?
I ...
HI Guys,
I am new to scripting.
I want to write a script to find whether that folder exists in registry or not.
...
The basic idea with Windows shell programming is that you can associate a given file type (extension) with what MS is currently calling a progid (e.g. Company.Type.Ver):
HKCR\.txt
@=Acme.Text.1
HKCR\Acme.Text.1
@=This is the progid for text file associations for Acme
And then Acme Corp can put as many shell verbs as they want as s...
Hi, how can i get data prgogrammaticaly from windows registry MRU list? I am using vc++. For example windows xp search history is located in Software\Microsoft\Search Assistant\ACMru\5603. How can i get data from it?
EDIT:I still dont know howto do this, can you be more specific? So what steps do i need to do to have acess to data?
...
Is is possible to write to the HKLM registry branch in Win 7 from an application?
My existing code is not able to write to the HKLM registry branch on Win 7 machines, while it is able to do this on XP machines.
How do you allow an application read/write access to HKLM on Win 7, or should all applications now just use HKCU instead? Wha...
I am using MSBuild Extension Pack 4.0 to do my local development deployment. When using the class MSBuild.ExtensionPack.Computer.Registry to read a registry key (to get an installation directory) it fails saying the path is invalid. I believe this is due to msbuild being a 32-bit process, so it can only see:
HKEY_LOCAL_MACHINE\Software\...
Hi what is the search history location in vista? I need to get it programmaticaly. I know that in other windowses, its in:
windows xp/2000
* HKEY_CURRENT_USER\Software\Microsoft\Search Assistant\ACMru\5603
Windows 98
* HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Doc Find Spec MRU
Windows 7
* HKEY_CURRENT_...