Various tweaks related to the Windows Registry
Last active
October 3, 2024 14:33
-
-
Save hoang-himself/996b22c7ec2bb07ab3427de1941d0152 to your computer and use it in GitHub Desktop.
Registry tweaks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires -PSEdition Core -RunAsAdministrator | |
New-Item -ItemType 'ExpandString' -Path 'HKCU:\Software\Mozilla\NativeMessagingHosts\com.8bit.bitwarden' ` | |
-Value '%APPDATA%\Bitwarden\browsers\firefox.json' -Force | |
New-Item -ItemType 'ExpandString' -Path 'HKCU:\Software\Google\Chrome\NativeMessagingHosts\com.8bit.bitwarden' ` | |
-Value '%APPDATA%\Bitwarden\browsers\chrome.json' -Force | |
New-Item -ItemType 'ExpandString' -Path 'HKCU:\Software\Microsoft\Edge\NativeMessagingHosts\com.8bit.bitwarden' ` | |
-Value '%APPDATA%\Bitwarden\browsers\chrome.json' -Force | |
# Additional configuration is required in Bitwarden Desktop | |
# 1. Disable browser integration | |
# 2. Completely exit Bitwarden | |
# 3. Start Bitwarden | |
# 4. Enable browser integration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Requires -PSEdition Core -RunAsAdministrator | |
# https://learn.microsoft.com/en-us/troubleshoot/windows-server/performance/enable-verbose-startup-shutdown-logon-logoff-status-messages | |
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System' -Force ` | |
-PropertyType 'DWord' -Name 'DisableStatusMessages' -Value 0 | |
# Optional | |
New-ItemProperty -Path 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System' -Force ` | |
-PropertyType 'DWord' -Name 'VerboseStatus' -Value 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment