tiny11builder icon indicating copy to clipboard operation
tiny11builder copied to clipboard

Fixed problem about different name in deleting some services.

Open altship opened this issue 1 year ago • 4 comments

  1. Deleting registry about "ContentDeliveryManager\SuggestedApps": This registry entry seems to disappeared in latest 23H2 iso and 24H2 iso.
  2. Inconsistent registry entry name between 23H2 and 24H2 in some services which will cause deleting entries error repaired: Problem is mentioned in issues: #281 , tested in new 24H2 chinese ver, and according to 23h2, the entry name should be the same among different language version. The abnormal large created iso file still exists.
  3. Useless registry unload deleted: These entries haven't loaded into registry at all, and they won't appear in registry automatically. Keep these "unloading" will not cause program goes wrong but will generate annoying errors.

altship avatar Nov 29 '24 03:11 altship

Maybe you should keep the deletion of the old keys for backwards compatibility

adrijanh9 avatar Nov 30 '24 12:11 adrijanh9

Maybe you should keep the deletion of the old keys for backwards compatibility

Thank you for your advice! I will look into to do a branch for backward compatibilities.

altship avatar Dec 04 '24 09:12 altship

What is the application name? Write-Host 'Deleting Program Data Updater' reg delete "HKEY_LOCAL_MACHINE\zSOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks{E292525C-72F1-482C-8F35-C513FAA98DAE}" /f | Out-Null

I'm trying to do something dinamic, like the code bellow, and I'm missing that application... Only a teste: #Base path to the task manager" $basePath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks" #Get all sub-keys (GUIDs inside the path. $subKeys = Get-ChildItem -Path $basePath

foreach ($subKey in $subKeys) { $taskPath = Get-ItemProperty -Path $subKey.PSPath | Select-Object -ExpandProperty Path -ErrorAction SilentlyContinue

switch -Wildcard ($taskPath) {
    "*Microsoft Compatibility Appraiser*" {
        Write-Output "$taskPath"
        Write-Output "GUID encontrado: $basePath\$($subKey.PSChildName)"
		#reg delete "$basePath\$($subKey.PSChildName)" /f
		break
    }
    "*Customer Experience Improvement Program*" {
        Write-Output "$taskPath"
        Write-Output "GUID encontrado: $basePath\$($subKey.PSChildName)"
		#reg delete "$basePath\$($subKey.PSChildName)" /f
		break
    }
    "*Program Data Updater*" {
        Write-Output "$taskPath"
        Write-Output "GUID encontrado: $basePath\$($subKey.PSChildName)"
		#reg delete "$basePath\$($subKey.PSChildName)" /f
		break
    }
    "*Autochk\Proxy*" {
        Write-Output "$taskPath"
        Write-Output "GUID encontrado: $basePath\$($subKey.PSChildName)"
		#reg delete "$basePath\$($subKey.PSChildName)" /f
		break
    }
    "*QueueReporting*" {
        Write-Output "$taskPath"
        Write-Output "GUID encontrado: $basePath\$($subKey.PSChildName)"
		#reg delete "$basePath\$($subKey.PSChildName)" /f
		break
    }			
}

}

cmgp3 avatar Jan 13 '25 23:01 cmgp3

What is the application name? Write-Host 'Deleting Program Data Updater' reg delete "HKEY_LOCAL_MACHINE\zSOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks{E292525C-72F1-482C-8F35-C513FAA98DAE}" /f | Out-Null

I'm trying to do something dinamic, like the code bellow, and I'm missing that application... Only a teste: #Base path to the task manager" $basePath = "HKLM:\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Schedule\TaskCache\Tasks" #Get all sub-keys (GUIDs inside the path. $subKeys = Get-ChildItem -Path $basePath

foreach ($subKey in $subKeys) { $taskPath = Get-ItemProperty -Path $subKey.PSPath | Select-Object -ExpandProperty Path -ErrorAction SilentlyContinue

switch -Wildcard ($taskPath) {
    "*Microsoft Compatibility Appraiser*" {
        Write-Output "$taskPath"
        Write-Output "GUID encontrado: $basePath\$($subKey.PSChildName)"
		#reg delete "$basePath\$($subKey.PSChildName)" /f
		break
    }
    "*Customer Experience Improvement Program*" {
        Write-Output "$taskPath"
        Write-Output "GUID encontrado: $basePath\$($subKey.PSChildName)"
		#reg delete "$basePath\$($subKey.PSChildName)" /f
		break
    }
    "*Program Data Updater*" {
        Write-Output "$taskPath"
        Write-Output "GUID encontrado: $basePath\$($subKey.PSChildName)"
		#reg delete "$basePath\$($subKey.PSChildName)" /f
		break
    }
    "*Autochk\Proxy*" {
        Write-Output "$taskPath"
        Write-Output "GUID encontrado: $basePath\$($subKey.PSChildName)"
		#reg delete "$basePath\$($subKey.PSChildName)" /f
		break
    }
    "*QueueReporting*" {
        Write-Output "$taskPath"
        Write-Output "GUID encontrado: $basePath\$($subKey.PSChildName)"
		#reg delete "$basePath\$($subKey.PSChildName)" /f
		break
    }			
}

}

Sorry about that I didn't know what is this application's name too. The thing I do when I dug what application name is that load the registry of the windows iso into system and search the value like: {E292525C-72F1-482C-8F35-C513FAA98DAE}. You will have this entry and its information, then you can search for the same entry for different value accordingly. If you are Windows 11 23H2, use {0671EB05-7D95-4153-A32B-1426B9FE61DB} instead. What worth mentioning is that the author's comment is not always strictly stick with the registry description and I have not change any of the author's comments.

altship avatar Jan 27 '25 13:01 altship