496 questions
0
votes
1
answer
69
views
Create a Context Menu item to Convert Selected Text String to Uppercase (or lowercase)
I want to figure out how to create a custom Context Menu item to convert a string of selected text to uppercase (or lowercase) using Regedit and Powershell.
I am interested in this being a non-program-...
0
votes
0
answers
28
views
Windows Explorer Shift+Right Click Commands for Python versions
I used to have scripts that would update the registry editor (regedit) to add multiple python versions so that when I shift+right click, I can select one and a command window linked to that python ...
0
votes
1
answer
97
views
Userinit autolaunch C# Windows 10
I tried this code to add my program to \HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon Userinit autolaunch in C# Windows 10. This is my code:
using Microsoft.Win32;
using ...
1
vote
1
answer
337
views
Deleting all subkeys in regedit with powershell
I want to delete all the subkeys of this path
HKEY_CURRENT_USER\Software\Microsoft\Workspaces\Feeds
Here I have {E3CA8511-C9A2-4B55-A008-E2823464A6C0} which needs to be deleted.
But I could have ...
0
votes
0
answers
130
views
.profile from Linux on Windows
I'm working on a project where I need to implement a login screen that appears immediately after entering the username, but before establishing any connection to the system. This behavior is similar ...
0
votes
0
answers
227
views
Retrieving the COM class factory for component with CLSID {00000000-0000-0000-0000-000000000000} failed due to the following error: 80040154
I have a simple PowerShell script as below
$excel = new-object -ComObject excel.application
$filePath = 'filename.xlsm'
$wb = $excel.workbooks.open($filePath)
$excel.Run('Macro')
$excel.quit()
Stop-...
0
votes
0
answers
22
views
How to change XAMPP Software installation date in Windows?
There is no XAMPP entry in regedit when trying to access
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall or
HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Windows\...
0
votes
0
answers
133
views
Extracting active users to a txt
im trying to extract the active users of my pc via registry keys,i check HKLM... and HKU... and then i compare them to check for the active users, but when i try to extract the data via out-file -...
3
votes
0
answers
163
views
Cannot force Print support app for every printer
In this link, it shows HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\PSA\Association path is used for overriding user's printer dialog for every(?) printer. But it also shows this photo:
...
0
votes
1
answer
2k
views
Add entries to Registry Editor
How do I add a custom key and a value type to the Registry Editor? For example, if I want to add Windows Mobility Center: "Computer\HKEY_CURRENT_USER\Software\Microsoft\MobilePC\AdaptableSettings&...
1
vote
1
answer
753
views
How to uninstall Chrome with PS script
I am writing a script that uninstall Chrome and install specific version of this. I want to keep short this code but Invoke-Expression or Invoke-Command not working properly because the uninstall ...
0
votes
1
answer
761
views
A problem during the installation or adding components to Visual studio 2022: Couldn't install Microsoft.VisualStudio.Community.Shared.Msi
I am trying to add MAUI environment to my existing installation of Visual studio 2022, however the installation using visual studio installer fails. This is the error I get in the logs:
Package '...
0
votes
1
answer
461
views
The type of the value object did not match the specified RegistryValuekind or the object could not properly converted Registry.SetValue c#
I am using Winforms on .NET 4.5, I try to set registry value.
This is my code:
Registry.SetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Multimedia\SystemProfile", &...
0
votes
1
answer
309
views
How to remove or edit 'Value Data Open Folder as Pycharm Community Edition Project'?
When you right-click (in general) inside any folder, one of the options is 'Open Folder as Pycharm Community Edition Project'. Actually, it helps a lot. But it just does not look good.
The size of ...
0
votes
0
answers
39
views
Set ip settings from cpp(Qt)
Its really hard going to code to save the ip settings(RegSetValueEx()) from cpp(By registry editing of WinCe).
Its issue about encoding of string(which I parse to BYTE* and if I use hardcoded string,...
0
votes
2
answers
206
views
Reading the installation date of the C# OS
With the C# Core 3.1 WinForms application, the first installation date of the operating system cannot be read through regedit. It gives different results than the date given by "SystemInfo" ...
0
votes
0
answers
84
views
Modify registry value during uninstalling MSI build in Windows
We have tried to modify the proxy value which is present in HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings during the uninstall process in windows machine (32-bit). We ...
1
vote
1
answer
498
views
How to create a program that can rename an exe in program files and rename a folder in Windows registry
I'm new in this stuff! As far as I know when you install a program, the installer creates a folder in C:\Program Files with the contents of the application, and a folder appears in the windows ...
0
votes
1
answer
270
views
Standard user running PS script automatically as admin
Some users are experiencing problems with their OneDrive therefore we need to change the D word in Regedit to 0.
Set-ItemProperty -Path "HKEY:\SOFTWARE\Policies\Microsoft\Windows\OneDrive" -...
0
votes
0
answers
816
views
Disable Gestures through registry
On windows, I want to disabe gestures through Settings->touchpad->three-finger/four-finger gestures works immediately.
I noticed that when setting changed, registry value changed on the same ...
0
votes
1
answer
1k
views
Change destination for ms teams link
I want to change app for opening ms teams link. I think that command for opening store to the register, but if I change command to my app and restart PC, I see in register my command, but if I open ms ...
0
votes
1
answer
1k
views
Automate Removing "Flip To Boot" on Lenovo 82H8
Background: I have a set of Lenovo 82H8 laptops that have a pre-enabled feature called "Flip to Boot". Essentially this feature automatically turns on the computer when the lid is opened.
...
1
vote
2
answers
1k
views
Can't Enable QueryBuilder for Outlook 2019
I've followed the instruction from here to enable QueryBuilder in Outlook 2019.
In RegEdit I didn't found the "Outlook key" in that path, but I created it anyway, together with the "...
0
votes
1
answer
362
views
Getting the time of USB connection
When someone is connecting a USB device into a computer, the computer writes its properties into the registry under the ENUM\USB Hive.
I know that in order to get the time of connection i can just ...
0
votes
1
answer
736
views
Is there a registry key I can add to an installed service to make it appear in Services.msc
Is there a registry key I can add to the registry of an installed service that is currently "hidden" from Services.msc for whatever reason to make it display in Services.msc
I wanted to make ...