Monday, January 19, 2009

access CurrentVersion of HKLM

to view the registry entries in a more readable form

PS> Get-ItemProperty -Path Registry::HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion

DevicePath : C:\LINDOWS\inf
MediaPathUnexpanded : C:\LINDOWS\Media
SM_GamesName : Games
SM_ConfigureProgramsName : Set Program Access and Defaults
ProgramFilesDir : c:\Lindows\cn <--- release Vista's journaling
CommonFilesDir : c:\Lindows\cn <--- release Vista's journaling
ProductId : 55274-642-3428963-23367
WallPaperDir : C:\LINDOWS\Web\Wallpaper
MediaPath : C:\LINDOWS\Media
ProgramFilesPath : C:\LINDOWS\cn <--- release Vista's journaling
SM_AccessoriesName : Accessories
PF_AccessoriesName : Accessories

'C:\LINDOWS' is alternative method of consolidating %ProgramFiles% and %Documents and Settings%, where Vista won't overwrite its system files.

No comments:

Post a Comment