Skip to content

Update-WPFTweaksServices#3880

Merged
ChrisTitusTech merged 3 commits intoChrisTitusTech:mainfrom
GabiNun:Update-WPFTweaksServices
Jan 8, 2026
Merged

Update-WPFTweaksServices#3880
ChrisTitusTech merged 3 commits intoChrisTitusTech:mainfrom
GabiNun:Update-WPFTweaksServices

Conversation

@GabiNun
Copy link
Contributor

@GabiNun GabiNun commented Jan 6, 2026

Fix some OriginalType'a in WPFTweaksServices (based on

$Services = (irm https://github.com/ChrisTitusTech/winutil/raw/main/config/tweaks.json).WPFTweaksServices.service
$SystemServices = Get-Service | Select-Object Name, StartType

$MismatchedServices = $Services | ForEach-Object {
    $Service = $_
    $SystemService = $SystemServices | Where-Object { $_.Name -eq $Service.Name }
    if ($SystemService -and $SystemService.StartType -ne $Service.OriginalType) {
        [PSCustomObject]@{
            Name          = $Service.Name
            OriginalType  = $Service.OriginalType
            CurrentType   = $SystemService.StartType
        }
    }
}

$MismatchedServices


# OriginalType is what service tweak reverts to and current type is what it should revert to based on a fresh install of windows 11 25H2
Name         OriginalType CurrentType
----         ------------ -----------
BthAvctpSvc  Automatic         Manual
InventorySvc Manual         Automatic
KeyIso       Automatic         Manual
Netlogon     Automatic         Manual
TermService  Automatic         Manual
VaultSvc     Automatic         Manual
WlanSvc      Automatic         Manual
camsvc       Manual         Automatic

Copy link
Owner

@ChrisTitusTech ChrisTitusTech left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The problem with this is the default types do change based on certain systems.

For example: If the system is domain joined when it is setup the NetLogon service is set to Automatic. I think we really shouldn't be touching these services and probably should remove them, specifically the WLanSvc and Netlogon as those I know should not be messed with as the defaults change from system to system.

@GabiNun
Copy link
Contributor Author

GabiNun commented Jan 7, 2026

The problem with this is the default types do change based on certain systems.

For example: If the system is domain joined when it is setup the NetLogon service is set to Automatic. I think we really shouldn't be touching these services and probably should remove them, specifically the WLanSvc and Netlogon as those I know should not be messed with as the defaults change from system to system.

okay than i removed those services from the list

@ChrisTitusTech ChrisTitusTech merged commit 2e4124b into ChrisTitusTech:main Jan 8, 2026
1 check passed
@GabiNun GabiNun deleted the Update-WPFTweaksServices branch January 8, 2026 21:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants