Skip to content

Instantly share code, notes, and snippets.

View thecatontheceiling's full-sized avatar
💥

Lyssa thecatontheceiling

💥
  • random sewer
View GitHub Profile
# set the registry view to 32-bit
$regView = [Microsoft.Win32.RegistryView]::Registry32
# open the SOFTWARE\Microsoft key in the LocalMachine hive
$microsoft = [Microsoft.Win32.RegistryKey]::OpenBaseKey([Microsoft.Win32.RegistryHive]::LocalMachine, $regView).OpenSubKey('SOFTWARE\Microsoft', $true)
# open the EdgeUpdate\ClientState\{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062} key
$edgeClient = $microsoft.OpenSubKey('EdgeUpdate\ClientState\{56EB18F8-B008-4CBD-B6D2-8C97FE7E9062}', $true)
# check if the experiment_control_labels value exists and delete it if it does