Poolsharkzz Posted October 27, 2008 Share Posted October 27, 2008 Could you folks look more into this? Is there something CCleaner cleaner can do about this? Sorry for being a pain, poolsharkzz ***** Here's one of the more amazing (and stupid) registry entries in XP: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\AppCompatibility Look at the AppCompatCache Value. It's more than 150K of garbage! And what's more, it is loaded into kernel memory and I have yet to find where it is used! XP will not boot if the AppCompatCache value is not there. So here's what you do. Delete the value, then re-create it with a one-byte binary entry of 0. XP will now boot fine and everything will be as before...except you have removed 50K from the registry and from kernel memory! If you make the same change in all the ControlSet00x branches, you can remove 450K+ from both the registry and system memory. "Never chalk your stick before miscueing" XP Home SP3+ Intel Core 2 Duo Processor - E7300 @ 2.66 GHz 2.0 GB RAM (1024 MB x 2) DDR2 PC2-6400 (800 MHz) Intel Graphics Media Accelerator 3100 Intel G33/G31 Express Chipset Adapter 250 GB HD (master) / 250 GB HD (external) Link to comment Share on other sites More sharing options...
mike20021969 Posted April 5, 2019 Share Posted April 5, 2019 On 27/10/2008 at 23:05, Poolsharkzz said: Delete the value, then re-create it with a one-byte binary entry of 0. XP will now boot fine and everything will be as before...except you have removed 50K from the registry and from kernel memory! If you make the same change in all the ControlSet00x branches, you can remove 450K+ from both the registry and system memory. Sorry for dragging this old thread back up, but the method doesn't work. The new value simply gets re-written with all the previous data (probably what was stored in memory from previous boot up). Question: So does anyone know if it's possible to clear the data in the AppCompatCache value and "start from scratch" as it contains lots of "history" of previous executables. Link to comment Share on other sites More sharing options...
Moderators Andavari Posted April 5, 2019 Moderators Share Posted April 5, 2019 Look in the community winapp2.ini file (look for the URL link at the bottom of the first post on the very first page). Then in winapp2.ini either loaded in your web browser or the file you've downloaded look for the cleaner in it named exactly this (use search function): [Session Manager *] It doesn't clear it out completely only selected parts are cleaned, and also some physical files on the hard disk. Link to comment Share on other sites More sharing options...
mike20021969 Posted April 6, 2019 Share Posted April 6, 2019 [Session Manager *] LangSecRef=3025 Detect=HKLM\Software\Microsoft\Windows Default=False FileKey1=%WinDir%\AppCompat\Programs|*.txt;*.xml FileKey2=%WinDir%\AppCompat\Programs\Install|*.txt;*.xml RegKey1=HKLM\System\CurrentControlSet\Control\Session Manager\AppCompatCache|AppCompatCache RegKey2=HKLM\System\CurrentControlSet\Control\Session Manager\AppCompatCache|CacheMainSdb RegKey3=HKLM\System\CurrentControlSet\Control\Session Manager\AppCompatCache|SdbTime HKLM\System\CurrentControlSet\Control\Session Manager\AppCompatCache doesn't exist on Windows XP. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\AppCompatibility is the value under which the AppCompatCache key is stored (duplicated also at HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\AppCompatibility & HKEY_LOCAL_MACHINE\SYSTEM\ControlSet003\Control\Session Manager\AppCompatibility). Link to comment Share on other sites More sharing options...
Moderators Andavari Posted April 6, 2019 Moderators Share Posted April 6, 2019 Who knows for sure which exact version of Windows its intended for. On my WinXP system it's a value listed as AppCompatCache housed inside three areas, all the same exact size too when exported: HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\Session Manager\AppCompatibility HKEY_LOCAL_MACHINE\SYSTEM\ControlSet002\Control\Session Manager\AppCompatibility HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\AppCompatibility I don't know if it's safe to clean though. Link to comment Share on other sites More sharing options...
mike20021969 Posted April 6, 2019 Share Posted April 6, 2019 Still not sure if it's possible to completely clean that Key then. Thanks anyway. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now