Skip to main content

All Questions

41 questions with no upvoted or accepted answers
5 votes
0 answers
9k views

PowerShell / Registry: Remove the "Activate Windows" watermark for Windows Sandbox

The "Activate Windows" watermark is used by Microsoft to track unlicensed copies of Windows; this is important for them and I have no issue with that. However, for Windows Sandbox, we are ...
YorSubs's user avatar
  • 959
3 votes
0 answers
996 views

No compatibility tab in exe properties

The compatibility tab is missing in some programs. For example: nslookup.exe , powershell.exe . If I make a copy of this file nearby, then there will be a compatibility tab in it. This means that ...
Danny's user avatar
  • 131
3 votes
1 answer
4k views

Forcing lock screen image not working

I want to force the same lock screen image on every user. I selected the image I want with group policy Local Computer Policy > Computer Configuration > Administrative Templates > Control ...
VidathD's user avatar
  • 129
2 votes
0 answers
159 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 ...
rcp's user avatar
  • 21
2 votes
0 answers
4k views

PowerShell / Registry, change to Best Performance, and activate the change

The following is listed on various sites to switch to Best Performance mode (under This Computer Properties > Advanced system settings > Performance). On running this nothing happens. I can see ...
YorSubs's user avatar
  • 959
2 votes
1 answer
2k views

Enable Windows Defender Tamper Protection using PowerShell or C#

I understand completely that it's not possible to disable tamper protection programmatically, as this would defeat the point. Though, seeing as it's possible with an InTune or Endpoint license, then ...
Arbiter's user avatar
  • 183
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 "...
Patrick Keane's user avatar
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 ...
0xC0000022L's user avatar
  • 7,213
1 vote
2 answers
2k views

RunOnce key which starts elevated .ps1 file

so for few days I'm working on the automation script in powershell which starts elevated -> changes pc name -> creates the RunOnce reg file with this line as Value (program changes it ...
Marek's user avatar
  • 11
1 vote
0 answers
554 views

Startup script can't read registry

I am trying to run a (PoSh) script as SYSTEM (i.e. at startup, via SCCM or otherwise) that needs to read some protected registry keys, and it can't see them. A normal user doesn't have permission to ...
Teknowledgist's user avatar
1 vote
1 answer
2k views

Export SSL & TLS Registry Keys to CSV

I'm currently looking to find out all SSL and TLS Registry value information on the system. I need help writing a script for powershell to look at a list of hosts that are on a csv/txt file then ...
chandu's user avatar
  • 53
1 vote
0 answers
438 views

Add file mime type in HKEY_CLASSES_ROOT with script

I have a few Win8 VMs that don't include .xlsx in HKEY_CLASSES_ROOT, so it's not recognized by the OS, and to add it manually for each VM would be inconvenient. Is it possible to add such type via a ...
Bat Man's user avatar
  • 111
1 vote
0 answers
782 views

How to update Computer\HKEY_CLASSES_ROOT\CLID\{ID} Value

does anyone know how to change/ update Computer\HKEY_CLASSES_ROOT\CLID{ID} value>? I use the following PowerShell binding to Group Policy for updating certain registry key in HKCR when user login ...
Wei Painter's user avatar
1 vote
1 answer
1k views

How to set default app per filetype programmatically?

I want to get independent of installed apps and share most of my apps as portable versions in a cloud drive. So my idea is whenever I sit on a new device I just sync my cloud drive and start some kind ...
Brettetete's user avatar
  • 2,176
1 vote
0 answers
110 views

How do I update my my accessibility registry without needing a reboot?

I am currently modifying some values in the Mousekeys registry under HKCU:\Control Panel\Accessibility using PowerShell. How can I have my changes take effect without a necessary reboot? If I go ...
Johnrad's user avatar
  • 111

15 30 50 per page