Questions tagged [registrykey]
355 questions
3
votes
1 answer
C# Registry search, reverse traversal from results
I am messing about with my Windows Phone after finding and using the registry edit to allow it to be accessed through explorer. My aim is to write a quick console application to perform this registry edit on any machine it is plugged into.
THIS IS…
user1192312
3
votes
2 answers
Delphi export HKEY_CURRENT_USER key not working - empty result file
I am trying to export a registry key using either TRegistry.SaveKey or RegSaveKey functions with no luck. All I get is an empty file 0 bytes. I have seen examples online none seems to be working on Windows10.
reg := TRegistry.Create;
…

user3365784
- 377
- 2
- 8
3
votes
2 answers
How to find Android sdkmanager installed path in Windows with Visual Studio 2017
We are using Visual Studio 2017 (15.7.4 update) with Windows OS. We are facing issue on Android SDK manager installed path. Can you please suggest idea to get Android SDK manager installed path based on registry or command line?
Regards,
Dheepa

Saravana
- 71
- 1
- 1
- 4
3
votes
0 answers
WinRegistry IllegalArgumentException error can't find path: 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies'
I'm using the WinRegistry class in my project and this is my code (Courtesy of Cravenica):
public static void checkInstalled(){
try {
String regValue = null;
regValue = WinRegistry.valueForKey(
…

Display name
- 95
- 1
- 2
- 12
3
votes
1 answer
Python script to import registry key
I have a registry key that contains information for a program that I am running. I have registry key exported to a directory and I can easily import using the regedit Import function. I am having trouble writing a script that does the same using…

user28849
- 71
- 1
- 5
3
votes
2 answers
MaxWebConfigFileSizeInKB and IIS 10
I am using a Web application with a web.config file larger than 250KB on IIS 10. In IIS 8.5 and below the registry key HKLM\SOFTWARE\Wow6432Node\Microsoft\InetStp\Configuration\MaxWebConfigFileSizeInKB (REG_DWORD) could be set to allow web.configs…

Frank van Rooijen
- 61
- 1
- 6
3
votes
3 answers
Update registry using VBS
I'm trying to update the legal caption on our PCs using a VBScript. So far, I've been able to read values but I can't seem to get it to write any values. I don't get an error when I run the script, it just doesn't change anything. It's the first…

Vanessa
- 31
- 1
- 1
- 2
3
votes
1 answer
Write a Stringformated Hex Block to registry in Binary value
I am really get stucked with something.
I have a string which includes hex values:
string creatorSid =
@"01,05,00,00,00,00,00,05,15,00,00,00,10,b1,9d,4a,7a,85,7b,05,
79,05,b3,7c,ee,03,00,00";
I want to put…

Andre Dontsch
- 33
- 1
- 4
3
votes
1 answer
For COM server and registry key redirection, does it need to do file path redirection translation?
Forgive me if the title is not so accurate.
I have met some problem when I am doing something related to COM server and registry redirection and not quite sure is my understanding is correct or not. Hoping anyone could share some light on it. Thanks…

maobeibei
- 101
- 4
3
votes
1 answer
Read Registry_binary and convert to string
I have been searching for the last 2 hours, and I actualy just have been searching stupid.
I am trying to read a Registry_binary Value and convert this to a string. I tried several things I've found online(includeing some stackoverflow posts), but…

MX D
- 2,453
- 4
- 35
- 47
2
votes
2 answers
Cross Threading Exception - Using Invoke
After recieving the cross thread exception error, I looked it up on the MSDN.
I tried implementing some of the code there but can't get the Callback to work.
addItemCallback d = new addItemCallback(addItem);
this is located in the addItem() method…

deepseapanda
- 3,717
- 8
- 32
- 39
2
votes
1 answer
How to use REG_OPTION_OPEN_LINK in C# Registry class
I want to open a registry key that is a symbolic link.
According to Microsoft I need to use REG_OPTION_OPEN_LINK to open it.
I searched for an option to add it to the OpenSubKey function but I didn't find an option. There are only fiver overload…

E235
- 11,560
- 24
- 91
- 141
2
votes
1 answer
Change value in registry on multiple servers using credentials
Looking to enable reg key on multiple remote machines.
Attempt 1:
$Servers = Get-Content "C:\PowerShell\TestServers.txt"
$Path = "HKLM:\SYSTEM\CurrentControlSet\Services\"
$Property = "*REG_WORD NAME*"
$Value = "1"
Foreach ($Server in $Servers)
{
…

Nic Warburton
- 23
- 2
2
votes
0 answers
8dot3name enablement under a Docker environment
I have a legacy application that I'm trying to run under a Docker container. The problem is that 8.3 names appear to be disabled by default in the container, so in the Docker file I issue the following as the last command in the file: run…

LumberJack
- 111
- 3
2
votes
2 answers
Powershell script to report account lockout policy settings?
I have a few computers outside the network, not allowed to have the PS AD module installed.
All I want to do is use Powershell to report some of the account lockout settings, specifically the lockout threshold, lockout duration, and whether this…

BentChainRing
- 382
- 5
- 14