7,388 questions
0
votes
1
answer
60
views
Per user installation: get software version per user
I have a Visual Studio setup project together with a C# bootstrapper. The app usually was installed system-wide and requires admin permissions to be started. The new version uninstalls the old version ...
0
votes
0
answers
59
views
Windows API for making an app autostart after the login
I have built a app and i want it to auto start after loging in Windows
I have tried puting a symbolic link in the windows startup folder but app dosen't autostart.
I also have tried using Windows ...
3
votes
1
answer
149
views
How to extract data from DWORD in Windows Registry
I'm a bit out of my depth here but wondering if anyone can guide me as I want to improve with PS ... I'm writing some code to identify which monitor was last modified, long story short I need to ...
2
votes
1
answer
138
views
Change drive in multiple shares inside windows registry
I need to change the drive of the shares inside the registry in the branch:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares
The word is a REG_MULTI_SZ, and I need to modify ...
1
vote
1
answer
205
views
PowerShell script to disable RDP session timeout for specific user not working - registry changes not taking effect
I have a Windows Server running in Azure where users connect via RDP. I've configured automatic logoff for disconnected sessions after 30 minutes using Group Policy:
User Configuration - ...
0
votes
0
answers
38
views
WiX skip uninstall registry set to 1 and during upgrade uninstall all unnecessary stuff
I have a problem during my WiX upgrade - after normal installation of my program for example in version 1.0 I am installing all necessary stuff like RabbitMQ, Erlang and so on but if I want to upgrade ...
2
votes
1
answer
104
views
Use PowerShell to iterate Windows Registry for a Network Profile Name and Optionally Delete it
After using Nord VPN (over a year's time) and noticing that it created nearly 700 variations of Network Profiles, I wanted to purge them from my Windows system.
An EXAMPLE of Registry Keys to target ...
1
vote
2
answers
85
views
Notepad++ start every edited file from specific line
I have a really lot of files where I have to modify them manually.
Pattern for modify is: always start's from line ~450 where I have to add some random data.
For now I have to press "CTRL + G&...
0
votes
1
answer
75
views
Why does file not exist after calling TRegistry::SaveKey() using C++Builder?
Using C++Builder 12 Athens Community Edition under Windows 10.
My S: drive is where I keep my source code. FOE is the name of the current program I'm developing to watch file associations in the ...
0
votes
0
answers
70
views
Azure Devops self hosted UsePythonVersion@0 errors
I have a task
- task: UsePythonVersion@0
inputs:
versionSpec: '3.13.x'
addToPath: true
architecture: 'x64'
displayName: 'Use Python 3.13'
This task WORKS(!) on five of my ...
1
vote
1
answer
83
views
Why does setting a value on a opened (vs created) registry key throw "Acess is denied"?
Open a registry key to write to using create:
pub fn main() -> Result<(), windows::core::Error> {
let auto_start = windows_registry::CURRENT_USER.create("SOFTWARE\\Microsoft\\Windows\...
1
vote
2
answers
183
views
Powershell script to search and delete a registry key that includes commas in the key name
I am trying to delete printers that were deployed through an old GPO. the GPO in question and the server that hosted the printers both no longer exist but the registry entries on the client computers ...
1
vote
0
answers
39
views
We changed the installer path by mistake and now the fixed installed applicaiton still runs with a short name. How to fix the registry paths?
The original installer version was c:\Program Files(x86)\Company Name Ltd\myserver.exe
This ran in task manager myserver.exe with the above path.
By mistake we changed it to c:\Program Files(x86)\...
0
votes
0
answers
56
views
Allow Visual Studio 2019 to access registry without running as Administrator?
I develop some Outlook AddIn in VB.NET in Visual Studio 2019 (needed for backward compatibility) and therefore, the IDE is writing and modifying Registry keys in HKEY_CLASSES_ROOT, HKEY_LOCAL_MACHINE ...
0
votes
1
answer
281
views
How can links with microsoft-edge: protocol be opened in Edge without a popup question?
I created an installer that creates a link for my webapp. Since the webapp must be opened in Edge, the link starts with microsoft-edge:MyAppURL and this works.
On some systems with Windows 10, when ...
0
votes
0
answers
68
views
RunOnce entry execution order is "indeterminate"
Is it officially documented anywhere that the order of entries in the RunOnce keys are not based on the timestamp they were created?
I have seen documentation that states the run order is ...
2
votes
1
answer
278
views
Intune Win32 app to create HKLM registry entry not working
I am beating my head against a wall trying to get this to work.
I need to create a registry entry to hide a local user account from the Windows 11 welcome screen. We want to be able to see all AzureAD ...
0
votes
1
answer
33
views
Manipulate %1 parameter in Registry Protocol Handler
In a web application we have links that have to be opened in another application. The idea now is to register a specific protocol handler to catch these links and send them to the target application.
...
0
votes
0
answers
65
views
How to skip/automate the Onboarding-Wizard after installing Jfrog Container Registry on a self-hosted Debian?
I have installed the "Jfrog Container Registry" (based on JFrog's artifactory) which I am installing on a self-hosted debian 12 server.
My install and configuration is fully automated, ...
1
vote
0
answers
390
views
Using SCCM to force a reboot via powershell doesn't show the countdown
I'm trying to trigger the SCCM reboot countdown timer on a Windows machine using PowerShell. The countdown window appears as expected, but when the timer reaches 0, the system does not reboot. Instead,...
0
votes
0
answers
179
views
Which parameters should I use to configure a GitLab Registry "gitlab_rails['registry*" or "registry['*"
I'm trying to configure a GitLab on premise with an internal GitLab registry.
I have to choose between gitlab_rails['registry* parameters :
$ sudo grep "gitlab_rails.*'registry" /etc/gitlab/...
0
votes
0
answers
63
views
Why is Excel VBA code crashing in other PC with a custom C# DLL?
My point is to share/embbed a C# DLL in Excel VBA in other PC's.
The problem is that I don't have admin priveleges in other PC and Visual Studio is not installed aswell.
This is my reg file that than ...
0
votes
0
answers
216
views
HKEY_CLASSES_ROOT\Directory\Background\shell context menu handlers not working for IContextMenu::QueryContextMenu
I'm trying to get the menu that appears when right-clicking on an empty area inside a folder (background menu) using IContextMenu::QueryContextMenu. I can get the menu, all the items work fine except ...
2
votes
0
answers
78
views
Shell command placeholders in registry [closed]
In the registry, for example in HKEY_CLASSES_ROOT\Directory\Background\shell, we have a set of registered handlers for the context menu.
These handlers are commands that should be executed when the ...
1
vote
1
answer
145
views
Native messaging On edge Browser
{
"manifest_version": 3,
"name": "Mac Address",
"version": "1.0",
"description": "Mac Address",
"permissions": ...