Jump to content

os2fan2

Member
  • Posts

    442
  • Joined

  • Last visited

  • Days Won

    1
  • Donations

    0.00 USD 
  • Country

    Australia

Everything posted by os2fan2

  1. io.sys, msdos.sys, and command.com also need to be in the root directory. You might look at a proggie called 'bootpart.exe' from http:\www.winimage.com , which allows you to add a boot-sector for MS-DOS or Windows 9x separately. For MS-DOS 7.x, use the Win9x boot-sector.
  2. At the moment, i am doing lots of work with hivefix.inf for Win2k/xp/2k3 The files currently are composite for Win2k + WinXP, but 2k3 is still in the queue. Also in the works is still K8668, which is the rebuild of Windows for Warehouses + PC-DOS 6,31 (busy girl here). The Win2k is SP0 slipped to SP4.1 = SP4 + SRP1. WinXP is SP0 slipstreamed to SP2. WinXP is whatever came in the back of the novel i bought recently, prolly with a sp slipped. But the plan is to eventually put all sorts of info at my webpage, along with interesting tips, batch files etc. One thing i do is to run a post install utility to do the fixes that setup trashes. W At the moment, i am doing lots of work with hivefix.inf for Win2k/xp/2k3 The files currently are composite for Win2k + WinXP, but 2k3 is still in the queue. Also in the works is still K8668, which is the rebuild of Windows for Warehouses + PC-DOS 6,31 (busy girl here). The Win2k is SP0 slipped to SP4.1 = SP4 + SRP1. WinXP is SP0 slipstreamed to SP2. WinXP is whatever came in the back of the novel i bought recently, prolly with a sp slipped. But the plan is to eventually put all sorts of info at my webpage, along with interesting tips, batch files etc. One thing i do is to run a post install utility to do the fixes that setup trashes. W
  3. The example in the first post shows how to add diagonal sands.jpg to webvw.dll You need to import the JPG into webvw.dll, under a short file name. In reshacker.exe, do this: Add a new resource, of type 23, name "DIAGONAL.JPG" language 1033. Edit the string table 189, and add a new entry there of the type 3013, "diagonal.jpg;Diagonal Sands.jpg" Compile the script, and save the DLL. Your jpg stored under the short-name diagonal.jpg is copied to the web wallpaper folder under the name Diagonal Sands. That's it.
  4. Here is something i found interesting in Windows 2000. The JPG wallpaper files live in WEBVW.DLL. You can see these in resource-hacker, for example, under resource type 23. Even more interesting, is that you can add your own to this collection. I used the files from Windows ME, since 2k and ME share most of the files anyway. Collect all of the files you wish to add. Add these files to resource 23, [short-file-name], language = 1033. For example, you might add diagonal sands.jpg as "diagonal.jpg". Now, go to the string table, and to resource 189 or 219, and add entries like 3013, "diagonal.jpg;Diagonal Sands.jpg" Resource 189 adds these to the \web\wallpaper folder, and resource 219 adds it to allusers\my documents\my pictures folder. Win2k installs it perfectly, as long as both steps are done. W
  5. The explorer link file in start-menu is actually a file .LNK, a valid name, but because there is nothing before the extension, shows up with no name. Neat trick! Still do not know who is causing it. As for the MY PICTURES bug, i suspect this is due to something in WEBVW.DLL, so i will have a look at this tonight. W
  6. "Disk" is the original word for a flat circular object. "disc" started out in the music industry, refering to a release of music (ie a vinyl disc). In particular, it has the sort of meaning of "album", and more refers to specific packages of music, rather than the actual vinyl itself. In terms of computer, disc is used to refer to media that comes from the music industry (CD, DVD), while disk is from the computer industry (HD, FD). A floppy disk was 8 inches. Later this appeared as a mini-disk (5 1/4 in), and later a micro-disk (3 1/2 in). The capacities increased from 160k to 1200k to 2880k. Compact disks are released in the original LP form (5-inch stock), or the original SP form (3-inch stock). The music industry releases singles on LP stock today, but there are occasionally 3-inch disks. The inner track on most cd-rom players are to accomidate the 3-inch format. While a 3-inch disk is not widely used in the computer industry, they are considerably more robust, and make a handy addition to a remote service kit (they fit in the usual floppy-disk box, for example), and they are used in portibale cameras etc (you can get 3-inch DVD's too!). W
  7. Much of this also works under Windows 2000 as well. I used the XP version, and mainly removed things. Some things had to be entered to get it to work properly. Still not working: My Pictures. Tweakui should run if i ever get the files to copy (seems like txtsetup is missing lines), along with the command to tweakmeup. An interesting bug is the appearence of an unnamed "my computer" icon in the start menu. This allows you to open my computer from the start menu, [AddReg] HKCU,"Console","InsertMode",0x00010001,1 HKCU,"Console","QuickEdit", 0x00010001,0 HKLM,"Software\Microsoft\Command Processor","CompletionChar",0x00010001,9 HKCU,"Software\Microsoft\Command Processor","CompletionChar",0x00010001,9 HKLM,"Software\Microsoft\Command Processor","PathCompletionChar",0x00010001,9 HKCU,"Software\Microsoft\Command Processor","PathCompletionChar",0x00010001,9 ; TweakUI 1.33 HKLM,"Software\Microsoft\Windows\CurrentVersion\Run",,,"RUNDLL32.EXE TWEAKUI.CPL,TweakMeUp" This is extracted from the SI.TXT (which contains instructions for dosnet.inf and txtsetup.sif ------ dosnet.inf --------------------------------------------- d1,hivefix.inf d1,directx.cpl d1,diskpart.exe d1,kill.exe d1,reg.exe d1,setx.exe d1,setup50.bmp d1,tlist.exe d1,tweakui.cpl d1,tweakui.hlp d1,tweakui.cnt ------ txtsetup.sif -------------------------------------------- [SourceDisksFiles] hivefix.inf = 1,,,,,,_x,20,3,3 directx.cpl = 2,,,,,,,2,0,0 diskpart.exe = 2,,,,,,,2,0,0 kill.exe = 2,,,,,,,2,0,0 reg.exe = 2,,,,,,,2,0,0 setx.exe = 2,,,,,,,2,0,0 tlist.exe = 2,,,,,,,2,0,0 setup50.bmp = 2,,,,,,,2,0,0 tweakui.cpl = 2,,,,,,,2,0,0 tweakui.hlp = 2,,,,,,,21,0,0 tweakui.cnt = 2,,,,,,,21,0,0 BITMAPS ---------- Most of the Win2k gifs appear in WinME as well, so i wondered if one could smuggle in the rest. This can indeed be done! The pictures are: cliff in clouds.jpg, diagonal sands.jpg, iceberg.jpg, shed in fields.jpg, smokey light.jpg, vinca.jpg, windows millenium.jpg, and yosetime.jpg. Neither windows millenium.jpg not windows 2000.jpg are branded, this is implemented by a gif file on a web page. You get reshack.exe, and the appropriate files. Import the pictures into a resource type '23', under 8.3 names, eg CLIFFINC.JPG. The language should be the same as the others (eg 1033 = dec for 0x0409)You will see already the others there. Go to string table \ 189 \ 1033, and add the appropriate bitmaps there, eg 3012, "cliffinc.jpg;Cliff in Clouds.jpg" This will make the file twice the size, but the thing works! W
  8. The directive "InstallDefaultComponents=Yes" was documented in the deploy.cab that comes with the W2K reskit update 1, largely with the effect the same as clicking "default settings" in the setup. Still, the unattended.doc in the W2KSP4 deploy.cab, nor any of the ref.chm in WinXP/2k3 mention it.
  9. You can quite easily run Win98 in 20 MB ram, if you are prepared to gut it. I used 98Lite to remove explorer and a few other things. I used the Win95 shell, but there is at the LitePC site, a version of the 95 shell linked to shell32.w95. This allows you to use the shell32.dll from Win98. It's called sleekv2.exe. I took out OE and all sorts of stuff of little use. You can install IE vers 6, but it runs faster than the integrated version. You then turn off as much of the effects you are prepared to use, and limit the number of tasks running.
  10. Use this reg script to place it in control panel. Windows Registry Editor Version 5.00 [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}] @="Users And Passwords" "InfoTip"="Starts The Windows 2000 style User Accounts dialog" [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\DefaultIcon] @="%SystemRoot%\\\\System32\\\\netplwiz.dll,0" [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell] [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open] [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\Shell\Open\command] @="Control.exe Userpasswords2" [HKEY_CLASSES_ROOT\CLSID\{98641F47-8C25-4936-BEE4-C2CE1298969D}\{305CA226-D286-468e-B848-2B2E8E697B74} 2] @=dword:00000007 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{98641F47-8C25-4936-BEE4-C2CE1298969D}] @="Add Userpasswords to Control Panel" The Win2k style user control panel is added to the control panel.
  11. I set Windows XP sp2 up from Windows 2000, to install in drive f: It created the usual C:\$WIN_NT$.~BT, and F:\$WIN_NT$.~LS, and then proceeded to install the files and run HIVE*.INF. At which point it failed. I backed these directories up to a ghost image, so i could modify my HIVEFIX.INF. In the process, I discovered it created a WINNT.SIF, with some undocumented section in it: ; WINNT.SIF [data] EulaComplete="1" ; what this does, i don't know. LNL no longer exists here. uniqueid="J:\WINNT\LNL" ; J:\winnt = directory where win2k lives. [Networking] ; created by running setupmgr.exe ; you can still connect to another network, eg JoinWorkGroup=Eildon still works. InstallDefaultComponents=Yes [OobeProxy] ; created from running setup.sif Windows 2000 Enable=1 Flags=9 Autodiscovery_Flag=0 You still get five of the screens when OOBE runs, but not all of these.
  12. Here's a link to my "hivefix.inf" project. http://www.msfn.org/board/index.php?showtopic=84600 HIVEFIX is about integrating changes before the first user profile is built. You can make considerable changes to the user profile, eg replace Documents And Settings\ThisUser\My Documents\My Pictures with something like "Users\ThisUser\Personal\Pictures", as well as get rid of many other setup irritations. We currently are adding two files (other than hotfix), being tweakui.exe and directx.cpl. These are added not just to the control panel, but to the "Performance and Maintanence" catagory. There is also some guide about changing the default settings from the USA to somewhere more local. The settings in the file refer to Queensland, Australia. You can customise the strings section to match your locality. Wendy is an os/2 fan, too!
  13. You can cut out or customise whole sections. For example, if you use the local regional settings, you don't have to have to hunt them down on each install. It is pretty much broken into separate sections for the [Addreg] stuff. Just delete the addreg stuff you don't want, and you just add it.
  14. You can change the "program files" directory in the install, or by changing registry. You will be supprised by just how many proggies choose to ignore it, though. W
  15. You could load SETUP.HIV in registry, and then modify the setting there too. You need to do this, because otherwise, Windows would not see the disk when it boots. I have been thinking of writing a reg.exe script to do this, and i will no doubt do this, when i get around to writing hivefix.inf for Win2k. W
  16. HIVEFIX works the same way in Win2k as it does for WinXP. The files to modify are given in the first section. For example, you have to add entries for hivefix.inf in both dosnet.inf (which controls copy of the files to $win_nt$.~LS), and txtsetup.sif (from $win_nt$.~LS to the final locations). Rather than modifying the files like HIVEDEF.INF and so forth, we modify HIVEFIX.INF. The two lines about delreg=hivefix.inf,addreg, and addreg=hivefix.inf, addreg go at the end of the section, because that's where the mods are done. Much of what i did with hivefix.inf was to try localise the setup. The big time-zone thing is to allow you to change the default time-zone for countries with more than one time zone. In australia (0C09), the default time zone is 255 (Sydney and Melbourne), but i changed it to 260 (Brisbane). So this entry appears here. The stuff in the "homegrown" section (command processor, quickedit), all work. The stuff in the "shell fixes" (eg Hidden), generally do not work. The shell folders do work. Instead of getting something like \WENDY\MY DOCUMENTS\MY PICTURES, you get WENDY\PERSONAL\PICTURES. Application Data is also created explicitly by some apps, so it's interesting to see who uses what. Tweakui and directx control panels work. With this, you get both under "Performance and Maintainance" section in control panel. I thought about putting directx.cpl under "Audio" section (0x04), but did not implement this. Shell folders, both the base and subfolders, do work. I do occasionally get an application data\temp folder, but this is because the user directories are reset later on. To localise the file for your own use, modify the bit at the bottom, in strings. The days of the week run 0 Mon to 6 Sun. The first day of the week is set to 0 for monday, or 6 for sunday. Measurements are set to 0 (false) or 1 (true). The Marque stuff sets the default for what Marque screen saver will show. The registry keys are of the form [Addreg] HKLM, Software\Microsoft\theapp\thekey, thevalue, xHEXCODE, data x00000000,"sample string" = reg_sz x00010000,"line0\0line1\0line2 = reg_multi_sz x00020000,"%username%'s Deletium" = reg_expand_sz x00000001,DE,AD,BE,EF = reg_binary x00010001, 54 (or 0x36) reg_dword x00020001, = reg_none I am still looking for a place to hide the regfixes without having to implement either winnt.sif or any of that user-modified stuff. W
  17. Hi I have been tweaking the Winxp install (pro upgrade), using HIVEFIX.INF. This is used to create the environment that is used to create the Users directory. When HIVEFIX runs, there are no user directories, and no registry, to speak of. HIVEFIX basically hooks in here. This version of WinXP is been patched. ; This is the fixhive.inf. You need to also fix the file txtsetup.sif to ; get this to run. ; ; Add the stuff shown in dosnet.inf and txtsetup.inf to those files. ; The sections exist. For the first it is alpha, the next is a replace. ; The hiveinfs. are added to the end of the files. ; ; Save the section hivefix.inf as a file, and edit it to suit your ; tastes. hivefix.inf = various adjustments to the OS tweakui.exe = vers 2.1, added to the control panel directx.cpl = extracted from vers 9 -------------------------- dosnet.inf --------------------------------- [Files] d1,hivefix.inf d1,tweakui.exe d1,directx.cpl -------------------------- txtsetup.sif ------------------------------- [SourceDisksFiles] hivefix.inf = 100,,,,,,_x,,3,3 tweakui.exe = 1,,,,,,,2,1,0 directx.cpl = 1,,,,,,,2,1,0 [SetupData] DefaultPath=\WINNT [HiveInfs.Fresh] DelReg = hivefix.inf,AddReg AddReg = hivefix.inf,AddReg [HiveInfs.Upgrade] DelReg = hivefix.inf,AddReg AddReg = hivefix.inf,AddReg ---------------------------hivesft.inf---------------------------------- + new file 'hivefix.inf'. The settings in hivefix.inf are mainly registry settings, in the form rootkey, regkey, value, flags, data base form + modifiers ============================= ================================= 0x00000000 reg_sz (default) 0x0000 0002 keep original values 0x00000001 reg_binary 0x0000 0004 Delete subkey or value 0x00010000 reg_multi_sz 0x0000 0008 Append data to reg_multi 0x00010001 reg_dword 0x0000 0010 create subkey, but ignore data 0x00020000 reg_expand_sz 0x0000 0020 modify only if exists. 0x00020001 reg_none 0x0000 1000 modify x64 registry 0x0000 4000 modify x32 registry page 276 of 'microsoft windiws registry guide'. ----------------------------------------------------------------------------- This tells you what you need to modify in the early bit, ie, in the named files. If you want to change the default install path from \WINDOWS to \WINNT, you can do it here. You then create a sample hivefix, which has all of the jucies. Some of the things don't work, because later processes change them. But it does provide an interesting thing, and we can set the proggie up to load eg tweakui and directx.cpl in the control panel under "System Maintanence". These are examples of cpls implemented as .cpl files, and CLSID items. The rest of the file is modest hacks on the system, but it boots up with the default ParseAutoExec=0x00, and a few other goodies. This is HIVEFIX.INF. It's heavily customised... [Version] Signature = "$Windows NT$" DriverVer=07/01/2001,5.1.2600.2180 [AddReg] ; homegrown ; flags: see 'windows registry guide', p276 HKCU,"Console","InsertMode",0x00010001,1 HKCU,"Console","QuickEdit", 0x00010001,0 HKLM,"Software\Microsoft\Command Processor","CompletionChar",0x00010001,9 HKLM,"Software\Microsoft\Command Processor","PathCompletionChar",0x00010001,9 HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","ParseAutoexec",0x00000000,"0" HKCU,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","ParseAutoexec",0x00000000,"0" ; Shell fixes ; these are set later on by the system. HKCR,"CLSID\{450D8FBA-AD25-11D0-98A8-0800361B1103}","SortOrderIndex",0x00010001,84 HKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","DontPrettyPath",0x00010001,1 HKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","Hidden",0x00010001,1 HKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","HideFileExt",0x00010001,0 HKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","IntelliMenus",0x00000000,"No" HKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","ShowSuperHidden",0x00010001,1 HKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","SuperHidden",0x00010001,1 HKCU,"Software\Microsoft\Windows\CurrentVersion\Policies\Explorer","NoDriveAutoRun",0x00000001,00,06,00,00 ; Add TweakUI to Control Panel ; need to add an icon-pointer here. Windows is not that smart! HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}","",0x00020000,"TweakUI" HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\DefaultIcon","",0x00020000,"%systemroot%\system32\Tweakui.exe,0" HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\Shell\Open\command","",,"TweakUI.exe" HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}\ShellFolder","Attributes",0x00010001,48 HKCR,"CLSID\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}","{305CA226-D286-468e-B848-2B2E8E697B74} 2",0x00010001,5 HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\ControlPanel\NameSpace\{D14ED2E1-C75B-443c-BD7C-FC03B2F08C17}","",,"Add Tweakui to Control Panel" ; Add directx to control panel (Performance and Maintanence) HKLM,"Software\Microsoft\Windows\CurrentVersion\Control Panel\Extended Properties\{305CA226-D286-468e-B848-2B2E8E697B74} 2",\ "%Systemroot%\system32\directx.cpl",0x00010001,5 ; Zone Zero to IE ; Still buggy HKCU, "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0","CurrentLevel",0x00010001,69632 HKCU, "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0","MinLevel",0x00010001,65536 HKCU, "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0","RecommendedLevel",0x00010001,66816 HKCU, "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0","Flags",0x00010001,71 HKCU, "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0","Description",,"Sites on your Computer" HKCU, "SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\Zones\0","DisplayName",,"My Computer" ; Random replacements for the shell. ; hivesys.inf HKLM,"SYSTEM\CurrentControlSet\Control\Nls\Language","InstallLanguage",,"%INSTALL_LANGUAGE%" HKLM,"SYSTEM\CurrentControlSet\Control\Nls\Locale","(Default)",,%INSTALL_LOCALE% ; hivecls.inf HKCR,"CLSID\{208D2C60-3AEA-1069-A2D7-08002B30309D}","",0x00000000,"%NETWORK_NEIGHBORHOOD%" HKCR,"CLSID\{20D04FE0-3AEA-1069-A2D8-08002B30309D}","",0x00000002,"%MY_COMPUTER%" ; hivesft.inf HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList","ProfilesDirectory",0x00020002,"%DEFAULT_PROFILES_DIR%" HKLM,"Software\Clients\StartMenuInternet\IEXPLORE.EXE",,,"%DESC_IE%" HKLM,"Software\Clients\StartMenuInternet\IEXPLORE.EXE","LocalizedString",0x00020000,"@%programfiles%\%LMSIE4%\iexplore.exe,-702" HKLM,"Software\Clients\StartMenuInternet\IEXPLORE.EXE\DefaultIcon",,0x00020000,"%programfiles%\%LMSIE4%\iexplore.exe,0" HKLM,"Software\Clients\StartMenuInternet\IEXPLORE.EXE\shell\open\command",,0x00020000,"""%programfiles%\%LMSIE4%\iexplore.exe""" HKLM,"Software\Clients\StartMenuInternet\IEXPLORE.EXE\InstallInfo","ReinstallCommand",0x00020000,"%systemroot%\system32\shmgrate.exe OCInstallReinstallIE" HKLM,"Software\Clients\StartMenuInternet\IEXPLORE.EXE\InstallInfo","HideIconsCommand",0x00020000,"%systemroot%\system32\shmgrate.exe OCInstallHideIE" HKLM,"Software\Clients\StartMenuInternet\IEXPLORE.EXE\InstallInfo","ShowIconsCommand",0x00020000,"%systemroot%\system32\shmgrate.exe OCInstallShowIE" ; hivedef.inf HKCU,"Control Panel\Screen Saver.Marquee","Text",0x00000002,"%SCREEN_SAVER_MARQUEE_TEXT%" HKCU,"Control Panel\Screen Saver.Marquee","Font",0x00000000,"%SCREEN_SAVER_MARQUEE_FONT%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","AppData",0x00020000,"%U_SHELL_FOLDERS_APPDATA%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","CD Burning",0x00020000,"%U_SHELL_FOLDERS_CDBURN%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Desktop",0x00020000,"%U_SHELL_FOLDERS_DESKTOP%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Favorites",0x00020000,"%U_SHELL_FOLDERS_FAVORITES%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","NetHood",0x00020000,"%U_SHELL_FOLDERS_NETHOOD%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Personal",0x00020000,"%U_SHELL_FOLDERS_PERSONAL%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","PrintHood",0x00020000,"%U_SHELL_FOLDERS_PRINTHOOD%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Programs",0x00020000,"%U_SHELL_FOLDERS_PROGRAMS%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Recent",0x00020000,"%U_SHELL_FOLDERS_RECENT%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","SendTo",0x00020000,"%U_SHELL_FOLDERS_SENDTO%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Start Menu",0x00020000,"%U_SHELL_FOLDERS_START_MENU%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Startup",0x00020000,"%U_SHELL_FOLDERS_STARTUP%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Templates",0x00020000,"%U_SHELL_FOLDERS_TEMPLATES%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Cookies",0x00020000,"%U_SHELL_FOLDERS_COOKIES%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","My Pictures",0x00020000,"%U_SHELL_FOLDERS_MYPICTURES%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","My Music",0x00020000,"%U_SHELL_FOLDERS_MYMUSIC%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","My Video",0x00020000,"%U_SHELL_FOLDERS_MYVIDEO%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Local Settings",0x00020000,"%U_SHELL_FOLDERS_LOCAL_SETTINGS%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Local AppData",0x00020000,"%U_SHELL_FOLDERS_LOCAL_APPDATA%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","Cache",0x00020000,"%U_SHELL_FOLDERS_CACHE%" HKCU,"Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders","History",0x00020000,"%U_SHELL_FOLDERS_HISTORY%" HKCU,"Environment","TEMP",0x00020000,"%TEMP_DIR%" HKCU,"Environment","TMP",0x00020000,"%TEMP_DIR%" ; international HKCU,"Control Panel\International","iCalendarType",0x00000000,"%INTL_ICALENDAR%" HKCU,"Control Panel\International","iCountry",0x00000000,"%INTL_ICOUNTRY%" HKCU,"Control Panel\International","iCurrDigits",0x00000000,"%INTL_ICURRDIGITS%" HKCU,"Control Panel\International","iCurrency",0x00000000,"%INTL_ICURRENCY%" HKCU,"Control Panel\International","iDate",0x00000000,"%INTL_IDATE%" HKCU,"Control Panel\International","iDigits",0x00000000,"%INTL_IDIGITS%" HKCU,"Control Panel\International","iFirstDayOfWeek",0x00000000,"%INTL_IFIRSTWEEKDAY%" HKCU,"Control Panel\International","iLZero",0x00000000,"%INTL_ILZERO%" HKCU,"Control Panel\International","iMeasure",0x00000000,"%INTL_IMEASURE%" HKCU,"Control Panel\International","iNegCurr",0x00000000,"%INTL_INEGCURR%" HKCU,"Control Panel\International","iTime",0x00000000,"%INTL_ITIME%" HKCU,"Control Panel\International","iTLZero",0x00000000,"%INTL_ITLZERO%" HKCU,"Control Panel\International","Locale",0x00000000,"%INTL_LOCALE%" HKCU,"Control Panel\International","s1159",0x00000000,"%INTL_S1159%" HKCU,"Control Panel\International","s2359",0x00000000,"%INTL_S2359%" HKCU,"Control Panel\International","sCountry",0x00000000,"%INTL_SCOUNTRY%" HKCU,"Control Panel\International","sCurrency",0x00000000,"%INTL_SCURRENCY%" HKCU,"Control Panel\International","sDate",0x00000000,"%INTL_SDATE%" HKCU,"Control Panel\International","sDecimal",0x00000000,"%INTL_SDECIMAL%" HKCU,"Control Panel\International","sLanguage",0x00000000,"%INTL_SLANGUAGE%" HKCU,"Control Panel\International","sList",0x00000000,"%INTL_SLIST%" HKCU,"Control Panel\International","sLongDate",0x00000000,"%INTL_SLONGDATE%" HKCU,"Control Panel\International","sShortDate",0x00000000,"%INTL_SSHORTDATE%" HKCU,"Control Panel\International","sThousand",0x00000000,"%INTL_STHOUSAND%" HKCU,"Control Panel\International","sTime",0x00000000,"%INTL_STIME%" HKCU,"Control Panel\International","sTimeFormat",0x00000000,"%INTL_STFORMAT%" HKCU,"Control Panel\International\Geo","Nation",0x00000000,"%INTL_GEO_NATION%" HKCU,"Control Panel\Desktop","UserPreferencesMask",0x00030003,\ %USER_PREF_MASK_0%,3e,01,80 ; Edit this if your time zone is different to the one listed. HKLM,"SOFTWARE\Microsoft\Windows NT\CurrentVersion\Time Zones","IndexMapping",0x00010000,\ "409", "4",\ "1009", "4",\ "80a", "30",\ "440a", "30",\ "480a", "30",\ "4c0a", "30",\ "c0c", "35",\ "240a", "45",\ "280a", "45",\ "300a", "45",\ "200a", "55",\ "340a", "55",\ "3c0a", "55",\ "400a", "55",\ "500a", "55",\ "416", "65",\ "2c0a", "70",\ "380a", "70",\ "422", "85",\ "438", "85",\ "441", "85",\ "809", "85",\ "816", "85",\ "1001", "85",\ "1401", "85",\ "1404", "85",\ "1809", "85",\ "2009", "85",\ "2401", "85",\ "2409", "85",\ "2801", "85",\ "2809", "85",\ "3001", "85",\ "3409", "85",\ "4001", "85",\ "40f", "85",\ "41c", "85",\ "43e", "85",\ "83e", "85",\ "100a", "85",\ "140a", "85",\ "140c", "85",\ "180a", "85",\ "180c", "85",\ "1c01", "85",\ "1c0a", "85",\ "2c01", "85",\ "2c09", "85",\ "3c01", "85",\ "405", "95",\ "40e", "95",\ "424", "95",\ "41b", "95",\ "81a", "95",\ "c1a", "95",\ "402", "100",\ "415", "100",\ "1801", "100",\ "41a", "100",\ "42f", "100",\ "403", "105",\ "406", "105",\ "427", "105",\ "813", "105",\ "827", "105",\ "40a", "105",\ "40c", "105",\ "42d", "105",\ "80c", "105",\ "c0a", "105",\ "407", "110",\ "410", "110",\ "413", "110",\ "414", "110",\ "807", "110",\ "810", "110",\ "814", "110",\ "1007", "110",\ "1407", "110",\ "41d", "110",\ "c07", "110",\ "100c", "110",\ "418", "115",\ "c01", "120",\ "425", "125",\ "426", "125",\ "40b", "125",\ "81d", "125",\ "408", "130",\ "423", "130",\ "41f", "130",\ "40d", "135",\ "436", "140",\ "3009", "140",\ "1c09", "140",\ "419", "145",\ "401", "150",\ "801", "150",\ "3401", "150",\ "429", "160",\ "2001", "165",\ "3801", "165",\ "420", "185",\ "439", "190",\ "421", "205",\ "41e", "205",\ "42a", "205",\ "804", "210",\ "c04", "210",\ "1004", "215",\ "404", "220",\ "412", "230",\ "812", "230",\ "411", "235",\ "c09", "260",\ "1409", "290" HKR,"1174\Files\13","Action",0x00010001,4 HKR,"1174\Files\13","Item",0000000000,"%GAMES_SOLITAIRE_LNK%" HKR,"1174\Files\14","Action",0x00010001,4 HKR,"1174\Files\14","Item",0000000000,"%GAMES_MINESWEEPER_LNK%" HKR,"1174\Files\15","Action",0x00010001,4 HKR,"1174\Files\15","Item",0000000000,"%GAMES_FREECELL_LNK%" [DelReg] [Strings] ; Desktop MY_COMPUTER="%Computername%" NAME_LOCAL="My Computer" NETWORK_NEIGHBORHOOD="Networks" DESC_IE="Mosaic" LMSIE4 = "Internet Explorer" ; International settings INSTALL_LANGUAGE="0C09" INSTALL_LOCALE="00000C09" ; INTL_GEO_NATION="12" INTL_ICALENDAR="1" INTL_ICOUNTRY="61" INTL_ICURRDIGITS="2" INTL_ICURRENCY="0" INTL_IDATE="2" INTL_IDIGITS="2" INTL_IFIRSTWEEKDAY="6" INTL_ILZERO="1" INTL_IMEASURE="1" INTL_INEGCURR="1" INTL_ITIME="1" INTL_ITLZERO="1" INTL_LOCALE="00000C09" INTL_S1159="AM" INTL_S2359="PM" INTL_SCOUNTRY="Australia" INTL_SCURRENCY="$" INTL_SDATE="/" INTL_SDECIMAL="." INTL_SLANGUAGE="ENA" INTL_SLIST="," INTL_SLONGDATE="dddd, d MMMM, yyyy" INTL_SSHORTDATE="yyyy/MM/dd" INTL_STHOUSAND="," INTL_STIME=":" INTL_STFORMAT="HH:mm:ss" USER_PREF_MASK_0="9e" ; Put these under Accessories GAMES_FREECELL_LNK="Accessories\games\Freecell.lnk" GAMES_MINESWEEPER_LNK="Accessories\games\Minesweeper.lnk" GAMES_SOLITAIRE_LNK="Accessories\games\Solitaire.lnk" ; Configure Marquee SCREEN_SAVER_MARQUEE_FONT="Georgia" SCREEN_SAVER_MARQUEE_TEXT="Windows NT 5.10.2600" ; User folders DEFAULT_PROFILES_DIR="%SystemDrive%\XPUser" TEMP_DIR="%USERPROFILE%\Temp" U_SHELL_FOLDERS_APPDATA="%USERPROFILE%\AppData" U_SHELL_FOLDERS_CDBURN="%USERPROFILE%\AppData\CDBurn" U_SHELL_FOLDERS_DESKTOP="%USERPROFILE%\Desktop" U_SHELL_FOLDERS_FAVORITES="%USERPROFILE%\Favorites" U_SHELL_FOLDERS_NETHOOD="%USERPROFILE%\NetHood" U_SHELL_FOLDERS_PERSONAL="%USERPROFILE%\Personal" U_SHELL_FOLDERS_PRINTHOOD="%USERPROFILE%\PrintHood" U_SHELL_FOLDERS_PROGRAMS="%USERPROFILE%\Start Menu\Programs" U_SHELL_FOLDERS_RECENT="%USERPROFILE%\Recent" U_SHELL_FOLDERS_SENDTO="%USERPROFILE%\SendTo" U_SHELL_FOLDERS_START_MENU="%USERPROFILE%\Start Menu" U_SHELL_FOLDERS_STARTUP="%USERPROFILE%\Start Menu\Programs\Startup" U_SHELL_FOLDERS_TEMPLATES="%USERPROFILE%\Templates" U_SHELL_FOLDERS_COOKIES="%USERPROFILE%\Cookies" U_SHELL_FOLDERS_MYPICTURES="%USERPROFILE%\Personal\Pictures" U_SHELL_FOLDERS_MYMUSIC="%USERPROFILE%\Personal\Music" U_SHELL_FOLDERS_MYMUSIC="%USERPROFILE%\Personal\Video" U_SHELL_FOLDERS_LOCAL_SETTINGS="%USERPROFILE%\Local" U_SHELL_FOLDERS_LOCAL_APPDATA="%USERPROFILE%\Local\AppData" U_SHELL_FOLDERS_CACHE="%USERPROFILE%\Temporary Internet Files" U_SHELL_FOLDERS_HISTORY="%USERPROFILE%\History"
  18. According to the book "Windows Registry Guide" by Jerry Honeycutt, the trick is as follows. From your command prompt, simply exit. If you are using a batch file to do your stuff to the machine, have an exit command at the end. This terminates the shell, and hence winpe. To prevent the system from restarting, put a floppy disk in drive a:, most likely, a DOS disk. The system will still restart, but you can just pop the disk out and box up the box.
  19. One has to do this, because Windows 2000 installer expects a different set of permissions to install than Windows XP. Nothing stops one resetting the permissions afterwards.
  20. This is the code i use to install Windows 2000 from BartPE. This is the batch file, the unattended.txt is pretty straight forward. @echo off echo xcacls i: xcacls.exe i:\ /P Everyone:F /Y echo winnt50 setup l:\wnt50sp4\i386\winnt32.exe /s:l:\wnt50sp4\i386 /tempdrive:i: /unattend:X:\NTBOOT\unattend.txt /noreboot Windows 2000 uses a different security set to Windows XP, thus you need to run xcacls here to give everyone full control. The /y answers the question are you sure?, is not in cacls. This is to install it on a different drive (since i multiboot, and c:\ is a 496 MB fat16 drive. The remaining drives are set up at install time, (ie i edit a different tape, and run a script to produce this file delsetup.cmd, and unattended.txt. Delsetup.cmd is used to trash the setup if it doesn't work! I have not had luck with BartPE based on Winxp sp2, because it does not recognise the setup command o:, but winxp sp1 runs like a treat. W
  21. You could use an answer file here, ie the thing that goes in winnt32.exe command line. The thing here is that the partition that you specifify in the /tempdir (where the OS is to be placed!), is to be given as per the environment win32.exe lives in, not the partition that the OS installs in. For example, if you install the OS into drive F:, because you have added partitions to harddisk1 later, the operationg system will use the same partition to install in, but this will become K:. My windows xp hacks are doing this: the installation is initialised from Win2k, which has seen partitions added to hda, so it sees the drive under its original name (F). WinXP, the later install, allocates earlier letters to the added partitions, and sees the drive as K: Sticking a usb drive in during the install would mean that the same OS would install on drive L: W
  22. MS Shell Dlg font, and MS Shell2 Dlg font are not real fonts, but are aliased in the registry. You can set the font to something different by tweaking the registry. These are pointing at Tahoma, but you can reset this to MS San Serif, or something like that.
  23. If you have an NT boot sector + ntldr + ntdetect, you could use these, and a utility i found, to multiboot several win9x systems. If you don't have NT in any form (NT, XP, 2K, 2K3 &c - not VISTA, though) , then you could do this. get a hold of bootpart from http://www.winimage.com/ get boot files ntldr, ntdetect.com get bootchooser from http://www.maddogsw.com/bootchooser/ You should be able to set up several win9x installs.
  24. Windows 9x has three possible features that could keep it going. Embedded or Rescue System "Dusty Decks" = old hardware Global Warming The first has serious competition from BartPE, which relies on code that is updated. Unlike say, IBM with OS/2, Microsoft has not really made Win9x or WinNT really embeddable, and this greatly shortens the usefulness of these OS's after the mainstream usage is over. The second, "Dusty Decks", refers to old hardware and software. The third is rather interesting idea. One might suppose that as global warming starts to leak into our minds more, things like operating systems would tend to look for power-efficient operations, rather than consuming more power. This in turn will mean that interfaces might revert back to something less power-consuming, eg 16-colour or something.
  25. It depends on whether the BIOS or Win98 is picking up the fifth drive. You will experience more problems if this drive has primary partitions on it, rather than just secondary ones. For example, suppose you have primary partitions on each drive C, D, E, F, G. The first extended partition is H. But if Windows does not see the fifth drive in time, then it will become G: Were the fifth drive entirely extended partitons, you should not see this problem.
×
×
  • Create New...