0
votes
0answers
8 views

Integrate my application into the Windows Default Programs dialog for protocol handling

I'm trying to get my application to appear in the Windows Default programs list to handle a couple custom protocols, foo: and bar:. I have my app already handling command line agruments, so I can hook ...
0
votes
0answers
51 views

Programmatically edit the BCD store on Windows 8?

On Windows Vista+ the BCD boot data is stored in the registry under HKEY_LOCAL_MACHINE\BCD00000000. The BCDEDIT command line tool just presents that data in a readable fashion. So, theoretically, ...
0
votes
2answers
39 views

c# set a program to launch at startup using registry and a checkbox to modify the option

I know how to tell the registy to run my app on startup. There are a lot of threads about it. I used this one: How do I set a program to launch at startup. The problem I face is: I give the user the ...
0
votes
2answers
19 views

Writing to users policy registry key

I want to be able to write values into a users policy key located in HKEY_CURRENT_USER\Software\Policies\ - but this location can only be written to by an admin user. I have both an application ...
0
votes
3answers
14 views

What arguments are passed to msiexec on uninstall

I know this information exists but I'm really struggling to find a source. Where can I find what selecting "remove", from add/remove programs, passes as arguments to msiexec to uninstall the ...
0
votes
1answer
16 views

Initialize array of HKEY correctly

How to effectively initialize array of HKEY? Consider the following code snippet HKEY hkey[2]; for(int i = 0 ; i < 2 ; i++) LONG reval = RegOpenKeyEx(/* parameters */,&hkey[i]); ...
0
votes
0answers
18 views

Example for the context menu of desktop with Radio switch type in Win7

everyone! I want to add some items to the context menu(Right-Click menu)on desktop in Win7. I have modified the registry like this: HKEY_CLASSES_ROOT DesktopBackground Shell Switch PowerPlan ...
0
votes
0answers
35 views

adding registry key for Windows local SYSTEM user

I am somewhat new to Registry Keys in Windows. What I want to do is add a registry key ONCE that will take effect on the local SYSTEM user (for as long as my program is installed). This registry key ...
1
vote
2answers
50 views

Windows: Changing the name/icon of an application associated with a file type

I would like to associate a file type in Windows with a particular application, but I need to make it so when the user opens the "Open With" menu, the name and icon of the application in the list is ...
0
votes
2answers
54 views

I do not see registry key even though GetLastError returns all 0

I try to make file dropper and launch at startup but then it DOES start up correctly but when i navigate to said key using regedit i cannot see it? What is up with that? All error codes return 0..... ...
-1
votes
1answer
29 views

RegistryCallback and RegCreateKeyEx

I am monitoring some windows machine. I am running some windows service i was writing and my purpose is to get notification when process on the system tries to create a not existing registry keys. ...
2
votes
1answer
46 views

What shell verb used in double click action?

I'm trying to programmatically open .jpg file in Windows Server 2008 R2. var fileName = @"C:\Users\Admin\Desktop\TEST.JPG"; Process.Start(fileName); But this code causes an error, because Photo ...
1
vote
0answers
24 views

SubInAcl tool: how to change permissions of a key containing a *

I would like to change permissions of some registry keys using the tool subinacl.exe, but keys containing a star (the wildcard *) return an error: C:> subinacl /keyreg ...
0
votes
1answer
15 views

Where are Explorer's folder view settings saved? [closed]

Explorer has numerous settings that can be made to customize the user's view: details/thumbnail, column widths, grouping, etc. Where and how are these details stored? (If it matters, I'm ...
0
votes
1answer
28 views

How does Chrome choose its start up locale?

I'm trying to write a small C# program that will allow me to change the locale of different types of browsers. By modifying the current user's locale and locale name in the registry, I've been able to ...

1 2 3 4 5 45
15 30 50 per page