All Questions
Tagged with windows-registry powershell
111
questions
0
votes
0
answers
25
views
Explore Regedit.exe to the specified address from the CommandLine [duplicate]
Generally, when we want to navigate to one of the registry addresses, we open regedit.exe then copy-paste the address into address bar, then press enter.
For example Computer\HKEY_CURRENT_USER\Console
...
0
votes
0
answers
24
views
Starting a program from the CLI with some File Properties Options activated
Start a program from the CLI with some File Properties Options activated
I want to start from the CLI automatically a graphical application with a File properties flag setted.
High DPI scalling ...
0
votes
1
answer
166
views
How to Remove Preferred Languages from Microsoft Edge using PowerShell
I am trying to manage the preferred languages in my Microsoft Edge browser on Windows using PowerShell. Specifically, I want to remove certain languages that appear in the "edge://settings/...
0
votes
0
answers
52
views
How can I block these Edge and Chrome settings?
https://imgur.com/a/fVPo4DV
It says: "Your Privacy is important for Microsoft Edge... bla bla bla... " I can either click on Accept or Deny All. This always pops up when Edge is opened for ...
2
votes
0
answers
152
views
How to add custom option in the right click menu (Windows 11)
I want to add an option in the Context Menu when right clicking on any file (Windows 11).
I already changed the menu appearance so it looks like Windows 10's menu, and I already added an option in ...
0
votes
1
answer
298
views
Windows Registry Shows Windows 10 Pro Despite Running Windows 11 Pro
My laptop is running on Windows 11 Pro, and the system settings indeed confirm that it's running Windows 11 Pro. However, when I use PowerShell to query the registry for the Windows version powershell ...
0
votes
1
answer
479
views
How Can I Change File Explorer's Default View to "Details" and Group by Type Using CMD/Batch or PowerShell?
I'm looking to customize the default settings of File Explorer on my Windows 10 system. Specifically, I want to set the default view mode to "Details" and have files always grouped by "...
2
votes
2
answers
4k
views
Change ownership of Registry Key using script
I'm attempting to programmatically change the owner of a registry key but I can't get it to work using a few different methods in CMD or PowerShell. Is this even possible?
The key is owned by "...
0
votes
0
answers
78
views
Issues communicating PoKeys57CNC and Mach4 running on Windows 11 Home PC in Custom Shel Kiosk Mode
Some background Information
I am using a Windows 11 Home PC to control a plasma cutting machine. The windows 11 machine uses Mach4 as the interface for controlling the plasma cutter and a PoKeys57CNC ...
0
votes
2
answers
1k
views
Next desktop background by cmd, Powershell or batch?
I have set slideshow as my Windows 10 background. I can right click on the desktop and select Next desktop background to change it to the next image. Is there any way to do this via cmd or powershell ...
1
vote
1
answer
982
views
How to manually add a program to the list of windows optional features so that it can be turned on or off?
The C:\Windows\System32\OptionalFeatures.exe program allows to Turn windows features on or off by checking or clearing the checkboxes from the shown list.
For educational/learning purposes, how can a ...
2
votes
1
answer
821
views
PowerShell, properly association .jar files with java.exe or javaw.exe
Using the answer from this question Copy Java installation to another system I can manually install Java (without running the installer) and port it to other systems. This works well.
However, I still ...
1
vote
1
answer
1k
views
'Get-Service' fails to list *all* services due to one causing an issue
As a "normal" UAC-elevated user (i.e. member of the BUILTIN\Administrators alias, but not .\Administrator), how can I list all services using Get-Service and sidestep the issue described ...
0
votes
0
answers
2k
views
How do I set the owner of a registry key using powershell?
I'm trying to modify the permissions of a registry key, however before I can do that I need to change the owner of that key.
Is it possible to do that using a powershell script? I've seen that you can ...
0
votes
0
answers
275
views
Assign registry key last write/modified time recursively using PowerShell
One can view Windows Registry key's LastWriteTime by exporting key as TXT using Registry Editor:
Key Name: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Audio
Class Name: ...