Skip to content

Instantly share code, notes, and snippets.

@Dark4Codrutz
Dark4Codrutz / intel-FeatureTestControl.txt
Last active September 16, 2022 09:20
some thoughts on the bits making the featuretestcontrol
from driver inf there is the description, but not in (any?) order:
CxSR, FBC, BLC, DPST, DRRS, RC6, BLC DDI, Turbo, PSR, DFPS, ADT
where each one is rapresented by a bit in the registry, where u find it as hex DWORD.
For example MS Surface driver (9240) vs Intel generic driver (8200) :
1001 0010 0100 0000 Enable CxSR, FBC, BLC, DPST, DRRS, RC6, BLC DDI, Turbo, PSR, DFPS, ADT
1000 0010 0000 0000
@Dark4Codrutz
Dark4Codrutz / PowerSerttings.Unhide.reg
Created February 6, 2019 16:58
Reveals the most used hidden power settings in Windows 10. The value Attributes=2 means reveal, where value of 1 or 0 means hide from Power Options. Good Tweaking!
Windows Registry Editor Version 5.00
;Reveals the most used hidden power settings in Windows 10. The value Attributes=2 means reveal, where value of 1 or 0 means hide from Power Options.
;Good Tweaking!
;WLAN
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\19cbb8fa-5279-450e-9fac-8a3d5fedd0c1\12bbebe6-58d6-4636-95bb-3217ef867c1a]
"Attributes"=dword:00000002
;Power Scheme Personality
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\245d8541-3943-4422-b025-13a784f679b7]
@Dark4Codrutz
Dark4Codrutz / enable-all-advanced-power-settings.ps1
Created February 1, 2019 07:18 — forked from raspi/enable-all-advanced-power-settings.ps1
Enable all advanced power settings in Windows.
# List all possible power config GUIDs in Windows
# Run: this-script.ps1 | Out-File powercfg.ps1
# Then edit and run powercfg.ps1
# (c) Pekka "raspi" Järvinen 2017
$powerSettingTable = Get-WmiObject -Namespace root\cimv2\power -Class Win32_PowerSetting
$powerSettingInSubgroubTable = Get-WmiObject -Namespace root\cimv2\power -Class Win32_PowerSettingInSubgroup
Get-WmiObject -Namespace root\cimv2\power -Class Win32_PowerSettingCapabilities | ForEach-Object {
$tmp = $_.ManagedElement