Hi Everyone,
Recently, I made a script to list all the installed applications in local & remote machine & give the output in a structured manner in a excelsheet.
It looks like this:
$a = Read-Host "Enter machine name" | Out-File -filepath C:\machine.txt
$computerName = Get-Content C:\machine.txt
$a = New-Object -comobject Excel.Appli...
If i want to develop a registry-like System for Linux, which Windows Registry design failures should i avoid?
Which features would be absolutely necessary?
What are the main concerns (security, ease-of-configuration, ...)?
I think the Windows Registry was not a bad idea, just the implementation didn't fullfill the promises. A common pla...
Hi All,
I am working on getting the version of the Software which is installed on the Computer. I have implemented the logic for reading the Uninstall hive of registry, but i have observed that some of the software are not having version entries in the Uninstall hive of the registry. But i want to show the version of those softwares als...
Hello,
I've never worked with the registry before and it seems a bit intimidating, as I know very little about it . I need to asses if any Blackberry emulators are installed, and get their location if found. I searched manually from regedit and found entries under HKEY_LOCAL_MACHINE -> SOFTWARE -> Research In Motion -> BlackBerry Device...
I read the windows 7 Client Requirements and they don't seem to prohibit from writing in registry (Local Machine key).
I have a C# .exe application which reads/writes values in HKLM/Software/Company/Etc (It includes a manifest file and runs as standard-user).
When I deploy my application I have to tell the installer to create the key H...
How can I get the value from the following DLL? offreg.dll.
In my below code, I have successfully opened the hive, the key and now I am trying to get the value of the key and I keep running into the ERROR_MORE_DATA (234) error.
Here is the C++ .dll:
DWORD
ORAPI
ORGetValue (
__in ORHKEY Handle,
__in_opt PCWSTR lpSubKey,
...
I want to create registry key through java program to add the jar file in the start up.
RegistryKey r=new RegistryKey(RootKey.HKEY_CURRENT_USER,"Software/Microsoft/Windows/CurrentVersion/Run");
r.createSubkey("sample");
But i got the error:
Exception in thread "main" java.lang.UnsatisfiedLinkError: ca.beq.util.win32.registry....
The MSDN mentions:
Each time a process calls RegNotifyChangeKeyValue with the same set of parameters, it establishes another wait operation, creating a resource leak. Therefore, check that you are not calling RegNotifyChangeKeyValue with the same parameters until the previous wait operation has completed.
http://msdn.microsoft.com/en-u...
I have a situation that demands, passing the registry path as a parameter for application launch, say I have IE as default launcher for http types
HKEY_CLASSES_ROOT\http\shell\open\command\
Default = iexplore %1
Any shell launch of a URL would invoke iexplore <<"URL String">>.
My requirement is additionally pass the registry path as p...
Would it be possible to somehow, probably in the registry, remove a language from your accounts regional settings on Windows XP using batch scripting?
If someone could point me to the correct registry key i could then just export it modified and import it with Batch.
...
I'm trying to compile a list of installed software on a workstation. After some research I settled on using the information from the following registry key to compile the list.
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall
It has been a good source and it also lists items that are not listed using Win32_Produ...
I saw ExpandEnvironmentStrings is used here for Desktop. How do I do it in Windows Mobile? The data type looks valid in Windows Mobile
...
The following code sample used to return me windows id before, but now it doesn't work, and returns empty string, dunno why.
function GetWindowsID: string;
var
Registry: TRegistry;
str:string;
begin
Registry := TRegistry.Create(KEY_WRITE);
try
Registry.Lazywrite := false;
Registry.RootKey := HKEY_LOCAL_...
I've written a program that edits a specific filetype , and I want to give the user the option to set my application as the default editor for this filetype (since I don't want an installer) on startup.
I've tried to write a re-useable method that associates a file for me (preferably on any OS, although I'm running Vista) by adding a ke...
Hi All,
I have a dll made in cpp which tries to read/write some Registry Keys. This code runs perfectly fine in Windows XP (32 bit environment) but it fails in Windows 7(64 bit environment).
The registry keys which this application accesses is the shared registry keys. These keys are not part of 32 bit registry cache(wow32 bit) or 64...
I'm using Inno for an installer, and I want to associate a file type with my app:
Root: HKCR; Subkey: ".rpl"; ValueType: string; ValueName: ""; ValueData: "MyReplay"; Flags: uninsdeletevalue;
Root: HKCR; Subkey: "MyReplay"; ValueType: string; ValueName: ""; ValueData: "Replay File"; Flags: uninsdeletekey;
Root: HKCR; Subkey: "MyReplay\D...
Is it possible to determine whether or not a given registry key is redirected?
My problem is that I want to enumerate registry keys in both the 32-bit and 64-bit registry views in a generic manner from a 32-bit application. I could simply open each key twice, first with KEY_WOW64_64KEY and then with KEY_WOW64_32KEY. However, if the ke...
This is a strange driver error which doesn't make a lot of sense to me.
I am running an application developed in C# .NET which our company develops.
I was monitoring the application using process monitor and noticed that it accesses the registry a lot. The output on Process Monitor looks like this,
Operation Result Path...
For instance, when I right-click in an explorer window I see a popup with the following:
Open
Open with
Copy
Paste
Winrar <-- How can I add a choice like this?
...
Hey I'm wondering when accessing Zend_Registry in an application if you need to include getInstance() and if so, why?
for example
Zend_Registry::getInstance()->get('db');
vs.
Zend_Registry::get('db');
they both seem to work with the later being less verbose.
I vaguely understand that Zend_Registry is a singleton, which I t...