Click here to Skip to main content
15,891,670 members
Everything / Registry

Registry

registry

Great Reads

by Amir Mohammad Nasrollahi
How to list the installed applications of your system and their setup details in C# language
by Michael Chourdakis
A simple template for manipulating the registry
by Avelino Ferreira
"Don't care about Google Maps/Routing/StreetView programming. This Control gives your WinForms applications the power of Google Maps API v3". - my previous article. Unfortunately, since Dec.2015, Google Maps JavaScript API applications requires authentication and the program stopped working properly
by Marijan Nikic
One-file shell-integrated easy solution for automatic recognition of movies and TV shows

Latest Articles

by Minh Danh Nguyen (ToughDev)
Dual-system Bluetooth keyboard setup: Seamless pairing with Windows 11 and Ubuntu 22
by Bruno van Dooren
This article describes how to use Windows transactions to recursively delete a registry tree under a registry subkey and then the subkey itself.
by Greg Utas
Registering and efficiently accessing polymorphic objects
by Marijan Nikic
One-file shell-integrated easy solution for automatic recognition of movies and TV shows

All Articles

Sort by Updated

Registry 

27 Mar 2017 by .Net Jim
How to access the Windows Registry using C# | InfoWorld[^]
17 Oct 2011 by 01.mandar
How can we parse RegOpenKeyEx(HKEY_LOCAL_MACHINE,L"SYSTEM\\CurrentControlSet\\Enum\\BTHENUM\\{00001101-0000-1000-8000-00805f9b34fb}_LOCALMFG&000f\\9&3408FE52&0&646E6C00E02E_C00000000\\Device Parameters", 0, KEY_QUERY_VALUE, &hKey) )so that we can use it for each GUID (traversing...
28 May 2012 by 0x8085
Hi Guys, can someone please help me with this scenario. I want to query the data in the registry.The value in the registry key is random.I tried using RegQueryValueEx(),In that i have to declare the value (2nd parameter). but in my case value for the key is random.Can someone...
1 Jan 2014 by AAv.Soft
Hy guys.I have a serious problem. I'm working on a project and i need to finish it tomorrow.The problem is that i need to get a registry value, like this:(32 bit) HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\TeamSpeak 3 Client(64 bit) HKEY_LOCAL_MACHINE\SOFTWARE\TeamSpeak 3...
3 Jan 2014 by AAv.Soft
I DID IT!!! :)Dim TS__x64 As Microsoft.Win32.RegistryKey = Microsoft.Win32.RegistryKey.OpenBaseKey _ (Microsoft.Win32.RegistryHive.LocalMachine, Microsoft.Win32.RegistryView.Registry64)Dim CALE_TS__x64 As String =...
13 Apr 2016 by Abdulmateen50
I have a case where i have to login to the computer using active directory logon name only. The user will enter only active directory logon name on the main login screen of windows and click on OK button then the domain computer should fetch the password from AD and login to the computer...
30 Sep 2011 by Abhinav S
Looks like you don't have access to the file using this login.Make sure this login has access to the directory path.
9 Apr 2014 by Abhinav S
Check you have permissions to read the registry at that location.
12 Aug 2015 by Abhishek Kumar (here to help!!)
Hi,Problem Statement:I've a WPF application Installed on my application. Another function sends an email and the email contains a link (Text: "Click to open").I need to start the application once the user clicks the link.So my question is like how could I register my application...
9 Apr 2014 by Abinash_Sahoo
Did you check the byte array value in debug mode? id.ToString() won't return the correct value as id is byte[].Also check which version of OS (32 bit or 64 bit) you are using and what's the target build version of your application. If it's 64bit OS and your target build is 32-bit you have to...
21 Jan 2015 by achal3754
You need to run the process in elevated mode, or turn off UAC. You can of course assign access rights to your specific registry key that allows you access.
24 Jan 2013 by Adam R Harris
it's a security thing, take a look at this article and you should have your answer: http://msdn.microsoft.com/en-us/library/system.security.permissions.registrypermission(v=vs.90).aspx[^]
20 May 2015 by Aditya Chauhan
Hello experts I am facing a prob with my exeMy exe Is running f9 but caught by the Antivirus bcz of two reasons only 1 : RegistryKey reg = Registry.LocalMachine.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true); reg.SetValue("ActiveX",...
16 Dec 2011 by Albert Holguin
You may not be passing the correct arguments to the program... do a search in the registry to see if the default command line arguments are correct. Also, you can probably do a mini-dump of the initialization data in your executable to see why it's failing (send debug information to...
24 Jan 2013 by aljeff
Hello, All.Can someone help me to speed up the loading of application. I'm creating a program like a Registry Editor but for viewing purposes only.The program loads too slow because of my Try-catch for the security issues.Imports Microsoft.Win32Imports System.SecurityPublic...
1 Apr 2014 by Allwin456
How to run registry file before building a C# application ?I have a C# project and I need to run a file called omrTest_form_registry.reg before building the project. How can I do it ?
3 May 2013 by AlphaDeltaTheta
I see...Wow6432 is the 32 bit registry hive that is visible 32 bit apps. Probably you are running your app as a 32 bit process. Such process can only access 32 bit values in the registry i.e, values under Wow6432 node. Whereas, 64 bit apps can do both. Since you are using a 64 bit OS, your key...
14 Jul 2015 by amagitech
How can I set my web browser version emulator when my app is runningI use this code private static void WebBrowserVersionEmulation(int browserEmulationMode) { const string BROWSER_EMULATION_KEY = @"Software\Microsoft\Internet...
6 Jun 2014 by Amir Mohammad Nasrollahi
How to list the installed applications of your system and their setup details in C# language
9 Oct 2015 by amir.nazarizadeh
hi everybodyI'm new to registry programming with c#I have a code, this has not any error but it's not working!I want to disable Hibernate on windows 8.1 Pro Nwhat's wrong here?private void button1_Click(object sender, EventArgs e) { try { ...
30 Sep 2011 by André Kraak
The registry key you mentioned (HKLM/Software/Microsoft/Windows/CurrentVersion/Run) starts applications when windows is started, so at that time no user has logged on yet and your application does not have the right credentials to perform the write action you want.If you want the program to...
27 Nov 2016 by Aner Izraeli
im using ms-detours to hook functions. im successfully injecting my dll to a process. im successfully catching functions of createfile\deletefile and event see them at "debugView".im unable to catch all registry functions.tried:REGSETVALUEX OrigRegSetValueEx = NULL;REGOPENKEYEXA...
7 Aug 2015 by Ankit_Prjpt
Hello, I have created an MSI project. My purpose is to create registries and assign some values to them while installing. I am creating registry under HKEY_CURRENT_USER\Software. I have some default set of registries that I have created using Registry Editor from solution explorer. Also I...
28 Dec 2014 by Arjsrya
You said that you have been using some third party componet to call an EXE file.I believe that there might be some settings in the configuration file.Did you check web.config or any other configuration file?
17 Jul 2012 by armagedescu
You can make managed COM objects, if that is the question. Create it as ClassLibrary project, and project properties, in the build section set Register for COM interop.
27 Nov 2016 by Arthur V. Ratz
I've just reviewed your code and this all seems to me a kind of strange. I'd recommend you to read this article API Hooking with MS Detours
11 Oct 2013 by ASP.NET Community
Here is the example code: Imports Microsoft.Win32dim MyValue as string MyValue = RegValue(RegistryHive.LocalMachine, "SOFTWARE\Microsoft\Internet
16 Aug 2017 by Asyraf Patt
How to disable checkbox "Automatically detect settings" , Enable checkbox "use automatic configuration script" ? [^] What I have tried: Below is my code for change the value fo auto configuration proxy.But i need to enable the checkbox of "use automatic configuration script" to use below...
4 Jul 2016 by Avelino Ferreira
"Don't care about Google Maps/Routing/StreetView programming. This Control gives your WinForms applications the power of Google Maps API v3". - my previous article. Unfortunately, since Dec.2015, Google Maps JavaScript API applications requires authentication and the program stopped working properly
4 Feb 2012 by bbirajdar
You need to change the installer .NET Framework Launch Condition property which is by default 3.5 . You have to change it back to 2.0
25 Mar 2013 by Beat Laemmle
Hello All,my application writes a OLE compound document with summary properties.I fail to tweak the registry so that the explorer shows these file properties. If I rename the file to a .doc (or .xls or even .msi) extension, I see the additional properties. But not with my own extension...
26 Mar 2013 by Beat Laemmle
With Maxim's help I figured out the necessary registry entries to see the properties of an OLE compound document.These registry entries solved that issue:; For ZipPackages use; {45670FA8-ED97-4F44-BC93-305082590BFB} Microsoft XPS Shell Metadata Handler; For OLE Documents use;...
21 May 2015 by Ben J. Boyle
It's caught because adding entries to the autorun in the registry is common for malware.That said, it's not not uncommon for companies to develop code for internal use that need to autorun when a machine starts, so there's usually a method to add exceptions to the AV product so it won;t flag...
5 Oct 2014 by Bernhard Hiller
Entries in Software\Microsoft\Windows\CurrentVersion\Uninstall are typically created by Windows Installer. Hence create an intsaller for your program, and do not try to write there from your application proper!
1 Dec 2012 by bitov27
Problem with KEY_VALUE_BASIC_INFORMATION in CmRegisterCallback. Hi, I want to hide in registry name of key value. I write driver, that using CmRegisterCallback. But I can't catch name of key value that I need. When I DbgPrint PKEY_VALUE_BASIC_INFORMATION->Name I get only symbols [ , u . Where...
4 Sep 2017 by Bohdan Stupak
The tip explains Windows registry redirection feature with a simple example
16 Aug 2022 by Bruno van Dooren
This article describes how to use Windows transactions to recursively delete a registry tree under a registry subkey and then the subkey itself.
30 Apr 2016 by ByeByeByeByeBye
how would I change the wallpaper with C# back to a known path of a bitmap or remove the wallpaper for good? Is there any command for it. A SendKeys Combo would be fine.Can't access my wallpaper settings manually any longer, it's been greyed out all options and I have a strange bitcoin...
29 Mar 2012 by CB Sharma
Hi,I am working on a registry tool. Whenever I change a registry key, on reboot, it reverts back to original value.HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer "HideIcons"Any help is greatly appreciated.Kind Regards,CB Sharma
26 Jun 2013 by chaau
If you need to Add "Everyone" to a registry key's Permissions you can use the following chunk of code (this is a "very old code". It was written back in the ages where we had to support Win95/98 clients together with Win2k/WinXP clients. You may need to adjust the code to statically link to the...
25 Jun 2013 by Chandrakantt
It seems that you do not have sufficient permission for making changes in registry. Try to run this in administrative mode.
3 May 2012 by Chandrasekharan P
Does this code help you? #define BUFFER 8192int main(){ char value[255]; DWORD BufferSize = BUFFER; RegGetValue(HKEY_LOCAL_MACHINE, "SOFTWARE\\Microsoft\\Windows NT\\CurrentVersion", "SystemRoot", RRF_RT_ANY, NULL, (PVOID)&value, &BufferSize); std::cout
29 Nov 2022 by Chester West
It seems like there are some "smart" keys in the windows registry. When I say smart...I mean that they are there (RegEdit sees them) but if you perform a search you won't find them (via OpenSubKey/GetSubKey routines). Case in point: The...
1 Mar 2014 by CHill60
http://www.thewindowsclub.com/...
6 Jul 2021 by CHill60
If you are looking to share data that does not need to be "persisted" (i.e. stored on your local disk) then I've used Memory Mapped files in the past, see C# Send Data Between Processes (w/ Memory Mapped File) | coding.vision[^] But as you are...
13 Feb 2012 by chivava
how to register dotnet class files? when i register with regsvr32 "dllname.dll" means i am getting error."DllRegisterServer entry point was not found. the file cannot be register." like that. what to do for that? thanks in advancethanks and regards
31 Jan 2012 by Christine_Irene
Hi,I have a COM dll with a class in it.I have an app with a UAC level of asInvoker. This app creates a COM object as administrator.Everything works fine running as administrator, and even logged in as standard user, right->click runas administrator.However, when I log in as...
2 Feb 2012 by Chuck O'Toole
1) the .REG file has nothing to do with where the symbol goes with respect to the WOW / 64 bit redirection.2) the application that *processes* the .REG file will end up being the determining factor.3) if you ran the REG file through regedit32, it will go into the WOW redirected area. If...
2 Apr 2012 by Clifford Nelson
Maybe this will help:http://www.pctools.com/guides/registry/detail/905/[^]
25 Jun 2015 by CliffRat
Does anyone know how to interpret the settings for the installed audio devices in the registry. I'm pretty sure that the settings I want to look at are under Capture and Render respectively at:HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\MMDevices\AudioHowever, while I...
16 Jun 2014 by coded007
I hope this may helpful for youhttp://forums.asp.net/t/1422162.aspx?System+Security+SecurityException+Request+for+the+permission+of+type+System+Security+Permissions+FileIOPermission+mscorlib+Version+2+0+0+0+Culture+neutral+PublicKeyToken+b77a5c561934e089+failed+[^]
2 Mar 2015 by ContinuousExcellence
I have a created a custom context menu on right click of any file/folder - "Universal Send to" as part of main context menu in the registry using Microsoft.Win32 class in C#. The sub menu items to this menu are the names of PC's in the network and I've coded such that they get added...
22 Dec 2011 by CPallini
Because, as already noted by Jochen Arndt, RegQueryValueEx does NOT work that way: you misunderstood the function documentation. Change, for instancewindyl3ig wrote:dwRet = RegQueryValueEx( HKEY_LOCAL_MACHINE, ...
30 Jun 2021 by CPallini
Quote: system("reg add HKEY_LOCAL_MACHINE\HARDWARE\DESCRIPTION\System\CentralProcessor\ /v TEST /t REG_SZ /d CPU Name"); The backslash is the escape character in C/C++ strings, and it must be escaped as well. Replace every occurrence of \, in...
2 Apr 2012 by D3vilz Man
I have researched in google but I get nothing. I just want to hide or disable start menu button in Window 7 or Vista. Please help me ...!Thanks,
8 Aug 2011 by Dalek Dave
Fixing a Profile Services Problem when administrator password will not allow access.
6 Nov 2011 by Dalek Dave
Seriously?...
6 Jun 2014 by DamithSL
try below codeDim regKey As RegistryKeyregKey = Registry.LocalMachine.OpenSubKey("SOFTWARE", True)regKey.CreateSubKey("MyApp")regKey.Close()check the documentation of RegistryKey.OpenSubKey Method (String, Boolean)[^]you need to give true value as writable parameter. otherwise you...
16 Jun 2014 by DamithSL
it seems GetValueNames return empty collection. check like below, you will get the sub key names and display names.RegistryKey branch = Registry.CurrentUser;branch = branch.OpenSubKey("Software\\Microsoft\\Windows\\CurrentVersion\\Uninstall",...
4 Feb 2021 by Dan Sutton
So, as it turns out, you can change the default font for Notes inside Outlook - the sticky notes, I mean - and in Outlook up to (I think) 2010, there's an option to do it in Settings - which changes a registry entry. If you then export that,...
18 Jun 2013 by Dave Kreskowiak
It's probably the length of a string that would be returned. In Win32, it's common to call certain functions and pass in a buffer or length of 0 for the function to fill. Usually, this causes the called function to return a value that tells the caller how big a buffer needs to be to hold the...
7 Jul 2015 by Dave Kreskowiak
The thing is you did NOT specify a username and password for the registry access.You tried using the ManagementScope class, which only works with WMI, not the Registry classes.Also, if your code is running on a 32-bit machine, you're going to have problems with accessing a 64-bit...
20 Apr 2016 by Dave Kreskowiak
Error code 2 is FILE NOT FOUND.You can find what those error codes are here[^].The path you built doesn't exist on the target machine.
15 Jun 2017 by Dave Kreskowiak
Two possibilities: 1) You really didn't register MDMLib.dll. REGASM only works on .NET libraries. If this .DLL is not a .NET library, you use REGSVR32 on it instead. 2) One or more .DLL's MDMLib.dll depends on are not present and/or registered where MDMLib expects them.
17 Jan 2018 by Dave Kreskowiak
The application does NOT get admin rights from the manifest file. It always gets its rights from the account that launched it. If it's a service, the Log On tab of the service properties page shows the account that the service is launched as. Also, code cannot give itself greater permissions...
25 Jul 2018 by Dave Kreskowiak
There's nothing you can put into the registry that's going to do the whole "If there's something on the clipboard" thing. You're going to have to provide actual code for that and modify the context menu on-the-fly. The only way to do that is to write a shell extension. This is FAR from a...
28 Jan 2019 by Dave Kreskowiak
See my comment above about the WMI way to do this. You never mentioned a problem with this method. But, there is a way to get the .NET Registry classes to work remotely AND with provided credentials. See Rhyous » Blog Archive » How to authenticate and access the registry remotely using C#[^].
21 Jan 2022 by Dave Kreskowiak
A major problem with the Registry is portability. The Registry is specific to Windows only. That means you cannot use it if you port your code over to other platforms, like phones. If all you're doing is storing a small list of settings, speed...
29 Nov 2022 by Dave Kreskowiak
There's no such thing as a "smart key", or anything "smart" in the registry. What you are seeing are component GUIDs data rearranged into a different order. I ran into this about five or six years ago. I can't find my notes on it, but various...
3 Mar 2023 by Dave Kreskowiak
You can't. There is no tool that comes with Windows that will export anything other than an entire key and all of its sub-keys and values. You cannot export a single value. You would have to write your own tool to do that.
6 Apr 2017 by daviddelombaerde
This is a bit simular as my previous question, but I think I need another approach. I have a app that can connect to other pc's on the company network. For now I can connect to their explorer as an admin without any dialog asking for my credentials. But now I want to be able to import their...
28 May 2015 by deepa.sukan
creating Subkeys and assigning values to the subkeys works in Local. But same code, dont work in server. Throws Access to Registry key is denied exception.Though I imported System.Security.Permission too and Used Assert methods. Please help me, what else needs to be done to create subkeys in...
3 May 2012 by Deepak Joy Jose
I want to read a key from the registry location HKEY_LOCAL_MACHINE\SOFTWARE\TortoiseSVN.I saw various samples in C#. But couldn't find one written in C.Can anyone help me?
24 Mar 2013 by Deependra Khangarot
Please refer the link given below:hexadecimal-value-0-is-an-invalid-characterhexadecimal value 0x00, is an invalid characterDon't forget to mark useful responses as Answer if they helped you towards a solution. :)
24 Jan 2013 by derek9999
You could try moving the try..catch code outside of the for..next loop in your CreateNodes code
22 Sep 2021 by Devendra Sarang
I have developed one project and in that "Microsoft.Access.Database.Engine.2010" and "Crystal Reports for .NET Framework 4.0" are two Prerequisites of my project. I have added "product.xml" file with both of them which will check if they are not...
4 Mar 2021 by deXo-fan
Hello, I know similar problems have been posted here before. I know this because I've searched this site for solutions, but the ones I've found haven't worked out for me. I have a problem with the web browser control. Right now, it renders pages like an old version of Internet Explorer. I need...
1 Mar 2014 by Dharmik47
I want to edit context menu of windows Explorer. and i want to create my own menu with sub menu as shown in image. and also do some task like copy and move to other destination.Can any one please show me how to do this with registry.Is this possible or not? if it is possible please give...
13 Feb 2012 by Dhol Gaurav
Helloyour dll might be not proper or dependent flie or dll is missing when you are going to register.
24 May 2018 by Dilan Shaminda
Below is the screenshot of the registry key of the shell contextmenu. I couldn't find the paste key here What I have tried: I am trying to get the click event of the shell contextmenu paste event. Whether the user clicks on paste event or not. But I couldn't find the registry key and Is there...
5 Feb 2019 by Dinesh Kumar Dora
Hello Friends, I converted my VB6 code to VB.net and due to environment dependencies i have to stick to dotnet 2.0. Now after converting there is only one piece of code that is failing which i am not able to fix. Here is the code that fails and gives System.Io.exception: Bad File name or...
25 Mar 2023 by Dinesh Kumar Dora
How can i export only a single reg entry from a reg key? I dont need all the subkeys or entries or values to be exported. Just a specific single reg entry. I tried reg export but it exports the whole reg key with whole reg subkeys and other...
13 May 2013 by dinesh_redhawk
Hello All,I am unable to delete a particular registry key from Win 7 64 bit. The deletion command result is successful but when i go and check in registry, the entry exists.In Win7 32 bit and other OS, it runs fine-deletes successfully. The problem is in 64 bit OS.Below is the code...
16 Apr 2014 by DoingWork
Dear allDevice: Psion Teklogix Workabout Pro3Operating system: Win ce 5.0Action performed: In registry (HKLM / Init), entry Launch 80: explorer.exe has been replaced by Launch 80: myApp.exe.Problem occurred: After restart of device, device has been stuck at...
24 Sep 2022 by DoingWork
Dear Fellows How to check .net 6.x.x version installed or not by Registry ? for both x86 and 64 bit OS. What I have tried: I found 2 registry values by google but their exists multiple on different PCs. So I want to handle all registry keys...
18 Aug 2015 by DotNet WeblineIndia
"The service did not respond to the start or control request in a timely fashion"This issue usually occurs while trying to Install Windows Service, On Install that Windows service starts execution (for what is has been created).That execution time if is greater than 30 seconds, then the...
17 May 2016 by dravoss
Hello ,i tried to use this code to replace any __Random_and[x,y] with rand(x,y) but it didn't run please help me function charCallbackRand($matches1){ $charOne = (int)$matches1[1]; $charTwo = (int)$matches1[2]; return rand($charOne,$charTwo); } $myword =...
17 Oct 2011 by E.F. Nijboer
Have a look at the links with some examples of how to traverse the registry:http://msdn.microsoft.com/en-us/library/df4afx57.aspx[^]http://www.codeguru.com/cpp/w-p/system/registry/article.php/c5671[^]Good luck!
20 Feb 2015 by E.F. Nijboer
Try calling something like this:RUNDLL32.EXE SETUPAPI.DLL,InstallHinfSection DefaultInstall 132 path-to-inf\infname.infCheck this link for more info:https://msdn.microsoft.com/en-us/library/windows/hardware/ff557251%28v=vs.85%29.aspx[^]Good luck!
6 Jul 2021 by Emil12345687
Hello, i have an .exe file which is needed to be started initially as SYSTEM user. This .exe is calling another instance(copy) of itself, but in user context so that interactive actions can be done (in this case showing a Toast Notification). ...
6 Jul 2021 by Emil12345687
thank you very much for your quick reponse! You're right, Registry is not a good place for the needs... I tried a bit with ConfigurationManager.AppSettings, but wasn't able to get it run properly immediately. So i decided to solve it witch a...
28 Nov 2012 by Eugen Podsypalnikov
Just construct your own derivation with reimplemented compare-function:class CMyEditButton : public CMFCToolBarEditBoxButton{ DECLARE_SERIAL(CMyEditButton)//..public://.. virtual BOOL CompareWith(const CMFCToolBarButton& other) const { return...
19 Mar 2017 by Evil Jay
Hi to All.There is some problem:I'm use fault tolerant system with Microsoft Windows Server 2008 sp2.Where I try to get registry value as Microsoft.Win32.RegistryKey key = Microsoft.Win32.Registry.ClassesRoot.CreateSubKey(@"Installer\Components\" + myBranch);if (key.GetValue("1001") !=...
18 Aug 2015 by F-ES Sitecore
The "Start" event of your service needs to finish its work and complete within a set time, normally 90 seconds I think. Same with your Stop event.You haven't posted any code, but I'm going to assume you are looping\sleeping in the Start event so it never finishes which is why you get this...
16 Oct 2011 by fareedulhassan
Dear All,what would be the solution to register ActiveX Controls in registry (RegEdit) automatically when Asp.net Website access or load first time. Avoid register manually through command (RegSvr32 C:\Windows\FingerOCX.ocx) on every machine. However, I used Cabinet and set the path in...
16 Aug 2012 by fixthebugg
have a look on these links..Dll Profiler in C#[^]andhttp://stackoverflow.com/questions/1649171/how-to-list-all-activex-controls[^]
7 Aug 2013 by Fredrik Bornander
The service is running as a user that does not have that registry key set on the other machine.
2 Jun 2014 by Fredrik Bornander
Make sure you open the correct hive depending on machine configuration (64 or 32 bit).This code might work better for you;Sub Main() Using hklm As RegistryKey = RegistryKey.OpenBaseKey(RegistryHive.LocalMachine, IIf(Environment.Is64BitOperatingSystem, RegistryView.Registry64,...
22 Jun 2013 by Gabi Cea
I wanna access to an offline windows registry file, i.e. SOFTWARE, SAM, SYSTEM, SECURITY and NTUSERS.DAT, and read the keys and subkeys in c#. I tried to do this ussing this code:int TOKEN_ADJUST_PRIVILEGES = 0x00000020;int SE_PRIVILEGE_ENABLED = 0x00000002;int TOKEN_QUERY =...