7,388 questions
0
votes
1
answer
639
views
While reading a DWORD from the Windows registry, I'm getting the pointer address and not the value as output
So for a project I'm trying to read a Registry DWORD. I have written some code but I'm getting the pointers address as an output and not the value I'm looking for. Maybe someone can help me with that?
...
0
votes
1
answer
819
views
check registry values for multiple keys and export results into csv
Here is what I am trying to do:
Run script to verify the existence of 8 registry keys and the values set for those keys.
Export the results to a CSV file for review.
Output should look like this:
...
1
vote
1
answer
81
views
How can I use binary output in switch cases?
$var1 = [byte]0xDB,0x01,0x00,0x00,0x10,0x00,0x00,0x00,0x01,0x01,0x02,0x04,0xF4,0x00,0x00,0x00
$var2 = [byte]0xDB,0x01,0x00,0x00,0x10,0x00,0x00,0x00,0x01,0x01,0x00,0x03,0xF1,0x00,0x00,0x00
$value = ...
1
vote
1
answer
1k
views
Cannot find registry path running a powershell script as a custom action
I have a PowerShell script where I am reading and editing registry.
I tried running it manually, calling it from command line, converting it to an .exe with ps2exe, and for all of those scenarios it ...
0
votes
0
answers
150
views
Search a registry and add any missing keys and values not found using powershell
I have multiple registry keys with some having multiple values which if not found, need to be added. I learned how to do this for a specific key and value but I am not sure how to do this for ...
0
votes
1
answer
53
views
Write WMI Output to Reg Key always multiline
Hello I try to get this output to a reg key but it only writes the first "$Monitor.ManufacturerName" value
if I change the Reg_ADD to Multiline_SZ it would work but it has to be a one line ...
2
votes
1
answer
1k
views
How can I get and change the Value of the "(Standard)" key in the Registry with Powershell
I need to write a Script to change the Value of the (Standard) Key located in the Registry under:
REGISTRY::HKEY_CLASSES_ROOT\http\shell\open\command
I just cant get anything to work, everything i ...
1
vote
0
answers
212
views
Docker build unable to get local issuer certificate
I am running docker build for the following Dockerfile
ARG UID=101
ARG GID=101
ARG ENV='env3'
FROM node:16-alpine as build-stage
WORKDIR /app
COPY package*.json /app/
RUN npm i
RUN npm audit fix --...
0
votes
1
answer
595
views
Powershell and Registry: How do I query for (Default| strings by their value instead of name?
So, I have a script I'm working on to get items in the registry and delete them, like so:
Get-ChildItem -Path "HKLM:\SOFTWARE\Classes" -Recurse -Include *optane* | Remove-Item -Recurse -...
0
votes
1
answer
2k
views
How can I find the local docker ip address of a registry service?
I have created a local docker registry and I want to access it from inside another container/service test. The compose file looks like:
version: "3.4"
services:
registry:
image: &...
1
vote
0
answers
134
views
Azure pipeline failed for a second step due to private npm registry permissions denied
We have a .NET application with an integrated SPA (React) and 4 environments (separated Azure subscriptions with app services), Prod/Test/Sandbox/Dev. Our frontend application use a library from a ...
0
votes
1
answer
264
views
write long hex to registry c#
i want to write long hex to registry:
[HKEY_CURRENT_USER\System\GameConfigStore]
"Win32_AutoGameModeDefaultProfile"=hex:02,00,01,00,00,00,c4,20,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,...
0
votes
0
answers
48
views
C# Deleting RegistryKey
I'm trying to delete a RegistryKey via C#.
The key i'm trying to delete has a subkey and values.
When I try to delete it with regKey.DeleteSubKey(name) it says cannot delete because of subkeys.
When I ...
0
votes
1
answer
124
views
How to change the name of an extensionless file
I had a stupid adware infection with my computer a while ago and while this is fixed now, it still has left some artifacts behind. Namely that the extentionless files (normally called "File")...
0
votes
1
answer
1k
views
Cannot Access Windows Shared Folder with IP but can using hostname
While Trying to reach Shared Folder with IP Address getting Error as shown here Error Message where trying with IP.
Can Access by using hostname.
We can access by using hostname.
It Happens frequently,...
2
votes
1
answer
133
views
Windows FIle Explorer, add clone clipboard contents in context menu
Also see my Run Powershell.
My attempt is to implement the following work flow
in GitHub or anyother repo server copy the link to a repo
in Windows File explorer right click a folder eg D:\Projects ...
0
votes
1
answer
493
views
Trying to run 'npm install windows-registry'
Trying to install the windows-registry module. Installing windows-registry requires python v2.7 and Visual Studio build tools for node-gyp according to node-gyp documentation but when i run python ...
1
vote
1
answer
302
views
How to modify the Create New Text File command
I use the following registry import for a right-click context menu entry, NewTextFileAndOpen, (in Notepad).
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\Directory\...
0
votes
1
answer
879
views
Add reg key through Powershell
I'm trying to remove and add a reg key through PS and I end up getting an error. See below. I don't know why it's causing this error.
$path1 = 'HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\...
-1
votes
1
answer
393
views
Which of these methods can be used to block network access for a browser extension in MS Edge?
I procrastinate a lot, so I added this extension to my MS Edge browser. My problem is this has a less reviews and less users and this asks permission to run in background even when the browser is ...
0
votes
1
answer
177
views
How to uninstall msi with full UI?
I have created a msi installer with wix ToolSet v3.11
After I install that msi installer, when I try to uninstall, it uninstalls with only basic UI.
I want to show the dialog when uninstall.
I think ...
0
votes
1
answer
86
views
Import registry from here string
Is there any solution to add(import) values to the registry from here string.
$regString = @"
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\SystemFileAssociations\.ps1]
... blha blha ...
0
votes
1
answer
404
views
Services are not assigned to any node after docker stack deploy
I'm using docker swarm for a tiny setup (two nodes only).
I'm deploying stacks on them through docker stack deploy commands.
Today, after an update, something went wrong, here is what I see when I do ...
0
votes
1
answer
1k
views
Powershell Finding installed software by publisher
So I am trying to find installed software using the uninstall registry keys but want to only display software by certain publishers. In my array of publishers to look for I want to use wild cards. I ...
1
vote
1
answer
62
views
How can I assign the "Action=Allow" command after the "Delete Firewall Rule" command assigned to the right button?
There is a Context Menu that I have assigned to the right mouse button as Windows Firewall. And I am using the following code to delete a security rule.
Windows Registry Editor Version 5.00
[...