I am trying to debug some rather complex dependencies within a closed-source application that I am running inside of a custom app, and am looking for a tool to watch the application while it is running, so that I know which files and registry entries are utilized. Is there such a product available? Commercial or opensource are welcome, a...
I want to take back up of registry of the current network settings like IP,Subnet,DNS and all that stuff, in windows xp. How can i do that? Please help.
...
I have set my Internet Explorer proxy using the following code.
RegistryKey RegKey = Registry.CurrentUser.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings", true);
RegKey.SetValue("ProxyServer", "proxyserver");
RegKey.SetValue("ProxyEnable", 1);
RegKey.SetValue("ProxyOverrid...
hi guys,
I am trying to read and write values in registry. I get return something like "system.object"{string} from reading function. I need to assign the value to a integer variable.
How can i do it?
...
I have some code that can read a key from the local registry.
$shell = new COM('WScript.Shell');
$data=$shell->regRead('HKEY_LOCAL_MACHINE\SOFTWARE\Symantec\Symantec Endpoint Protection\SMC\ProductVersion');
How can I open another computer's registry with this assuming that I have full access to that computer?
...
[I am aware that this might actually better belong on superuser but I thought the programmer perspective might yield slightly better/faster results.]
I have just written a sleek new configuration framework for our apps and everything was working just great. There was only one function left to test and that was deleting a registry key (r...
I have to write a key value pair in the registry. This is done using a tool. This fails sometimes.
Is there any windows utility available which can set the permissions of the registry? If the specific user does not have permission to the registry, I should be able to configure the permissions accordingly - from an administrator account....
I have a batch file that displays a list of registry keys.
10000
20000
30000
40000
..etc.
Using PHP, I can display the output of the batch file:
echo exec('file.bat');
This only shows me 40000 though, not the other three entries. How can I see everything?
...
I have a string of registry keys that looks like this:
ThreatName REG_SZ c:\temp Protection Code REG_SZ a Check ThreatName REG_SZ c:\windows Protection
I want to extract "c:\WHATEVER" from the string. It occurs multiple times between the words "ThreatName REG_SZ" and "Protection".
How can I extract "c:\WHATEVER" multiple times using P...
This seems like a fairly straightforward question but I've been unable to find an answer:
Let's say I have two products: A and B created by MyCompany. Both products A and B will have shortcuts in the start menu in this fashion:
MyCompanyFolder->Product_A_Folder->A.exe and MyCompanyFolder->Product_B_Folder->B.exe
If I uninstall "Produc...
Hello,
I am trying to write a .reg file that would take a given key, and search for a string value based on its contents, and then delete it.
For example:
[path]
"a"="b"
"z"="y"
"foo"="bar"
And somehow delete the value "foo" by knowing either "bar" or a substring of that.
Is this possible?
Would I need to do this in a .bat script (wh...
I'm building a class or two based on StdRegProv to handle Windows Registry via PHP's COM class. For reference to all known StdRegProv methods and types, see: http://msdn.microsoft.com/en-us/library/aa393664%28v=VS.85%29.aspx. (Don't even get me started on the fact that I have to know what Reg type a named value is just to get or set i...
so in my registry i have the entry under "LocalMachine\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\" called "COMODO Internet Security" which is my firewall. Now what id like to know is how cani get the registry to check if that entry exists? if it does do this if not then do that. i know how to check if the subkey "Run" exists but not ...
Sorry for being really ignorant here, I just want to learn, why is the registry needed for programs? What's it for and why can't software just write variables to their own local files? Does it do something I'm not aware of?
...
How can i change the Java Runtime Version on Windows.
i installed java7 for some tests, now i need as system default the old java6, but i dont want uninstall the java7 (need it for later tests). can i change the system used jre in the control panel/java/jre tab? i can change/edit/add/delete user used version, but not the system used.
...
I have used Qt Creator and created my.exe file and a new extension ".newext" and have manually associated .newext files to the my.exe like this.
The exe file has as its icon which is square figure and named myIcon.ico. I have described in myapp.rc file the icon like this:
IDI_ICON1 ICON DISCARDABLE "myIcon.ico"
A...
well with some help from this site and dream in code i fixed my error, but am now the code just plain doesn't seem to be working. Here is the code:
using (RegistryKey Key = Registry.LocalMachine.OpenSubKey(@"SOFTWARE\Microsoft\Windows\CurrentVersion\Run\"))
if (Key != null)
{
string val = (string)Key.GetValue("COMODO Internet Securi...
Hi,
I have been investigating the windows Prefetching system hoping to find a way to speed up the load time of an application I am working on. I found the following link where a developer describes modifications to the prefetcher registry values:
http://dotnet.dzone.com/news/improving-cold-startup
I have made similar modifications lo...
I need to extract "C:\Documents and Settings" from the last line of this data:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft
ExcludeSubDirs REG_DWORD 0x1
ExtensionList REG_SZ
FirstAction REG_DWORD 0x11
ThreatName REG_SZ C:\Documents and Settings
Owner REG_DWORD 0x3
ProtectionTechnolog REG_DWORD 0x1
Second...
I have a Registry where I store my request, validator, database and router objects. So for validation of my forms, I use a method in class MyForm, where the input fields are checked. When user input is incorrect, then Registry::getInstance()->validator->setErrors($errors) is called, so that errors are stored in the Registry and get avail...