Mekrel Posted February 18, 2005 Share Posted February 18, 2005 Hi,I was basically browsing around my docs and settings folder to see if any other files saved any good data which i could use to be restored via using the OEM dist folders.in C:\Documents and Settings\MekerZ\Application Data\Microsoft\Windows\ThemesI found a Custom.theme file,Now i know via Winnt.sif we can point to a .theme file(many thanks to greenmachine for his great tutorial) but i was looking at this:The file contained:; Copyright © Microsoft Corp. 1995-2001[Theme]DisplayName=My Current Theme; My Computer[CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}\DefaultIcon]DefaultValue=C:\WINDOWS\Explorer.exe,0; My Documents[CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}\DefaultIcon]DefaultValue=C:\WINDOWS\SYSTEM32\mydocs.dll,0; My Network Places[CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}\DefaultIcon]DefaultValue=C:\WINDOWS\system32\SHELL32.dll,17; Recycle Bin[CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\DefaultIcon]full=C:\WINDOWS\System32\shell32.dll,32empty=C:\WINDOWS\System32\shell32.dll,31[Control Panel\Colors]ActiveTitle=45 80 153Background=58 86 124Hilight=150 181 218HilightText=22 38 63TitleText=242 244 248Window=250 251 252WindowText=0 0 0Scrollbar=212 208 200InactiveTitle=124 131 179Menu=235 235 235WindowFrame=0 0 0MenuText=0 40 81ActiveBorder=212 208 200InactiveBorder=212 208 200AppWorkspace=128 128 128ButtonFace=235 235 235ButtonShadow=180 180 180GrayText=140 140 144ButtonText=0 0 0InactiveTitleText=226 238 248ButtonHilight=250 250 250ButtonDkShadow=150 150 150ButtonLight=242 242 242InfoText=0 40 81InfoWindow=230 236 248GradientActiveTitle=84 115 174GradientInactiveTitle=154 165 200ButtonAlternateFace=181 181 181HotTrackingColor=0 0 128MenuHilight=204 215 231MenuBar=235 235 235[Control Panel\Cursors]Arrow=Help=AppStarting=Wait=NWPen=No=SizeNS=SizeWE=Crosshair=IBeam=SizeNWSE=SizeNESW=SizeAll=UpArrow=DefaultValue=Windows defaultLink=[Control Panel\Desktop]Wallpaper=%WinDir%Web\Wallpaper\wolf.jpgTileWallpaper=0WallpaperStyle=2Pattern=ScreenSaveActive=0[Control Panel\Desktop\WindowMetrics][Metrics]IconMetrics=76 0 0 0 75 0 0 0 75 0 0 0 1 0 0 0 245 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 144 1 0 0 0 0 0 1 0 0 0 0 84 97 104 111 109 97 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 NonclientMetrics=84 1 0 0 1 0 0 0 15 0 0 0 15 0 0 0 18 0 0 0 20 0 0 0 244 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 144 1 0 0 0 0 0 1 0 0 0 0 84 97 104 111 109 97 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 16 0 0 0 16 0 0 0 244 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 144 1 0 0 1 0 0 1 0 0 0 0 84 97 104 111 109 97 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 18 0 0 0 19 0 0 0 245 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 144 1 0 0 0 0 0 1 0 0 0 0 84 97 104 111 109 97 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 245 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 144 1 0 0 0 0 0 1 0 0 0 0 84 97 104 111 109 97 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 245 255 255 255 0 0 0 0 0 0 0 0 0 0 0 0 144 1 0 0 0 0 0 1 0 0 0 0 84 97 104 111 109 97 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 [boot]SCRNSAVE.EXE=[MasterThemeSelector]MTSM=DABJDKTThemeColorBPP=4[VisualStyles]Path=%WinDir%resources\Themes\LunaVX\LunaVX.msstylesColorStyle=VXThinSize=LargeFonts[AppEvents\Schemes\Apps\.Default\.Default\.Current]DefaultValue=%WinDir%media\Windows XP Ding.wav[AppEvents\Schemes\Apps\.Default\AppGPFault\.Current]DefaultValue=[AppEvents\Schemes\Apps\.Default\Close\.Current]DefaultValue=[AppEvents\Schemes\Apps\.Default\DeviceConnect\.Current]DefaultValue=%WinDir%media\Windows XP Hardware Insert.wav[AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.Current]DefaultValue=%WinDir%media\Windows XP Hardware Remove.wav[AppEvents\Schemes\Apps\.Default\DeviceFail\.Current]DefaultValue=%WinDir%media\Windows XP Hardware Fail.wav[AppEvents\Schemes\Apps\.Default\LowBatteryAlarm\.Current]DefaultValue=%WinDir%media\Windows XP Battery Low.wav[AppEvents\Schemes\Apps\.Default\MailBeep\.Current]DefaultValue=%WinDir%media\Windows XP Notify.wav[AppEvents\Schemes\Apps\.Default\Maximize\.Current]DefaultValue=[AppEvents\Schemes\Apps\.Default\MenuCommand\.Current]DefaultValue=[AppEvents\Schemes\Apps\.Default\MenuPopup\.Current]DefaultValue=[AppEvents\Schemes\Apps\.Default\Minimize\.Current]DefaultValue=[AppEvents\Schemes\Apps\.Default\Open\.Current]DefaultValue=[AppEvents\Schemes\Apps\.Default\PrintComplete\.Current]DefaultValue=[AppEvents\Schemes\Apps\.Default\RestoreDown\.Current]DefaultValue=[AppEvents\Schemes\Apps\.Default\RestoreUp\.Current]DefaultValue=[AppEvents\Schemes\Apps\.Default\RingIn\.Current]DefaultValue=[AppEvents\Schemes\Apps\.Default\Ringout\.Current]DefaultValue=[AppEvents\Schemes\Apps\.Default\SystemAsterisk\.Current]DefaultValue=%WinDir%media\Windows XP Error.wav[AppEvents\Schemes\Apps\.Default\SystemExclamation\.Current]DefaultValue=%WinDir%media\Windows XP Exclamation.wav[AppEvents\Schemes\Apps\.Default\SystemExit\.Current]DefaultValue=%WinDir%media\Windows XP Shutdown.wav[AppEvents\Schemes\Apps\.Default\SystemHand\.Current]DefaultValue=%WinDir%media\Windows XP Critical Stop.wav[AppEvents\Schemes\Apps\.Default\SystemNotification\.Current]DefaultValue=%WinDir%media\Windows XP Balloon.wav[AppEvents\Schemes\Apps\.Default\SystemQuestion\.Current]DefaultValue=[AppEvents\Schemes\Apps\.Default\SystemStart\.Current]DefaultValue=%WinDir%media\Windows XP Startup.wav[AppEvents\Schemes\Apps\.Default\SystemStartMenu\.Current]DefaultValue=[AppEvents\Schemes\Apps\.Default\WindowsLogoff\.Current]DefaultValue=%WinDir%media\Windows XP Logoff Sound.wav[AppEvents\Schemes\Apps\.Default\WindowsLogon\.Current]DefaultValue=%WinDir%media\Windows XP Logon Sound.wav[AppEvents\Schemes\Apps\Explorer\EmptyRecycleBin\.Current]DefaultValue=%WinDir%media\Windows XP Recycle.wav[AppEvents\Schemes\Apps\Explorer\Navigating\.Current]DefaultValue=%WinDir%media\Windows XP Start.wavif you double click this, it opens the desktop properties and as you can see says"My Current Settings".Now as long as the file points to the .msstyles files (which it does) im thinking cant we shove this file using OEM folders that it could be an alternative to using winnt.sif? As windows reads and edits this file each time you make a change?Sorry if im barking up the wrong tree. Link to comment Share on other sites More sharing options...
alkmie Posted February 18, 2005 Share Posted February 18, 2005 i was using the registry for themes like so(this are kinda raw exports some keys may not even be need):wallpapersettings[HKEY_CURRENT_USER\Control Panel\Desktop]"ActiveWndTrkTimeout"=dword:00000000"AutoEndTasks"="0""CaretWidth"=dword:00000001"CoolSwitch"="1""CoolSwitchColumns"="7""CoolSwitchRows"="3""CursorBlinkRate"="530""DragFullWindows"="1""DragHeight"="4""DragWidth"="4""FontSmoothing"="2""FontSmoothingOrientation"=dword:00000001"FontSmoothingType"=dword:00000001"ForegroundFlashCount"=dword:00000003"ForegroundLockTimeout"=dword:00000000"GridGranularity"="0""HungAppTimeout"="5000""LowPowerActive"="0""LowPowerTimeOut"="0""MenuShowDelay"="2""PaintDesktopVersion"=dword:00000000"PowerOffActive"="0""PowerOffTimeOut"="0""ScreenSaverIsSecure"="0""ScreenSaveTimeOut"="599940""ScreenSaveActive"="1""SCRNSAVE.EXE"="C:\\WINDOWS\\system32\\logon.scr""TileWallpaper"="0""UserPreferencesMask"=hex:9e,3e,07,80"WaitToKillAppTimeout"="20000""Wallpaper"="C:\\Documents and Settings\\Main\\Local Settings\\Application Data\\Microsoft\\Wallpaper1.bmp""WallpaperStyle"="0""OriginalWallpaper"="C:\\Documents and Settings\\Main\\Local Settings\\Application Data\\Microsoft\\Wallpaper1.bmp""WheelScrollLines"="3""ConvertedWallpaper"="C:\\Documents and Settings\\All Users\\Documents\\My Pictures\\216_59677.jpg""ConvertedWallpaper Last WriteTime"=hex:5a,06,12,ed,1f,47,c4,01"NoAutoReturnToWelcome"="1""Pattern Upgrade"="TRUE""LowLevelHooksTimeout"=dword:00001388;black background[HKEY_CURRENT_USER\Control Panel\Colors]"Background"="225 225 225" heres a lil snipt that changes the cmd ;Cmd Settings[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Command Processor]"AutoRun"="""CompletionChar"=dword:00000009"DefaultColor"=dword:00000001"EnableExtensions"=dword:00000001"PathCompletionChar"=dword:00000009"ScreenColors"=dword:00000008[HKEY_USERS\S-1-5-21-1343024091-854245398-682003330-1003\Console]"ColorTable00"=dword:00000000"ColorTable01"=dword:00800000"ColorTable02"=dword:00008000"ColorTable03"=dword:00808000"ColorTable04"=dword:00000080"ColorTable05"=dword:00800080"ColorTable06"=dword:00008080"ColorTable07"=dword:00c0c0c0"ColorTable08"=dword:00808080"ColorTable09"=dword:00ff0000"ColorTable10"=dword:0000ff00"ColorTable11"=dword:00ffff00"ColorTable12"=dword:000000ff"ColorTable13"=dword:00ff00ff"ColorTable14"=dword:0000ffff"ColorTable15"=dword:00ffffff"CursorSize"=dword:00000019"FaceName"="""FontFamily"=dword:00000000"FontSize"=dword:00000000"FontWeight"=dword:00000000"FullScreen"=dword:00000000"HistoryBufferSize"=dword:00000032"InsertMode"=dword:00000001"LoadConIme"=dword:00000001"NumberOfHistoryBuffers"=dword:00000004"PopupColors"=dword:000000f5"QuickEdit"=dword:00000000"ScreenBufferSize"=dword:012c0050"ScreenColors"=dword:00000007"WindowSize"=dword:00190050"CurrentPage"=dword:00000003[HKEY_USERS\S-1-5-21-1343024091-854245398-682003330-1003\Console\%SystemRoot%_system32_cmd.exe]"ScreenColors"=dword:0000001a"HistoryNoDup"=dword:00000000nice find might try that path seems easy enough Link to comment Share on other sites More sharing options...
Mekrel Posted February 18, 2005 Author Share Posted February 18, 2005 Yeah, i change my cmd window to be wider as i have a 17inch LCD.Setting my wallpaper by reg file for some reason doesnt work untill i manualy click apply when right clicking desktop, so hopefully this could sort it. Wonder if someone could test on VMware or VPC, i have not got either installed and its late here and have work in the morning. Thanks for sharing the wallpaper one. I took the .bmp from my application folder and put it onto my Windows OEM application folder and pointed to it using the .reg files.I did this before but pointed them to the .jpg in the Web folder in resources. Think my desktop should work automatically now. nice find might try that path seems easy enoughThanks, let me know how you get on. I will also try but dont finish work untill 9pm tomorrow then will have to redownload VmMachine, and Daemon tools because my DVD ISO is large. 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