Skip to content

Commit

Permalink
better regedit
Browse files Browse the repository at this point in the history
  • Loading branch information
Pistonight committed Oct 23, 2024
1 parent 85b8047 commit adaf88a
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions src/windows/env.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@
Configure a minimal shell environment

## Old Context Menu
Save the following to a `.reg` file with `UTF16-LE` encoding and execute it
```regedit
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}]
@=""
[HKEY_CURRENT_USER\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32]
@=""
Bring back the old right-click context menu by default :)
```powershell
reg.exe add "HKCU\Software\Classes\CLSID\{86ca1aa0-34aa-4e8b-a509-50c905bae2a2}\InprocServer32" /f /ve
```
:::tip
Taking from Official source https://answers.microsoft.com/en-us/windows/forum/all/restore-old-right-click-context-menu-in-windows-11/a62e797c-eaf3-411b-aeec-e460e6e5a82a
:::

## Environment Variables
Set some environment variables that tools use
Expand Down

0 comments on commit adaf88a

Please sign in to comment.